Label
poyraz/labelFreeComponent
Poyraz Soft Glass label component.
Install it
npx shadcn@latest add https://ui.poyrazavsever.com/r/label.jsonSource
1import * as React from "react";2import { cn } from "@/lib/utils";34export type LabelProps = React.LabelHTMLAttributes<HTMLLabelElement>;56const Label = React.forwardRef<HTMLLabelElement, LabelProps>(({ className, ...props }, ref) => (7 <label8 ref={ref}9 data-slot="label"10 className={cn(11 "text-sm font-medium leading-none text-foreground",12 "peer-disabled:opacity-40 peer-disabled:cursor-not-allowed",13 className,14 )}15 {...props}16 />17));18Label.displayName = "Label";1920export { Label };
What it pulls in
Other registry items
Files it writes
More from poyraz
All 71 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Accordionaccordion | poyraz | Components | Free | 2 deps | |
| Alertalert | poyraz | Components | Free | 2 deps | |
| Announcement Barannouncement-bar | poyraz | Components | Free | 2 deps | |
| Autocompleteautocomplete | poyraz | Components | Free | 1 dep | |
| Avataravatar | poyraz | Components | Free | 2 deps | |
| Badgebadge | poyraz | Components | Free | 1 dep | |
| Bg Patternbg-pattern | poyraz | Components | Free | no deps | |
| Breadcrumbbreadcrumb | poyraz | Components | Free | 1 dep |
