Component packs › Nib › Ink Underline Tabs

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.

Ink Underline Tabs props

PropTypeDefaultDescription
tabsstring[]
valuenumber
labelstring
darkboolean
onChange(i: number, label: string) => void
autoplaynumber | falseShowcase mode: moves to another tab every N ms while visible.

Methods on the ref

Use it in React

import InkTabs from './InkTabs';

<InkTabs />

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

More in Nib

Good for: Checkboxes, Signature pads.