Label

Typography-aligned label component for form controls.

Usage

import {Label} from 'kinu';

<Label htmlFor="name">Name</Label>

Exports

Name Description Rendered HTML
Label Form field label <label k="label">

Props

Prop Type Default Description
htmlFor string ID of the form element this label describes.

Notes

  • Wraps the native <label> element and forwards htmlFor.
  • Pair with controls to provide accessible names.

_Source: src/components/label/index.tsx