BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/formscn/label

label

formscn/label
FreeComponent

Label component

Install it

npx shadcn@latest add https://formscn.space/r/label.json

Source

src/components/ui/label.tsxformscn.space/r/label.json
1"use client";
2
3import * as React from "react";
4
5import { cn } from "@/lib/utils";
6
7function Label({ className, ...props }: React.ComponentProps<"label">) {
8 return (
9 <label
10 data-slot="label"
11 className={cn(
12 "gap-2 text-xs leading-none group-data-[disabled=true]:opacity-50 peer-disabled:opacity-50 flex items-center select-none group-data-[disabled=true]:pointer-events-none peer-disabled:cursor-not-allowed",
13 className,
14 )}
15 {...props}
16 />
17 );
18}
19
20export { Label };

What it pulls in

npm packages

  • @radix-ui/react-label
  • class-variance-authority

Files it writes

  • src/components/ui/label.tsx

Facts

Registry
formscn
Type
registry:ui
Access
Free
Files written
1
Licence
the repository states none
First indexed
2026-08-01
Last confirmed
yesterday

Go to the source

formscn.space AbdullahMukadam/formscn on GitHub Raw registry item This item as JSON

More from formscn

All 30 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
buttonbuttonformscnComponentsFree2 deps
calendarcalendarformscnComponentsFree2 deps
cardcardformscnComponentsFreeno deps
checkboxcheckboxformscnComponentsFree1 dep
fieldfieldformscnComponentsFreeno deps
inputinputformscnComponentsFree1 dep
phone-inputphone-inputformscnComponentsFree2 deps
popoverpopoverformscnComponentsFree1 dep
BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex