Component packs › Folio › Folder Tabs

Folder Tabs

The chosen kraft folder rises out of the stack while the folders in front dip to make room, then drops in at the front.

Folder Tabs is a tabs from Folio, a component pack with 8 tab components: Eight tab components, each one a real piece of stationery that moves the way it does on a desk. Price: $2 for the whole pack.

Built with: stack reorder in depth, lift and dip choreography, growing shadow.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Folder Tabs props

PropTypeDefaultDescription
tabsFoTab[]Tabs: label on the folder tab, title and rows ("Left\tRight") on the folder front.
indexnumber0Selected tab. Default 0.
labelstringAccessible name of the tab list.
widthnumber420Width in px. Default 420.
darkbooleanfalse forces the light look on a dark page.
onChange(index: number) => void
autoplaynumber | falseShowcase mode: moves to the next tab every N ms while visible.

Methods on the ref

Use it in React

import FolderTabs from './FolderTabs';

<FolderTabs />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Folio

Good for: Tabs.