3D tabs

A raised key glides under the active tab, and panels swing in around a hinge in the direction you are moving. Arrow keys, Home and End work.

Install it the shadcn way: copy the source file into your project. It uses CSS 3D, Tailwind CSS v4 and Framer Motion, no WebGL.

Tabs3D props

PropTypeDefaultDescription
tabsTab3DItem[]Tabs to show, each with an id, label and content.
defaultTabstringId of the tab open at first. Defaults to the first tab.
classNamestringExtra classes added to the outer element.

More components

Guides

Start

Cards

Scenes

Controls & text

Buttons

More cards

UI elements

Form controls

App components

Text & backgrounds

Showpieces

Blocks