Socket
Book a DemoInstallSign in
Socket

@phase2/outline-card

Package Overview
Dependencies
Maintainers
10
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@phase2/outline-card

The Outline Components for the web card component

latest
Source
npmnpm
Version
0.0.9
Version published
Maintainers
10
Created
Source

outline-card

The Card component.

Properties

PropertyAttributeTypeDefaultDescription
bgColorContentbgColorContentAllowedColorsThe color class to apply to the content slot.
bgColorFooterbgColorFooterAllowedColorsThe color class to apply to the footer slot.
bgColorHeaderbgColorHeaderAllowedColorsThe color class to apply to the header slot.
hasContentSlotboolean
hasFooterSlotboolean
hasHeaderSlotboolean
hasShadowhas-shadowbooleanfalseWhether or not this card has a shadow.
isRoundedis-roundedbooleanfalseWhether or not this is a nested container. If it's nested, remove padding.

Methods

MethodType
contentTemplate(contentBackgroundClasses: ClassInfo): TemplateResult<ResultType> | null
footerTemplate(footerBackgroundClasses: ClassInfo): TemplateResult<ResultType> | null
headerTemplate(headerBackgroundClasses: ClassInfo): TemplateResult<ResultType> | null

Slots

NameDescription
contentThe primary slot to render the card content.
footerThe footer slot.
headerThe header slot.

Keywords

outline components

FAQs

Package last updated on 23 Aug 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts