Card
Card components can be used either via dot-notation (Card.Title) or using the components directly (CardTitle).
#
Implementation#
ExampleCard Title
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi vitae est tempor, sollicitudin purus non, placerat ipsum. Proin ipsum enim, suscipit eu pharetra nec, facilisis sit amet lectus. Donec enim orci, bibendum eu mattis vel, tempus vitae massa. Morbi urna nunc, accumsan molestie eleifend at, commodo in leo
#
Card PropsAttribute | Type | Value | Default Value | Description |
---|---|---|---|---|
size | string | sm/md/lg | Changes padding, button, and title size |
#
Card Header PropsAttribute | Type | Value | Default Value | Description |
---|---|---|---|---|
size | string | sm/md/lg | Changes header padding |
#
Card Title PropsAttribute | Type | Value | Default Value | Description |
---|---|---|---|---|
size | string | sm/md/lg | Changes title size and padding |
#
Card Body PropsAttribute | Type | Value | Default Value | Description |
---|---|---|---|---|
size | string | sm/md/lg | Changes body padding |
#
Card Footer PropsAttribute | Type | Value | Default Value | Description |
---|---|---|---|---|
size | string | sm/md/lg | Changes button size and footer padding |