Button loading states
For AI Agents
Hand your agent this brief or the ReUI MCP, not a screenshot. Free to install.
Best for: Disabled default, outline and secondary buttons, each pairing a spinner with a pending word like Saving
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
- An icon only square control with no words beside the indicator: use the Spinner In Buttons example
- A save action that moves to saving then saved on its own 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
- No example holds a pending flag and
disabledis hardcoded where it appears; show the indicator and lock controls from your own request state
https://reui.io/components/spinner/c-spinner-6.mdget_example("c-spinner-6")npx shadcn@latest add @reui/c-spinner-6About Shadcn Spinner Pending Buttons
Button loading states. Built by composing Button, Spinner. A free, open source shadcn spinner example you can install with npx shadcn@latest add @reui/c-spinner-6 and edit as your own code.
What You Can Build With Shadcn Spinner Pending 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-6
- Open source and free, with the full source on this page to copy or adapt.
More Shadcn Spinner Examples
- Basic Basic spinner.
- In Buttons Spinners in buttons.
- In Badges Spinners in badges.
- In Input Group Spinner in input group.
- In Empty State Spinner in empty state.
- 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
Open-source shadcn stepper components for multi-step forms, checkout flows, and onboarding.
Open-source shadcn switch components for settings toggles, preferences, and binary choices.
Open-source shadcn table components for admin tables, data display, and responsive lists.
Open-source shadcn tabs components for segmented content, settings views, and dashboard sections.
Open-source shadcn textarea components for comments, long-form input, and support tickets.
Open-source shadcn time picker components for booking forms, opening hours, and shift scheduling.
Frequently Asked Questions
When should I use Shadcn Spinner Pending Buttons?
Use it for disabled default, outline and secondary buttons, each pairing a spinner with a pending word like Saving.
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 an icon only square control with no words beside the indicator, use the Spinner In Buttons example. For a save action that moves to saving then saved on its own 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 Pending Buttons?
Is Shadcn Spinner Pending Buttons free to use?
Which components does Shadcn Spinner Pending Buttons use?
Start building with ReUI Pro today.
Every Pro block, every style, and every future addition, with one license for unlimited projects.
From $249, once. Lifetime updates.