React button components for Tailwind CSS
Buttons are the most repeated control in any interface, so this category keeps them consistent. Button has five variants (solid, soft, outline, ghost and link), six tones, three sizes plus icon sizes, and a loading state that keeps its width. Button Group joins buttons into one control or a split button with a menu. Copy Button and Delete Button cover two common actions: copying an IBAN, an API key or a link with one tap, and confirming a delete in place without a dialog. Toggle and Toggle Group stay pressed for editor formatting, favorites and view switches, and Theme Toggle switches between light, dark and system on top of next-themes.
All Buttons & Actions[7]
Toggle
A React toggle button that stays pressed, for bold and italic in an editor, a favorite heart, mute, or a filter pill.
ButtonFree
The React button component every screen starts with: five variants, six tones, all sizes, and a loading state that never jumps.
Button Group
A React button group: buttons joined into one control or spaced in a row, plus a split button that pairs a main action with a menu.
Copy ButtonFree
A React copy to clipboard button for IBANs, tax IDs, links and API keys: an icon button with a tooltip, a labelled button and CopyText.
Theme Toggle
A React theme toggle for light, dark and system mode on next-themes: an animated sun and moon button, a segmented control or a menu.
Guides
Tutorials and guides from the blog that use these components.
Building UI with AI agents
Antigravity MCP Setup: The Right Config Path and Prompts
Antigravity MCP setup tested on November 6, 2026: where mcp_config.json lives, remote vs npx entries, reloading, and prompts that install real components.
10 min read
Build it: screens and apps
API Key Management UI: Create, Show Once, Roll, Revoke
Build an API key management UI in React: create keys with scopes and expiry, show the secret once, copy, roll and revoke, and store only a hash on the server.
10 min read
Building UI with AI agents
Codex Frontend Design Skill: Pair It With Real Components
A Codex frontend design skill sets taste but has no components. Where Codex loads skills, which ones exist, and how to pair one with a registry over MCP.
10 min read
Comparisons and alternatives
Is shadcn Free for Commercial Use? MIT vs Paid Kits
Is shadcn free for commercial use? Yes: shadcn/ui is MIT licensed. What MIT asks of you, why paid shadcn kits have their own terms, and how to choose.
10 min read
Building UI with AI agents
OpenCode MCP Setup: opencode.json for v1 and v2
OpenCode MCP setup checked on November 6, 2026: local and remote entries in opencode.json for v1 and v2, API key headers vs OAuth, and prompts that install UI.
11 min read
Component guides
React Terminal Component: Typing Animation Without Jank
Build a React terminal component that types commands, runs spinners and progress bars, prints colored output, never shifts the page and respects reduced motion.
8 min read
About Buttons & Actions
On a phone the medium size grows to 44px and the small size keeps a 44px hit area, presses spring through the shared motion presets, and every button shows a visible focus ring. Each one reads app-wide defaults from UIProvider, so you can set the size, radius or tone once for the whole app. 3 of the 7 button components are free: the source is open to everyone through the CLI, shadcn and the docs page (the MCP server needs a free account key). The other 4 are part of Pro.