Tabs
Switch between peer views inside one screen: Tabs, TabList, Tab, and TabPanel. Six types across two orientations, no scrolling of their own.
Tabs
Switch between peer views inside one screen: Tabs, TabList, Tab, and TabPanel. Six types across two orientations, no scrolling of their own.
Demo
heroorientation
type
size
import { Lock01, User01, Users01 } from "@untitledui/icons";
import { Tabs } from "@/components/application/tabs/tabs";
<Tabs>
<Tabs.List aria-label="Settings" type="button-brand">
<Tabs.Item id="details" icon={User01}>My details</Tabs.Item>
<Tabs.Item id="password" icon={Lock01}>Password</Tabs.Item>
<Tabs.Item id="team" icon={Users01} badge={4}>Team</Tabs.Item>
</Tabs.List>
</Tabs>
In context
in-contextFamily
familyThe panel for Password.
The panel for Team.
Types
cellsFive horizontal types at both sizes.
Size sm
Size md
Layouts
cellsVertical, size sm
Vertical, size md
fullWidth
Behaviour
cellsStates
cellsThe panel for Password.