Interface: CardProps
Defined in: components/Card/index.tsx:14
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:26
Additional CSS class for the body.
borderRadius?
optionalborderRadius?:BorderRadius
Defined in: components/Component/index.ts:16
The border radius of the component.
Inherited from
ComponentProps.borderRadius
children?
optionalchildren?:ReactNode
Defined in: components/Card/index.tsx:24
The main content of the card (body).
className?
optionalclassName?:string
Defined in: components/Component/index.ts:12
Additional CSS class for the component.
Inherited from
ComponentProps.className
data-id?
optionaldata-id?:string|number
Defined in: components/Component/index.ts:20
A data-id attribute for testing or identification.
Inherited from
ComponentProps.data-id
elevation?
optionalelevation?:Elevation
Defined in: components/Component/index.ts:14
The elevation level for box-shadow effects.
Inherited from
ComponentProps.elevation
footer?
optionalfooter?:ReactNode
Defined in: components/Card/index.tsx:20
The content for the card's footer section.
footerClass?
optionalfooterClass?:string
Defined in: components/Card/index.tsx:22
Additional CSS class for the footer.
header?
optionalheader?:ReactNode
Defined in: components/Card/index.tsx:16
The content for the card's header section.
headerClass?
optionalheaderClass?:string
Defined in: components/Card/index.tsx:18
Additional CSS class for the header.
orientation?
optionalorientation?:"horizontal"|"vertical"
Defined in: components/Card/index.tsx:28
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:18
Custom inline CSS styles.
Inherited from
ComponentProps.style