New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
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

  • 0.0.9
  • latest
  • Source
  • npm
  • Socket score

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

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc