Card
A container component used for grouping content together in a modular way. Often used for displaying summaries, images, or interactive content.
A container component used for grouping content together in a modular way. Often used for displaying summaries, images, or interactive content.
Basic usage example to quickly see how the Card
works.
type T = "footer" | "header" | "title" | "content" | "root" | "description";
Styles API | Type | Default | Annotation |
---|---|---|---|
unstyled? | Partial<Record<T, boolean>> | false | if true , all default styles will be removed |
classNames? | Partial<Record<T, string>> | undefined | Set className for T |
styles? | Partial<Record<T, CSSProperties>> | undefined | Set style for T |
Full working code example, including necessary markup and styles. You can copy and paste this code directly to start using the component immediately.