v0.1 public beta early access on GitHub
Home / Components / card

CardiOS

Compound surface — header, title, content and footer slots.

$ npx lumioui add card
import { Card } from "@/components/ui/card/card";
Props6
Card
className? string
variant? "elevated" | "outlined" | "filled" | "glass" Surface voice — "elevated" (default, soft shadow on card color), "outlined" (hairline border, no shadow — the paper-canvas idiom), "filled" (tonal secondary fill, no shadow), "glass" (liquid-glass material — floating panels over content).
onPress? (e: GestureResponderEvent) => void Makes the card pressable: spring scale + light haptic.
haptic? "light" | "medium" | "heavy" | "selection" | false Haptic on press. Default "light"; false to disable.
disabled? boolean
CardText
className? string
Card — Glassglass.tsx
card/variants/glass.tsx open

Compound surface — header, title, content and footer slots.

Card — Profileprofile.tsx
card/variants/profile.tsx open

Compound surface — header, title, content and footer slots.

Card — Ticketticket.tsx
card/variants/ticket.tsx open

Compound surface — header, title, content and footer slots.