React dialogs, sheets and menus for Tailwind CSS
Overlays show content above the page: a focused task, a question, a menu or a hint. Dialog is the modal for focused tasks, Alert Dialog asks a short question that must be answered (with an async confirm that can fail inline), and Sheet slides a panel in from any edge for filters, a cart or an inspector. Drawer is the library's bottom sheet on vaul, with drag to dismiss and snap points, and Family Drawer morphs between stacked views. Popover, Hover Card and Tooltip anchor content to a trigger, Dropdown Menu and Context Menu hold actions with icons, shortcuts and submenus, Shortcuts Dialog lists every keyboard shortcut, and Tour walks people through the real UI one step at a time.
All Overlays[13]
TooltipFree
A React tooltip for icon buttons and cut-off text: shortcut hints, toolbar groups that skip the delay and a long press on touch.
Dropdown MenuFree
A React dropdown menu: icons, descriptions, shortcuts, badges, checkbox and radio items, submenus, and an action sheet on phones.
Alert Dialog
A React alert dialog for confirmations: an async confirm that loads, fails inline and shakes, plus an await confirm() API.
Context Menu
A React context menu component: actions on right-click for grids and lists, and an iOS-style action sheet on a long press on touch screens.
DialogFree
A React modal dialog for focused tasks: a spring-scaled card on desktop and a bottom sheet on phones, with nesting and scrolling.
DrawerFree
A React drawer and bottom sheet built on vaul: drag to dismiss, snap points, nesting, and a side panel or dialog on desktop.
Family DrawerBetaFree
A React bottom drawer that floats above the page and morphs its height between stacked views, inspired by the Family app.
Hover Card
A React hover card: a rich preview of a person, listing or link on hover or focus, opening as a bottom sheet on touch screens.
PopoverFree
A React popover for rich content anchored to a trigger, like a quick filter, form or share panel, that becomes a bottom sheet on phones.
Share Dialog
The Share dialog of a collaborative app: invite people by email with a role, manage who has access, set link access and copy the link.
SheetFree
A React sheet that slides in from any edge on a spring for filters, a cart, an inspector or phone navigation, swipeable to close on touch.
Guides
Tutorials and guides from the blog that use these components.
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
Build it: screens and apps
Nextjs Portfolio Template That Wins Clients
A nextjs portfolio template built to win clients: case studies in a sheet, a timeline, priced services and a contact form, plus what to cut for a job hunt.
9 min read
Build it: screens and apps
Onboarding Checklist UI: The Get Started Card in React
Build an onboarding checklist UI in React: which tasks to list, progress saved on the server, dismiss and reopen, a floating launcher, and a calm tour handoff.
9 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 Emoji Picker: Search, Skin Tones and Phone Sheets
Build a React emoji picker with ranked search, skin tones, recents and a phone bottom sheet, and see what bundling 1,870 emoji costs: 31 KB gzipped.
9 min read
Building UI with AI agents
Windsurf MCP Setup in 2026: New Config Path, Rules, Fixes
Windsurf MCP setup after the Devin Desktop rename: the mcp_config.json paths Devin Local reads, a working JSON entry, rules files and common error fixes.
10 min read
About Overlays
Most overlays are built on Radix primitives, so focus is trapped and restored, Escape closes them and screen readers hear the right roles. Below 768px they follow phone conventions: dialogs and popovers become bottom sheets, menus become iOS-style action sheets, hover cards open with a tap, and the tour docks at the bottom of the screen. 7 of the 13 overlays 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 6 are part of Pro.