Skip to content
Components69 / 118

Reveal Tabs

Quiet icon chips that open up to say what they are. Point at one and its label resolves letter by letter out of a blur while the last folds away, on springs that overshoot and squash. Each icon acts out its meaning: the office lights its windows, the cap is tossed and lands, the sun flares, the cloud lets a little rain go.

TabsIconsSpringsSquash & stretchKeyboardGSAP
Point at a chipOr use the arrow keys

Tweak

LIVE

Look

48px

Page

Behaviour

Opens on

Props

7 props
  • items{ label: string; icon: "office" | "school" | "garden" | "cloud" | ReactNode }[]
    The tabs (keep the array stable).
  • defaultIndexnumber
    Starting tab.default 0
  • onChange(index: number) => void
    Called when the tab changes.
  • trigger"hover" | "click"
    Open on hover, or only on click.default "hover"
  • sizenumber
    Chip height, px.default 44
  • tone"light" | "dark"
    Colours for the page.default "light"
  • classNamestring
    Extra classes.