Free shadcn button components(24)

24 free button components for shadcn/ui, React and Tailwind CSS, including Seal Arrow Button, Underline Arrow Button and Async Loading Button. Add them to any React app with the shadcn CLI.

Buttons for links and actions

Button components are styled buttons for calls to action, forms and toolbars. Most render a button element, switch to an anchor when you pass href, and support asChild for your own link component.

Some do a job beyond the click: one copies text, one shows a spinner while a promise runs, and one fires after a hold.

What the category covers

  • Pills with motion: arrows that slide out on hover, rolling letters, a shine sweep and a magnetic pull toward the cursor.
  • Plain pills with a few tones and heights, for pages that need a calm button.
  • Functional buttons: copy to clipboard, async loading, hold to confirm and a split button with a menu.
  • Icon buttons: an icon-only button with a required label, an expanding icon button and a video play button.
  • Styled buttons: a pressable button with a hard shadow, corner brackets, scrambled glyphs and an avatar stack.

To go further, use the confirm components for destructive actions, the badge components for a label next to a button, and the CTA blocks for full closing sections. Every button component is free.

Questions

How do I use a button with the Next.js Link component?

Most buttons support asChild. Put your Link inside the button and it takes the button styles. Without asChild, pass href and the button renders a plain anchor.

Is there a loading button that prevents double submits?

Yes. The async loading button shows a spinner and disables itself while the promise from onClick runs. It also sets aria-busy during that time.

Can I make an icon-only button accessible?

The icon button requires a label prop. It uses the label as the aria-label and the title, so the button always has a name.

How do I change a button's color to match my theme?

Most buttons have a tone prop, and the colors come from your theme tokens. You can also pass className to change the classes.

Do the animated buttons respect reduced motion?

Several do, including the magnetic, scramble and expanding buttons. They skip the motion when reduced motion is on.

Is there a button that copies text?

Yes. The copy to clipboard button copies a value such as an install command or an API key, and shows that it was copied.

Which button should I use for a destructive action?

The hold to confirm button fires only when the hold completes. For typed or sliding confirmation, see the confirm components.

Are the button components free?

Yes. You install them with the shadcn CLI, and they work in any React app.

Markdown version