Component packs › Folio › 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.
| Prop | Type | Default | Description |
|---|---|---|---|
tabs | FoTab[] | Tabs: label on the folder tab, title and rows ("Left\tRight") on the folder front. | |
index | number | 0 | Selected tab. Default 0. |
label | string | Accessible name of the tab list. | |
width | number | 420 | Width in px. Default 420. |
dark | boolean | false forces the light look on a dark page. | |
onChange | (index: number) => void | ||
autoplay | number | false | Showcase mode: moves to the next tab every N ms while visible. |
readonly index: numberselect(index: number): voiddestroy(): voidimport FolderTabs from './FolderTabs';
<FolderTabs />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Tabs.