Tabs

Switch between panels of content. Available in underline and pill styles.

Import

import { Tabs } from "@igorao79/uivix";

Examples

Underline

Default style

A quick summary of your project.

Pills

Segmented control style

A quick summary of your project.

Props

PropTypeDefaultDescription
tabs{ id: string; label: ReactNode; content: ReactNode }[]-Tab definitions
defaultTabstringfirst tabInitially active tab id
variant"underline" | "pills""underline"Visual style
classNamestring-Additional CSS classes