.finally(React)

English
Copyright © 2023-currentdotfinally, LLC

Card

Is this your card?

The Card component can be used by importing { Card } from "finallyreact". Its children elements will be the main content of the card, with optional header and footer sections.

Example

Card content

Example

Title

Card title

Card content

Title

Rounded

Card content

Rounded

Shadow

Card content

Shadow

Shadow on Hover

Card content

Shadow on Hover

Well

Card title

Card content

Well

Well Shadow

Card title

Card content

Well Shadow

Well Shadow Hover

Card title

Card content

Well Shadow Hover

Custom Header and Footer

Card Header

Subtitle

Default Card Content

Card Footer
Custom Header and Footer

Simple

Card title

Card content

Simple

Card Props

Prop NameProp TypeDescription
contentPropsHTMLAttributesProps for Card content
customFooterReact.ReactNodeCustom footer for a card
customHeaderReact.ReactNodeCustom header for a card
headerPropsHTMLAttributesProps for the card header
roundedbooleanRounded card
shadowbooleanWhether the card has a shadow
showHoverShadowbooleanWhether the card shows a shadow on hover
simplebooleanSimple card with no styles
titlestringTitle for the card
wellbooleanWhether the card is rendered as a 'well'