Component packs › Folio › Filing Drawer
The chosen drawer of a steel cabinet runs out on its runners and knocks against the stop, hanging files standing up inside.
Filing Drawer 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: 3D drawer on a spring, hanging files in depth, vertical tablist.
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 drawer's card; rows ("Left\tRight") become the hanging files inside. | |
index | number | ||
label | string | ||
width | number | 380 | Width in px. Default 380. |
dark | boolean | ||
onChange | (index: number) => void | ||
autoplay | number | false | Showcase mode: opens the next drawer every N ms while visible. |
readonly index: numberselect(index: number): voiddestroy(): voidimport FilingDrawer from './FilingDrawer';
<FilingDrawer />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Tabs.