Label

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.

PropTypeDefaultDescription
titleReactNode—Primary label text displayed before the separator (falls back to children).
subtitleReactNode—Secondary label text displayed after the separator (e.g. katakana or section tag).
separatorReactNode"//"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.