Shadcn/ui Button - Figma Component
Displays a button or a component that looks like a button. This Figma component is part of our comprehensive design system that brings the popular shadcn/ui library into your design workflow.
Every Button 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
- Multiple variants: default, destructive, outline, secondary, ghost, and link
- Three size options: small, default, and large
- Support for icons on left, right, or icon-only buttons
- Loading states with spinner animations
- Disabled states with proper visual feedback
- Fully accessible with keyboard navigation and ARIA labels
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
Button variants in Figma
The shadcn/ui figma Button includes 6 variants—default, destructive, outline, secondary, ghost, and link. Design clear visual hierarchy in Figma using solid buttons for primary actions and outline or ghost for secondary actions. This shadcn figma component matches the React code exactly.
Loading and disabled states
Design buttons with loading spinners and disabled states in Figma. The shadcn/ui figma Button includes all states so you can prototype complete user flows—from click to loading to success. Show developers exactly how buttons should behave.
Icons in shadcn Figma buttons
Add icons to buttons in Figma using the shadcn figma component. Design buttons with left icons, right icons, or icon-only variants. Perfect for save buttons, delete actions, and navigation arrows that make your interface intuitive.
Button sizes and styling
This shadcn/ui figma Button includes small, default, and large sizes. Design compact buttons for tables, default for forms, and large for important CTAs. All sizes match shadcn/ui React components with proper touch targets for mobile.
Your questions, answered
Common questions about the Button component in the shadcn/ui Figma kit.
The Button component includes six variants: default (solid primary), destructive (for dangerous actions), outline (bordered), secondary (muted), ghost (transparent), and link (looks like a hyperlink). Each variant is designed for specific use cases and visual hierarchy.
Buttons support icons in three configurations: icon on the left of text, icon on the right of text, or icon-only (no text). Icons automatically size and align correctly with the button text and maintain proper spacing.
Yes! The Button component includes a loading state with a spinner animation. When loading, the button typically becomes disabled and shows a spinner, providing clear feedback that an action is in progress.
Buttons come in three sizes: small (sm) for compact spaces like tables or cards, default (md) for general use, and large (lg) for prominent calls-to-action. Each size maintains proper proportions and touch target sizes.
Use the destructive variant for actions that delete, remove, or permanently change data. The red color signals danger and prompts users to think twice before clicking. Always pair destructive actions with confirmation dialogs for important operations.
Yes, this Figma Button component matches the shadcn/ui implementation exactly, including all variants, sizes, states, and icon configurations for perfect design-to-code consistency.