Component packs › Vouch › 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.
| Prop | Type | Default | Description |
|---|---|---|---|
label | string | ||
minAge | number | Minimum age in years, 0 for none. | |
value | string | ||
onChange | (date: Date | null) => void | ||
autoplay | number | false | Showcase mode: types a date by itself every N ms while visible. |
readonly date: Date | nulldestroy(): voidimport InlineHint from './InlineHint';
<InlineHint />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Form validation.