Component packs › Vouch › Inline Hint

Inline Hint

A paper tag hangs from the date field on a string and swings to every new hint; when the date is real it turns green and reads it back in words.

Inline Hint is a hint from Vouch, a component pack with 6 validation components: Form validation where every rule is a latch that clicks shut. Price: $2 for the whole pack.

Built with: pendulum tag, auto slashes, real date rules.

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.

Inline Hint props

PropTypeDefaultDescription
labelstring
minAgenumberMinimum age in years, 0 for none.
valuestring
onChange(date: Date | null) => void
autoplaynumber | falseShowcase mode: types a date by itself every N ms while visible.

Methods on the ref

Use it in React

import InlineHint from './InlineHint';

<InlineHint />

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

More in Vouch

Good for: Form validation.