byronwade/ui
Application UI

Forms · Application UI

Label

A styled wrapper around the native HTML label element with consistent typography and disabled-state handling.

Feature showcase

Installation

Features

  • 7 examples

    Default, Disabled, Error State, Form Layout, Required, With Checkbox, With Icon.

API

Props

PropTypeDefaultDescription
classNamestring-Additional CSS classes to merge with the default label styles.
htmlForstring-Associates the label with a form control by its id.
childrenReact.ReactNode-The label text or content.

Source and related

FilePath
Componentregistry/ui/label.tsx
Default examplecontent/examples/label/default.tsx
Disabled examplecontent/examples/label/disabled.tsx
Error State examplecontent/examples/label/error-state.tsx
Form Layout examplecontent/examples/label/form-layout.tsx
Required examplecontent/examples/label/required.tsx
With Checkbox examplecontent/examples/label/with-checkbox.tsx
With Icon examplecontent/examples/label/with-icon.tsx