Components and hooks focused on UX and interaction: the small details that make an interface feel right, not just work.
Screen reader announcements via ariaNotify, with a live-region fallback.
Avatar fallback with initials on a color or gradient picked from a hash of the name, so the same person always gets the same swatch.
Initials from a name, plus a deterministic palette color and gradient from a djb2 hash.
Detects GTIN-8/12/13/14, ISBN-10/13 and ISSN and validates their check digits.
Text input with a camera scan button; the scanner dialog decodes EAN/UPC, ISBN, Code 128 and QR with zbar-wasm, loaded on first open.
Card number field that detects the network, shows its icon, groups the digits and keeps the cursor in place.
Network detection from IIN ranges, Luhn check, digit grouping, CSC length and MM / YY expiry parsing.
Damerau–Levenshtein distance against a short list of common email providers.
Email field that suggests a fix for mistyped common domains (gmial.com → gmail.com) without changing what was typed.
One line with an ellipsis that expands in place on click.
Vibration patterns for tap, tick, success, warning and error.
Shake, pop, burst and stroke-draw animations with the Web Animations API; skipped under reduced motion.
UI sounds synthesized with the Web Audio API: no audio files.
Truncates text in the middle and keeps the end visible, like Finder does for filenames.
Compact numbers, file sizes, durations and relative time on top of Intl, with unit-aware rounding.
Zoomable container for diagrams and maps that doesn't trap page scroll: Ctrl or ⌘ + wheel and two fingers zoom, with keyboard support and zoom buttons.
Parses amounts typed with either "." or "," as the decimal separator.
shadcn Input with a show/hide toggle and a Caps Lock warning.
Entropy estimate with a tiny LZ77-style compressor, and strength levels.
Four-segment strength bar with a label, from a compression-based entropy estimate.
Thin bar at the top of the page for navigations: fast start, slow crawl, snap to 100% and fade. CSS animations only; set loading from a transition's isPending.
Warns before leaving the page while there is unsaved work.
Shows a loading indicator only if work takes longer than a delay, then keeps it visible for a minimum time.
Haptic feedback that is off until the user turns it on; the preference persists and syncs across tabs.
Sound feedback that is off until the user turns it on; the preference persists and syncs across tabs.
Shift-click to select a range of checkboxes in a list.
Keeps a dialog's open state in the URL so Back closes it and links can open it.
Keeps the screen on with the Screen Wake Lock API and re-acquires the lock when the tab becomes visible again.