Label

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

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://vue.tileui.zmorg.cn/r/label.json

Package usage

import { TLabel } from '@tile-ui/vue';

Highlights

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