Card
Card with sections
Source
LLM docs
Docs
PackageIcon
Usage
Card is a wrapper around the Paper component with some additional styles and a Card.Section
component that allows you to split the card into sections. If you do not need sections, you can use the Paper component instead.

Norway Fjord Adventures
With Fjord Tours you can explore more of the magical fjord landscapes with tours and activities on and around the fjords of Norway
Horizontal orientation
81%
Completed
Project tasks
1887
Completed
447
Remaining
76
In progress
Polymorphic component
Card is a polymorphic component, you can change its root element:
Card.Section
Card.Section is a special component that is used to remove Card padding from its children while other elements still have horizontal spacing.
Card.Section works in the following way:
- If the component is the first child in Card, then it has negative top, left and right margins
- If it is the last child in Card, then it has negative bottom, left and right margins
- If it is in the middle, then only the left and right margins will be negative
Note that Card relies on mapping direct children and you cannot use fragments or other wrappers for Card.Section:
Polymorphic Card.Section
Card.Section is a polymorphic component, you can change its root element:
withBorder and inheritPadding props
withBorderprop adds top and bottom borders toCard.Sectiondepending on its position relative to other content and sectionsinheritPaddingprop adds the same left and right padding toCard.Sectionas set in theCardcomponent
Review pictures
200+ images uploaded since last visit, review them to select which one should be added to your gallery



