Component packs › Gnomon › Shadow Tabs
A lacquered block marks the tab: it lifts off with a growing, softening shadow, carries across and sets down sharp on the new tab.
Shadow Tabs is a tabs from Gnomon, a component pack with 6 shadow controls: One light for the whole page: switch on the lamp and every control swings its shadow away from it. Price: $2 for the whole pack.
Built with: lift, carry, set down, shared light, stone tray.
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 | string[] | ["Overview", "Activity", "Files", "Settings"] | Tab labels. Default ["Overview", "Activity", "Files", "Settings"]. |
value | number | ||
label | string | ||
disabled | boolean | ||
dark | boolean | ||
onChange | (index: number, label: string) => void | ||
autoplay | number | false | Showcase mode: moves to another tab every N ms while visible. |
readonly value: numbersetValue(i: number, silent?: boolean): voiddestroy(): voidimport ShadowTabs from './ShadowTabs';
<ShadowTabs />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Skeuomorphic UI.