Tabs
Connected tab buttons and retained content panels with roving keyboard focus.
Preview
Keep the project context in one place.
Recent changes and project updates.
Choose the settings that fit this project.
Use Tabs
Tabs is a named export of @flood-md/react. Connect the package once, then import what you use.
Design notes
- Arrow keys navigate enabled tabs; automatic activation is default, manual needs Enter/Space. Tab leaves the tablist. Horizontal direction follows RTL.
- Inactive panels remain mounted but hidden. Keep form validation and persistent selection under host control. Invalid, missing or disabled selected values fall back to the first available item.
API reference
View TypeScript source