Glass Label
washiveil/glass-labelFreeComponent
Form label in the mono uppercase register.
Install it
npx shadcn@latest add https://washiveil.alexchih.com/r/glass-label.jsonSource
1'use client'23import * as React from 'react'4import { Label as LabelPrimitive } from 'radix-ui'56import { cn } from '@/lib/utils'78const GlassLabel = React.forwardRef<9 React.ComponentRef<typeof LabelPrimitive.Root>,10 React.ComponentPropsWithoutRef<typeof LabelPrimitive.Root>11>(({ className, ...props }, ref) => (12 <LabelPrimitive.Root13 ref={ref}14 className={cn(15 'font-mono text-[0.8125rem] tracking-[0.15em] uppercase text-muted-foreground peer-disabled:cursor-not-allowed peer-disabled:opacity-50',16 className,17 )}18 {...props}19 />20))21GlassLabel.displayName = LabelPrimitive.Root.displayName2223export { GlassLabel }
What it pulls in
npm packages
Other registry items
Files it writes
More from washiveil
All 58 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Ambient Fieldambient-field | washiveil | Components | Free | no deps | |
| Chipchip | washiveil | Components | Free | 1 dep | |
| Code Badgecode-badge | washiveil | Components | Free | no deps | |
| Glass Accordionglass-accordion | washiveil | Components | Free | 2 deps | |
| Glass Alertglass-alert | washiveil | Components | Free | 1 dep | |
| Glass Alert Dialogglass-alert-dialog | washiveil | Components | Free | 1 dep | |
| Glass Aspect Ratioglass-aspect-ratio | washiveil | Components | Free | 1 dep | |
| Glass Avatarglass-avatar | washiveil | Components | Free | 1 dep |
