shadcn Button examples
The clickable control in its variants: default, secondary, outline, ghost, link and destructive, in three sizes and as an icon button. In our blocks it carries nearly every call to action, from hero buttons to table row actions: 1,118 blocks and 195 app screens use it. Every example below is a finished section with real copy, light and dark, that installs with the shadcn CLI.
Blocks built with shadcn Button

hero-09Ferrow
Free
pricing-02Deskside
Free
features-03Ankerplan
Free
header-06Basisfonds
Free
auth-04Lowband
Free
call-to-action-03Inval
Free
forms-14Pallet
Free
app-commerce-01Agenda
Pro
faq-06Koplamp
Free
footer-11Earshot
Free
contact-01Neerpost
Pro
testimonials-08Terplijn
Free
app-projects-01Public booking page
Pro
story-cards-17Pinnote
Free
app-settings-01API keys and webhooks
Pro
comparison-06Marenveld Compare
Free
app-support-01Announcements
Pro
team-05Oakhollow Dental
Free
calculator-01Eemnet
Pro
onboarding-01Jamroom
Pro
app-finance-01Bill detail
Pro
content-cards-05Cratewise
Free
steps-01Mortier
Pro
help-center-01Noordzijl Water
Pro
page-header-01Brouwlab
Pro
posts-02Cellar Door
Pro
collection-cards-01Ankerpark
Pro
locations-01Fennick Physio
Pro
stats-02Ardlow Physio
Pro
gallery-01Gannet Boatworks
Pro
carousel-02Brinley
Pro
services-02Fennel & Fire
Pro
navigation-02Olivar
Pro
product-grid-01Alcove Books
Pro
plan-picker-01Ebbestroom
Pro
app-dashboards-07API health dashboard
Pro
logos-02Ashgrove Kerr
Free
search-05Pannier
Free
newsletter-02Brugwacht
Pro
media-01Calderbank Structural Engineers
Pro
event-01Lantaarn Festival
Pro
search-results-01Pallister Roofing Association
Pro
service-page-01Aequa
Pro
app-people-01Approvals
Pro
careers-05Tidewater Hotels
Free
dialog-02Ampel
Free
docs-01Pinewold Institute for Landscape Ecology
Pro
app-files-01Automation editor
Pro
Showing 48 of 1,313. The rest are in their categories: hero (44), pricing (44), features (40), header (36), sign in and sign up (34), call to action (31) and more.
Questions about shadcn Button
How many blocks use shadcn Button?
1,313 of ours: 1,118 blocks and 195 app screens, in 106 categories, most of all hero (44), pricing (44), features (40). Each one imports the Button from your own components/ui folder, so it follows your theme.
How do I install shadcn Button?
shadcn/ui’s own component: npx shadcn@latest add button. Our free example: npx shadcn@latest add @themesdev/button, no account needed. A block from this page brings the Button along as a dependency, so you never install it by hand.
Are these examples free?
27 of the 1313 are free and install without an account. The other 1286 come with UI Pro, €199 once for one person (excl. tax).
Do they work with Next.js and Astro?
Yes. They are React components on shadcn/ui and Tailwind CSS v4, so they run in Next.js, Vite and Astro with React. In Astro they render on the server, and only the parts that need interaction ship JavaScript.
Other shadcn/ui components in our blocks
All shadcn/ui pages- shadcn Card374 examples
- shadcn Badge641 examples
- shadcn Input491 examples
- shadcn Form539 examples
- shadcn Avatar262 examples
- shadcn Checkbox182 examples
- shadcn Tabs133 examples
- shadcn Table121 examples
- shadcn Sidebar102 examples
- shadcn Switch91 examples
- shadcn Select61 examples
- shadcn Dropdown Menu55 examples
- shadcn Chart28 examples
- shadcn Alert27 examples
- shadcn Calendar15 examples
- shadcn Accordion11 examples