Components

Card

Linked or static summary cards, alone or in a grid.

Use Card and CardGroup for scannable links or feature summaries.

Basic usage#

API reference

Learn how to model response schemas.

Card group#

Horizontal card#

Changelog
Read more

Image card#

Image card

Add an image above the card content with img.

Shiso website

External links show an arrow by default. Set arrow={false} to hide it.

Visit site

Typed cards#

Typed cards use the matching callout theme and default icon. Set icon to override the default.

Note card
Supporting information.
Info card
Additional context.
Warning card
Something needs attention.
Tip card
A helpful suggestion.
Check card
A successful result.
Danger card
A risky or destructive action.

Cards with href render as links; without it they are static containers. External href values open in a new tab. For mixed content side by side, use Columns.

Properties#

Card#

NameTypeDescription
titleReactNode

Card heading.

hrefstring

Optional link destination. When set, the card is interactive.

iconReactNode | string

Lucide icon name, image URL or path, or rendered element.

colorstring

CSS color applied to the icon.

imgstring

Image shown above the body.

ctastring

Trailing action label.

horizontalboolean

Lay out icon, title, and body in a row.

Default: false
arrowboolean

Show or hide the trailing arrow. External links show it by default.

type'note' | 'info' | 'warning' | 'tip' | 'check' | 'danger'

Apply the matching callout background, border, text color, and default icon.

childrenReactNode

Body content.

CardGroup#

NameTypeDescription
cols1 | 2 | 3 | 4

Number of columns in the grid.

Default: 2
childrenReactNode

One or more Card children.

Last updated on