CardsNew

Texture Card

A card with several thin nested borders that give it depth. Ready for a sign-in form, pricing or settings.

Customize

accentColor
glowColor
rimColor

Based on Texture Card (MIT license) · Terms of use

More in Pro

View all

Props

8 properties
PropertyTypeDefaultDescription
TextureCardStyledcomponent—Outer card frame with all the layers.
TextureCardHeader / TextureCardTitle / TextureCardDescriptioncomponent—Header, title and description.
TextureCardContent / TextureCardFootercomponent—Body and footer.
TextureSeparatorcomponent—A thin double line divider.
classNamestring—Extra classes.
accentColorstring"#e5e5e5"Accent for the icon and button inside the card. Children get it as --tc-accent.
glowColorstring"rgba(255,255,255,0.06)"Soft glow across the top of the card.
rimColorstring"rgba(64,64,64,0.5)"Thin inner frame of the card.

Dependencies

2 required packages

npm install clsx tailwind-merge

Related components

View all