Label
Monospace bilingual/editorial label in <title> // <subtitle> format for section headers and form fields.
Quick Import
Example.tsxtsx
1import { Label } from "@rekodo/react";2
3export function Example() {4 return <Label title="Rekodo" subtitle="レコード" />;5}API Reference
Props accepted by this component.
| Prop | Type | Default | Description |
|---|---|---|---|
| title | ReactNode | — | Primary label text displayed before the separator (falls back to children). |
| subtitle | ReactNode | — | Secondary label text displayed after the separator (e.g. katakana or section tag). |
| separator | ReactNode | "//" | Divider rendered between title and subtitle. |
| accent | "default" | "violet" | "rose" | "amber" | "cyan" | "default" | Color accent for the label. |
| size | "sm" | "default" | "lg" | "default" | Monospace text size. |