Skip to main content

Label

Renders an accessible label associated with controls.

PreviewDocs

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

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.

Your questions, answered

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.