Card
Card is a high level Pattern Component use to group related or hierarchical information.
- On this page
Properties
variant
The Card display variant. `normal` -> Applies the chosen background color with dark text. `subtle` -> Inverts the theme color, and adds a slight glow to the Card. Use this when you don't want all your cards to stand out.
"normal" | "subtle"
color
The background color.
"animated" | "purpleCyan" | "yellowPink" | "cyanGreen" | "pinkPurple" | "cyan" | "green" | "orange" | "pink" | "purple" | "red" | "yellow" | "white" | "black" | "blackSecondary" | "blackLight"
display
The display of the element.
"none" | "block" | "flex" | "grid" | "table" | "inline" | "inline-block" | "inline-flex" | "inline-grid" | "inline-table"
glowColor
The glow color.
"cyan" | "green" | "orange" | "pink" | "purple" | "red" | "yellow"
borderColor
The border color.
"cyan" | "green" | "orange" | "pink" | "purple" | "red" | "yellow"
rounded
The border radius.
"none" | "full" | "sm" | "lg" | "xl" | "2xl" | "3xl" | "base"
height
The height of the element.
"auto" | "none" | "full" | "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl"
width
The width of the element.
"auto" | "none" | "full" | "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl"
as
The HTML element to be used
"div"
scrollbar
If the custom scrollbar is to be used and its color.
boolean | "cyan" | "green" | "orange" | "pink" | "purple" | "red" | "yellow"