DocsSupportPricing
Roadmap (has updates coming soon)XFigma3.7K
Sign inGet All-Access
  1. Components
  2. Spinner
  3. Spinner In Buttons
MarkdownShare

Shadcn Spinner In Buttons

Spinners in buttons. Built by composing Button, Spinner. A free, open source shadcn spinner example you can install with npx shadcn@latest add @reui/c-spinner-2 and edit as your own code.

Spinners in buttons.

For AI Agents

Hand your agent this brief or the ReUI MCP, not a screenshot. Free to install.

Best for: Leading spinners in a live primary, a disabled outline and a square icon only button with its own label

When to use

  • Pending states inside buttons, status badges and search fields while a request runs
  • Loading views for a card or an empty panel, including blurred covers over content being refreshed
  • Inline notes such as checking, syncing or reconnecting, led by a small tinted spinner or bouncing dots

When not to use

  • A save action that cycles idle, saving and saved after one click: use the Button component
  • Content of a known layout, held as muted placeholder shapes until it arrives: use the Skeleton component
  • A wait where the share of work done is known, such as an upload percent: use the Progress component

Agent notes

  • The Processing Button is not disabled, so it stays clickable while it spins; lock it from your pending flag
  • data-icon inline-start on the Spinner in each labelled Button trims that button's leading padding to fit the icon
  • No example holds a pending flag and disabled is hardcoded where it appears; show the indicator and lock controls from your own request state
Markdownhttps://reui.io/components/spinner/c-spinner-2.md
MCPget_example("c-spinner-2")
Installnpx shadcn@latest add @reui/c-spinner-2
Full index for agents:llms.txtReUI MCP setup

Shadcn Components in Spinner In Buttons

  • Button
  • Spinner

About Shadcn Spinner In Buttons

Spinners in buttons. Built by composing Button, Spinner. A free, open source shadcn spinner example you can install with npx shadcn@latest add @reui/c-spinner-2 and edit as your own code.

What You Can Build With Shadcn Spinner In Buttons

  • Composes Button, Spinner, so it drops into any project already using those components.
  • Install it with the shadcn CLI: npx shadcn@latest add @reui/c-spinner-2
  • Open source and free, with the full source on this page to copy or adapt.

More Shadcn Spinner Examples

  • Basic Basic spinner.
  • In Badges Spinners in badges.
  • In Input Group Spinner in input group.
  • In Empty State Spinner in empty state.
  • Pending Buttons Button loading states
  • Overlay With Caption Overlay loading spinner
  • Full Page Full page loading state
  • Inline Text Inline loading text with spinner
  • Loading Dots Animated loading dots
  • Card Overlay Spinner overlay on card
  • Color Variants Spinner color variants

Related Shadcn Component Categories

  • Stepper

    Open-source shadcn stepper components for multi-step forms, checkout flows, and onboarding.

  • Switch

    Open-source shadcn switch components for settings toggles, preferences, and binary choices.

  • Table

    Open-source shadcn table components for admin tables, data display, and responsive lists.

  • Tabs

    Open-source shadcn tabs components for segmented content, settings views, and dashboard sections.

  • Textarea

    Open-source shadcn textarea components for comments, long-form input, and support tickets.

  • Time Picker

    Open-source shadcn time picker components for booking forms, opening hours, and shift scheduling.

Frequently Asked Questions

When should I use Shadcn Spinner In Buttons?

Use it for leading spinners in a live primary, a disabled outline and a square icon only button with its own label.

Shadcn Spinner as a whole fits:

  • Pending states inside buttons, status badges and search fields while a request runs
  • Loading views for a card or an empty panel, including blurred covers over content being refreshed
  • Inline notes such as checking, syncing or reconnecting, led by a small tinted spinner or bouncing dots

For a save action that cycles idle, saving and saved after one click, use the Button component. For content of a known layout, held as muted placeholder shapes until it arrives, use the Skeleton component. For a wait where the share of work done is known, such as an upload percent, use the Progress component.

How do I install Shadcn Spinner In Buttons?

Run npx shadcn@latest add @reui/c-spinner-2. The CLI copies the source into your project, so you own the code and can edit it freely.

Is Shadcn Spinner In Buttons free to use?

Yes. Every ReUI component example is open source and free for personal and commercial projects.

Which components does Shadcn Spinner In Buttons use?

It composes Button, Spinner. The shadcn CLI installs those alongside the example.
PreviousBasicNextIn Badges

Start building with ReUI Pro today.

Every Pro block, every style, and every future addition, with one license for unlimited projects.

Get All-Access

From $249, once. Lifetime updates.

Application

  • App ShellAdded 4 new App Shell blocks
  • Auth
  • Card
  • Dashboard
  • Dialog
  • Empty State
  • Event Calendar
  • Flow
  • Form
  • Gantt
  • Kanban Board
  • List
  • Navbar
  • Onboarding
  • Profile
  • Rich Text Editor
  • Schedule
  • Settings
  • Sheet
  • Stats
  • Timeline
  • Whiteboard
  • Wizard

Data Grid

  • Base
  • AdvancedNew Advanced category with 3 Data Grid blocks
  • Columns
  • Drag & Drop
  • Editing
  • Expansion
  • Filtering
  • Grouping
  • Virtualization

Charts

  • Area Chart
  • Bar Chart
  • Composed Chart
  • Line Chart
  • Pie Chart
  • Radial Chart
  • Sparkline
  • Status Tracker

AI & Agents

  • AI Chat
  • Agent Activity

Solutions

  • Dev Ops
  • AI Ops
  • CRM
  • Agents
  • Analytics
  • Billing
  • Bookings
  • Files
  • Inventory
  • Users

Templates

  • E-commerce
  • SaaS
  • Dashboard
  • Landing
  • All templates

eCommerce

  • Category Card
  • Checkout
  • Comparison
  • Coupon
  • Filter Sidebar
  • Product Card
  • Product Detail
  • Product Grid
  • Receipt
  • Review
  • Shopping Cart
  • Wishlist
  • Shop Hero

Marketing

  • Blog
  • Compare
  • Contact
  • CTA
  • FAQ
  • Hero
  • How It Works
  • Pricing

Resources

  • Components
  • Blocks
  • Icons
  • MCP for Agents
  • Docs
  • Support
  • Pricing
  • Tailwind Plus Alternative
  • Roadmap(has updates coming soon)
  • AffiliateSoon

Legal

  • Privacy Policy
  • Terms & Conditions
  • License
  • Refunds
  • Cookies

© 2026 ReUI. All rights reserved.

3.7K