Label
cinatra-ai/labelFreeComponent
Cinatra design-system label.
Install it
npx shadcn@latest add https://raw.githubusercontent.com/cinatra-ai/cinatra/main/public/r/label.jsonSource
1"use client"23import * as React from 'react'4import { Label as LabelPrimitive } from 'radix-ui'5import { cn } from '@/lib/utils'67function Label({8 className,9 ...props10}: React.ComponentProps<typeof LabelPrimitive.Root>) {11 return (12 <LabelPrimitive.Root13 data-slot='label'14 className={cn(15 'flex items-center gap-2 text-xs leading-none font-semibold select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50',16 className17 )}18 {...props}19 />20 )21}2223export { Label }
What it pulls in
npm packages
Other registry items
Files it writes
More from @cinatra-ai
All 14 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Alertalert | @cinatra-ai | Components | Free | 1 dep | |
| Badgebadge | @cinatra-ai | Components | Free | 2 deps | |
| Buttonbutton | @cinatra-ai | Components | Free | 2 deps | |
| Cardcard | @cinatra-ai | Components | Free | no deps | |
| Fieldfield | @cinatra-ai | Components | Free | 1 dep | |
| Inputinput | @cinatra-ai | Components | Free | no deps | |
| Input Groupinput-group | @cinatra-ai | Components | Free | 1 dep | |
| Paginated Tablepaginated-table | @cinatra-ai | Components | Free | no deps |
