For the complete documentation index, see llms.txt. This page is also available as Markdown.

Card

Card Props

Name
Type
Default
Description

colors

object

Object with Tailwind CSS colors classes

colors.bgIos

string

'bg-ios-light-surface-1 dark:bg-ios-dark-surface-1'

colors.bgMaterial

string

'bg-md-light-surface-1 dark:bg-md-dark-surface-1'

colors.footerTextIos

string

'text-black text-opacity-55 dark:text-white dark:text-opacity-55'

colors.footerTextMaterial

string

'text-md-light-on-surface-variant dark:text-md-dark-on-surface-variant'

colors.outlineIos

string

'border-black border-opacity-20 dark:border-white dark:border-opacity-20'

colors.outlineMaterial

string

'border-md-light-outline dark:border-md-dark-outline'

colors.textIos

string

''

colors.textMaterial

string

'text-md-light-on-surface dark:text-md-dark-on-surface'

component

string

'div'

Component's HTML Element

contentWrap

boolean

true

Wraps card content with extra element with padding

contentWrapPadding

string

'p-4'

Content wrap padding (if contentWrap enabled)

footer

string

Content of the Card footer

footerDivider

boolean

false

Enabled divider between footer and content

header

string

Content of the Card header

headerDivider

boolean

false

Enabled divider between header and content

margin

string

'm-4'

Tailwind CSS margin class

outline

boolean

undefined

Makes card outline. Overwrites outlineIos and outlineMaterial

outlineIos

boolean

false

Makes card outline in iOS theme

outlineMaterial

boolean

false

Makes card outline in Material theme

raised

boolean

undefined

Makes card raised. Overwrites raisedIos and raisedMaterial

raisedIos

boolean

false

Makes card raised in iOS theme

raisedMaterial

boolean

false

Makes card raised in Material theme

Card Slots

Name
Description

footer

Content of the Card footer

header

Content of the Card header

Examples

Last updated