Skip to content

Card

Card

It's just a Box with predefined styles.

jsx
import Card from '@semcore/ui/card';
<Card />;

Card.Header

It's just a Box with predefined paddings. Contains Card.Title and Card.Description.

jsx
import Card from '@semcore/ui/card';
<Card.Header />;

Card.Body

It's just a Box with predefined paddings.

jsx
import Card from '@semcore/ui/card';
<Card.Body />;

Card.Title

The card title is able to display the tip.

jsx
import Card from '@semcore/ui/card';
<Card.Title />;

TitleProps

& {...}
NameTypeDescription
innerHintReact.ReactNode Content of the Informer that's displayed in the end of the title. Use it if you don't need Title with Ellipsis.
hintAfterReact.ReactNode Content of the Informer that's displayed right after the title. Useful in case of using Title with Ellipsis.
hintReact.ReactNode Renamed to `hintAfter`
innerHintAriaLabelstring Aria-label for the InnerHint icon
hintAfterAriaLabelstring Aria-label for the HintAfter icon

Card.Description

Has all properties as the Text.

jsx
import Card from '@semcore/ui/card';
<Card.Description />;

Released under the MIT License.

Released under the MIT License.