Skip to content

Label

Open .md
Live preview

Loading example…

Label is part of the Forms set, imported from @jcsoftdev/ui/forms.

import { Label } from "@jcsoftdev/ui/forms";

Single-component entry points tree-shake to just this component: @jcsoftdev/ui/forms/label.

<Label htmlFor="cliente">
Nombre del cliente
</Label>

This component declares no props of its own.

It also accepts the native props of the element or primitive it renders (for example className, id, aria-* and event handlers).

packages/ui/src/forms/label/label.tsx