Closeable Tabs
A tablist (editor/browser style) where each tab has a close button. Selecting works like normal tabs; closing a tab removes it, and closing the active tab activates and focuses an adjacent tab so you are never left on a removed tab.
- Axe
- Roving
- Focus
Preview
Home
Files
Settings
Home content
Installation
npx shadcn@latest add https://ui.publictheta.com/r/tabs-closeable.jsonConformance
Verified against the @publictheta/ui-spec tabs-closeable specification on both the React and vanilla reference implementations, across Chromium, Firefox, and WebKit.
- Axe — No WCAG 2 A/AA axe-core violations
- Roving — Exactly one tab stop; Arrow keys move within the widget
- Focus — A visible focus indicator appears on keyboard focus (WCAG 2.4.7)
See the full conformance matrix across all components.