Skip to main content

Button

Displays a button or a component that looks like a button.

PreviewDocs

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

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.

Your questions, answered

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.