UI

Card

Cards are a fundamental building block for compositions, such as KPI cards, forms, or sections.

Card

Tremor exports one component for Card.

import { Card } from '@tremor/react';

The example below shows a Card in combination with text elements.

Sales

$34,743

decoration
string
Add a decorative border to the card.
decorationColor
string
Set a color to the border decoration.

Roundness
borderRadiustremor-default
Shadow
boxShadowtremor-shadow-card
Background color
colorstremor-background-DEFAULT
Border color (decoration)
colorstremor-brand-DEFAULT
Ring color
colorstremor-ring