Card

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.

Telemetry Unit
Active

Card component with an integrated technical header strip, optional icon slot, and status badge action area.

Atmospheric Surface
Glass

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.

Shelter — Basement Set
Doors 20:00

Sharp corner-bracketed flyer card with zero rounded radii and live-house crimson framing.

Late Night Vinyl Session
Side B

Violet-accented rectangular container for nocturnal listening sessions and setlists.

Compact Telemetry Card

Lightweight card with an icon, header label, and status badge.

Session Log
v0.1.0

Stream initialized at 48kHz / 24-bit PCM with zero dropped frames.

Quick Import

Compose with icons and badges for modular dashboard layouts.

Example.tsxtsx
1import { Card, Badge } from "@rekodo/react";
2import { Terminal } from "lucide-react";
3
4export function Example() {
5 return (
6 <Card
7 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.

PropTypeDefaultDescription
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.
titlestring—Optional monospaced uppercase header label.
iconReact.ReactNode—Optional leading icon rendered inside the header strip.
headerActionReact.ReactNode—Optional right-aligned slot for badges, buttons, or toggles.
childrenReact.ReactNode—Primary card body content.