Label

A lightweight form label with support for required-state styling.

Use Label directly when you are composing your own field structure or when you want explicit control over the relationship between field and caption.

Preview

Label usage

Label works as a standalone form primitive and pairs with custom field structures when you do not need the higher-level field components.

Registry install

pnpm dlx shadcn@latest add https://react.tileui.zmorg.cn/r/label.json

Package usage

import { Label } from '@tile-ui/react';

Highlights

  • Required marker styling
  • Simple form composition
  • Pairs cleanly with Input and Textarea