Leave Yamada UI a star

Star
Yamada UIYamada UIv1.6.4

Card

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

Source@yamada-ui/card

Props

CardBodyProps

CardFooterProps

CardHeaderProps

CardProps

align

Description

The CSS align-items property.

Type

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

colorScheme

Description

The visual color appearance of the component.

Type

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

Default

"primary"

direction

Description

The CSS flex-direction property.

Type

"-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "column" | "column-reverse" | "row" | "row-reverse" | [FlexDirection | { [x: string]: FlexDirection | undefined; ... 5 more ...; xl?: FlexDirection | undefined; }, FlexDirection | { ...; }] | { ...; } | [...] | { ...; } | ((theme: StyledT...

justify

Description

The CSS justify-content property.

Type

"left" | "right" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "center" | "end" | "flex-end" | "flex-start" | "start" | "normal" | ... 8 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"

Edit this page on GitHub

PreviousListNextStat