Skip to content

Label ​

Nhãn form truy cập được.

ts
import { Label } from "@minap/ui";

Examples ​

Mẫu sống trong Preview; chọn View code khi cần copy.

Usage ​

tsx
import { Input, Label } from "@minap/ui";

export function Example() {
  return (
    <>
      <Label htmlFor="emb-lbl">Associated label</Label>
      <Input id="emb-lbl" placeholder="Linked via htmlFor" />
    </>
  );
}

Props / API ​

Prop / APITypeDefaultNotes
htmlForstring—Liên kết với id của control
classNamestring—

Behavior ​

  • Dùng min-h-touch trên hàng checkbox/switch

MINAP UI — Soft Periwinkle light, Mobile-First