Component packs › Nib › Ink Underline Tabs
A pen draws a fresh, slightly uneven underline under the chosen tab, heavy at the start and flicking off thin, while the old one fades.
Ink Underline Tabs is a tabs from Nib, a component pack with 6 pen components: Pen and signature components that write like a fountain pen: speed-shaped strokes, wet ink that dries. Price: $2 for the whole pack.
Built with: hand-drawn underline, never the same twice, tab keyboard.
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[] | ||
value | number | ||
label | string | ||
dark | boolean | ||
onChange | (i: number, label: string) => void | ||
autoplay | number | false | Showcase mode: moves to another tab every N ms while visible. |
readonly value: numberset(i: number): voiddestroy(): voidimport InkTabs from './InkTabs';
<InkTabs />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Checkboxes, Signature pads.