Ghost button with a status badge
For AI Agents
Hand your agent this brief or the ReUI MCP, not a screenshot. Free to install.
Best for: A filled Updates entry with a small success colored New tag after the label
When to use
- Page, form and dialog actions in primary, secondary, outline, ghost, destructive and link weights
- Icon only controls and sign in rows, such as close, search, copy, menu or theme switches and provider logos
- Actions that report state or carry extras, such as a spinner, a saved check, a count or a shortcut
When not to use
- A status tag shown on its own with nothing to press: use the Badge component
- Several related actions joined edge to edge as one segmented control: use the Button Group component
- A control that stays pressed on or off, such as bold in an editor toolbar: use the Toggle component
- An action attached inside a text field, such as a search submit or a clear: use the Input Group component
Agent notes
- The base twin
Buttondefaults totypebutton, so passtypesubmit inside a form; the radix twin renders a plainbuttonthat submits by default - A link needs its anchor passed through
renderwithnativeButtonfalse on the base twin, or wrapped withasChildon the radix twin - Set
data-iconto inline-start or inline-end on a leading or trailing icon so the text sizes trim the padding on that side
https://reui.io/components/button/c-button-47.mdget_example("c-button-47")npx shadcn@latest add @reui/c-button-47About Shadcn Button Status Badge
Ghost button with a status badge. Built by composing Badge, Button. A free, open source shadcn button example you can install with npx shadcn@latest add @reui/c-button-47 and edit as your own code.
What You Can Build With Shadcn Button Status Badge
- Composes Badge, Button, so it drops into any project already using those components.
- Install it with the shadcn CLI: npx shadcn@latest add @reui/c-button-47
- Open source and free, with the full source on this page to copy or adapt.
More Shadcn Button Examples
- Default Default button
- Secondary Secondary button
- Outline Outline button
- Ghost Ghost button
- Destructive Destructive button
- Link Link button variant
- Extra Small Extra small button
- Small Small button
- Large Large button
- Disabled Disabled button
- Icon Button Icon button
- Icon Right Button with an icon on the right
Related Shadcn Component Categories
Open-source shadcn button group components for segmented controls, toolbar actions, and view switchers.
Open-source shadcn calendar components for date picking, scheduling flows, and booking interfaces.
Open-source shadcn card components for content previews, dashboard widgets, and product summaries.
Open-source shadcn carousel components for image galleries, feature showcases, and testimonials.
Nested multi-level selection with drill-down navigation, breadcrumbs, search and custom rows.
Open-source shadcn chart components for analytics dashboards, KPI tracking, and reports.
Frequently Asked Questions
When should I use Shadcn Button Status Badge?
Use it for a filled Updates entry with a small success colored New tag after the label.
Shadcn Button as a whole fits:
- Page, form and dialog actions in primary, secondary, outline, ghost, destructive and link weights
- Icon only controls and sign in rows, such as close, search, copy, menu or theme switches and provider logos
- Actions that report state or carry extras, such as a spinner, a saved check, a count or a shortcut
For a status tag shown on its own with nothing to press, use the Badge component. For several related actions joined edge to edge as one segmented control, use the Button Group component. For a control that stays pressed on or off, such as bold in an editor toolbar, use the Toggle component. For an action attached inside a text field, such as a search submit or a clear, use the Input Group component.
How do I install Shadcn Button Status Badge?
Is Shadcn Button Status Badge free to use?
Which components does Shadcn Button Status Badge 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.