Interface: CardProps
Defined in: components/Card/index.tsx:22
Description
Props for the Card component.
Extends
ComponentProps
Properties
accent?
optionalaccent:string
Defined in: utils/colors/index.ts:11
Inherited from
ComponentProps.accent
accentDark?
optionalaccentDark:string
Defined in: utils/colors/index.ts:13
Inherited from
ComponentProps.accentDark
accentLight?
optionalaccentLight:string
Defined in: utils/colors/index.ts:12
Inherited from
ComponentProps.accentLight
bodyClass?
optionalbodyClass:string
Defined in: components/Card/index.tsx:28
Additional CSS class for the body.
borderRadius?
optionalborderRadius:BorderRadius
Defined in: components/Component/index.ts:18
Inherited from
ComponentProps.borderRadius
children?
optionalchildren:ReactNode
Defined in: components/Card/index.tsx:27
The main content of the card (body).
className?
optionalclassName:string
Defined in: components/Component/index.ts:16
Inherited from
ComponentProps.className
data-id?
optionaldata-id:string|number
Defined in: components/Component/index.ts:20
Inherited from
ComponentProps.data-id
elevation?
optionalelevation:Elevation
Defined in: components/Component/index.ts:17
Inherited from
ComponentProps.elevation
footer?
optionalfooter:ReactNode
Defined in: components/Card/index.tsx:25
The content for the card's footer section.
footerClass?
optionalfooterClass:string
Defined in: components/Card/index.tsx:26
Additional CSS class for the footer.
header?
optionalheader:ReactNode
Defined in: components/Card/index.tsx:23
The content for the card's header section.
headerClass?
optionalheaderClass:string
Defined in: components/Card/index.tsx:24
Additional CSS class for the header.
orientation?
optionalorientation:"horizontal"|"vertical"
Defined in: components/Card/index.tsx:29
The orientation of the card layout.
padding?
optionalpadding:"none"|"xs"|"s"|"m"|"l"
Defined in: components/Card/index.tsx:30
The padding size for the card content.
style?
optionalstyle:CSSProperties
Defined in: components/Component/index.ts:19
Inherited from
ComponentProps.style