Leave Yamada UI a star

Star
Yamada UIYamada UIv1.5.1

Card

Card is a component that groups and displays related information. By default, it renders a section element.

Source@yamada-ui/card

Props

CardProps

align

Description

The CSS align-items property.

Type

(string & {}) | "center" | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "stretch" | "end" | "flex-end" | "flex-start" | "start" | "normal" | "self-end" | ... 6 more ... | ((theme: StyledTheme) => UIValue<...>)

colorScheme

Description

The visual color appearance of the component.

Type

"whiteAlpha" | "blackAlpha" | "gray" | "neutral" | "red" | "danger" | "rose" | "pink" | "flashy" | "orange" | "warning" | "amber" | "yellow" | "lime" | "green" | "success" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "primary" | "info" | "link" | "indigo" | "violet" | "secondary" | "purple" | "fuchsia"

Default

primary

direction

Description

The CSS flex-direction property.

Type

"-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "column" | "column-reverse" | "row" | "row-reverse" | Partial<Record<(string & {}) | "base" | "sm" | "md" | "lg" | "xl" | "2xl", FlexDirection>> | ColorModeArray<...> | Partial<...> | ColorModeArray<...> | ((theme: StyledTheme) => UIValue...

justify

Description

The CSS justify-content property.

Type

(string & {}) | "left" | "right" | "center" | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "space-around" | "space-between" | "space-evenly" | ... 10 more ... | ((theme: StyledTheme) => UIValue<...>)

size

Description

The size of the Card.

Type

"sm" | "md" | "normal" | "lg"

Default

md

variant

Description

The variant of the Card.

Type

"elevated" | "outline" | "solid" | "subtle" | "unstyled"

Default

elevated

CardHeaderProps

CardBodyProps

CardFooterProps

Edit this page on GitHub

PreviousListNextStat