Skip to content
Look

Shared with the landing page. Theme is the select beside this menu.

Card

Open .md
Live preview

Loading example…

Card is part of the Containers set, imported from @jcsoftdev/ui/containers.

import { Card } from "@jcsoftdev/ui/containers";

Single-component entry points tree-shake to just this component: @jcsoftdev/ui/containers/card.

<Card>
<>
<CardHeader>
<h3 className="m-0 font-semibold text-[14px]">Resumen del día</h3>
</CardHeader>
<CardBody>
<p className="m-0 text-ink-2 text-[13px]">
12 citas atendidas, S/ 840 en ingresos y 2 clientes nuevos.
</p>
</CardBody>
<CardFooter>Actualizado hace 5 min</CardFooter>
</>
</Card>
Prop Type Default Description
material "solid" | "glass" | "glass-clear" | "liquid" | "liquid-clear" Cards are content, so they are opaque by default. "glass" and "glass-clear" opt one into frosted glass, "liquid" and "liquid-clear" into Liquid Glass (use sparingly, over imagery, never inside another glass surface). Liquid options go in style (`liq…
intent string
intentKey string

* marks a required prop.

It also accepts the native props of the element or primitive it renders (for example className, id, aria-* and event handlers).

packages/ui/src/containers/card/card.tsx