@manhphi1309/label
v0.3.4
Published
A beautifully designed, accessible label component for your React application.
Readme
@manhphi1309/label
A beautifully designed, accessible label component for your React application.
Subcomponents
This package provides the following components:
Label
Dependencies
This package relies on:
@manhphi1309/checkbox@manhphi1309/utilsclsxradix-uitailwind-merge
Installation
npm install @manhphi1309/labelUsage Example
import { Label } from "@manhphi1309/label"
import { Input } from "@manhphi1309/input"
export default function Example() {
return (
<div className="flex flex-col gap-2">
<Label htmlFor="email">Email address</Label>
<Input id="email" type="email" placeholder="[email protected]" />
</div>
)
}