Discover / Navigation
Tabs
Organize related content into views.
Usage notes
Label the tab list and provide a panel for each tab. Use arrow keys to move between tabs.
Examples use @easyui/react and its stylesheet. Read the setup guide.
Example source
import { Tabs, TabsList, TabsPanel, TabsTab } from "@easyui/react";
export default function Example() {
return (
<Tabs defaultValue="overview">
<TabsList aria-label="Workspace sections">
<TabsTab value="overview">Overview</TabsTab>
<TabsTab value="activity">Activity</TabsTab>
</TabsList>
<TabsPanel value="overview">Your workspace at a glance.</TabsPanel>
<TabsPanel value="activity">You're all caught up.</TabsPanel>
</Tabs>
);
}