Tabs

Underline tabs for detail pages and pill tabs for page headers.

View source
The gateway answered in 1.2 s.
import { Tabs } from "@logicplanes/kaeso-ui";

Props

  • children
    ReactNode

    The tab list and the panels.

  • defaultValue
    string

    The selected tab on first render.

  • onValueChange
    ((value: string) => void)

    Called with the selected tab.

  • value
    string

    The selected tab, when you control it.

  • variant
    "pill" | "underline" = underline

    underline for the sections of a detail page; pill for a page's views, right under its header.