Card
Composable container cards with optional technical header strips, icons, and action slots.
Dashboard Cards
Structured glassmorphic cards with header strips, icon slots, and action areas.
Card component with an integrated technical header strip, optional icon slot, and status badge action area.
Translucent dark backdrop-blur container designed for media dashboards and modular layout systems.
Poster Variant
Sharp rectangular Shimokitazawa flyer cards with corner brackets and crimson or violet accents.
Sharp corner-bracketed flyer card with zero rounded radii and live-house crimson framing.
Violet-accented rectangular container for nocturnal listening sessions and setlists.
Compact Telemetry Card
Lightweight card with an icon, header label, and status badge.
Stream initialized at 48kHz / 24-bit PCM with zero dropped frames.
Quick Import
Compose with icons and badges for modular dashboard layouts.
1import { Card, Badge } from "@rekodo/react";2import { Terminal } from "lucide-react";3
4export function Example() {5 return (6 <Card7 title="Telemetry Unit"8 icon={<Terminal className="h-4 w-4" />}9 headerAction={<Badge variant="primary">Active</Badge>}10 >11 Card body content goes here...12 </Card>13 );14}API Reference
Props accepted by this component.
| Prop | Type | Default | Description |
|---|---|---|---|
| variant | "default" | "technical" | "poster" | "default" | Surface style: rounded glass card, grid-backed technical card, or sharp corner-bracketed poster card. |
| accent | "violet" | "rose" | "violet" | Accent color for hover borders, header highlights, and poster corner brackets. |
| title | string | — | Optional monospaced uppercase header label. |
| icon | React.ReactNode | — | Optional leading icon rendered inside the header strip. |
| headerAction | React.ReactNode | — | Optional right-aligned slot for badges, buttons, or toggles. |
| children | React.ReactNode | — | Primary card body content. |