Shadcn/ui Label - Figma Component
Renders an accessible label associated with controls. This Figma component is part of our comprehensive design system that brings the popular shadcn/ui library into your design workflow.
Every Label variant includes all the necessary states, properties, and styling options you need to create consistent, production-ready designs. The component seamlessly integrates with your existing Figma files and maintains full compatibility with the shadcn/ui React implementation.
Features
- Proper semantic HTML label element
- Automatic association with form controls
- Support for required field indicators
- Consistent typography and spacing
- Clickable to focus associated input
- Built-in Radix UI Label primitive
Browse all 56 components
- Accordion5 variants
- Alert Dialog5 variants
- Alert4 variants
- Aspect Ratio2 variants
- Avatar8 variants
- Badge5 variants
- Breadcrumb5 variants
- Button Group10 variants
- Button13 variants
- Calendar9 variants
- Card4 variants
- Carousel5 variants
- Chart6 variants
- Checkbox6 variants
- Collapsible3 variants
- Combobox10 variants
- Command4 variants
- Context Menu8 variants
- Data Table1 variant
- Date Picker6 variants
- Dialog4 variants
- Direction1 variant
- Drawer3 variants
- Dropdown Menu11 variants
- Empty5 variants
- Field11 variants
- Hover Card2 variants
- Input Group12 variants
- Input OTP8 variants
- Input13 variants
- Item9 variants
- Kbd4 variants
- Label1 variant
- Menubar4 variants
- Navigation Menu1 variant
- Pagination2 variants
- Popover3 variants
- Progress2 variants
- Radio Group5 variants
- Resizable2 variants
- Scroll Area1 variant
- Select5 variants
- Separator3 variants
- Sheet2 variants
- Sidebar1 variant
- Skeleton5 variants
- Slider5 variants
- Sonner3 variants
- Spinner6 variants
- Switch5 variants
- Table2 variants
- Tabs4 variants
- Textarea4 variants
- Toggle Group6 variants
- Toggle4 variants
- Tooltip3 variants
Form labels in Figma
The shadcn/ui figma Label provides accessible associations with form controls. Design clear labels in Figma that stay visible and clickable. This shadcn figma component ensures forms meet accessibility standards.
Required field indicators
Design Labels in Figma with the shadcn/ui figma component—asterisks (*) or "(required)" text. Prototype forms where users know which fields are mandatory, following shadcn/ui patterns.
Label positioning
This shadcn figma Label positions above inputs for best scannability. Design forms in Figma with consistent label placement that works on mobile and desktop, matching shadcn/ui layouts.
Label accessibility
The shadcn/ui figma Label uses proper semantic HTML with for/id association. Design accessible forms in Figma where labels announce correctly to screen readers, ensuring inclusive experiences.
Your questions, answered
Common questions about the Label component in the shadcn/ui Figma kit.
Labels are essential for accessibility and usability. They tell users what information to enter, make forms easier to understand, improve click targets (clicking label focuses input), and are required for screen readers to announce form fields properly.
Yes! Every form input needs a visible label. Even "obvious" inputs like search boxes benefit from labels. If you must hide a label visually for design reasons, keep it in the DOM for screen readers using sr-only classes.
Add an asterisk (*) or "(required)" text to labels of required fields. Be consistent: if you mark required fields, do it for all of them. Alternatively, mark optional fields with "(optional)" if most fields are required.
Yes! Labels can include helper text or hints, but keep the main label concise. For longer explanations, use description text below the label or a helper icon with a tooltip rather than making labels too long.
Checkboxes and radio buttons need labels just like other inputs. The label should clearly describe what the control does. Make labels clickable—users should be able to select checkboxes by clicking the text, not just the tiny box.
Yes, this Figma Label component matches the shadcn/ui implementation, ensuring your form labels maintain proper semantic HTML, accessibility attributes, and consistent styling from design to production.