Components

Components

Component

A ToastProvider and useToast hook for stacked notifications. Toasts collapse into a deck and expand on hover or focus, auto-dismiss with timers that pause while hovered, focused or in a hidden tab, and can be updated in place (loading to success). Five variants plus default, optional action button, six positions, a limit on open toasts, and polite or assertive live-region announcements.

Alerts & toasts · Chomodo Studio 0 likes 0 installs
Hook

Two React hooks for debouncing. useDebouncedValue returns a value once it has stopped changing for a delay, so you can compare it with the live value to show a pending state. useDebouncedCallback returns a stable function with cancel, flush and isPending; it always calls your latest callback, supports leading calls and a maxWait cap, and cancels on unmount. The preview filters a list while showing the debouncing state and autosaves a note.

Forms & inputs · Chomodo Studio 0 likes 0 installs
Hook

A React hook that counts down to a date or timestamp and returns days, hours, minutes, seconds and milliseconds left, with pause, resume and reset. Ticks align to whole seconds and read the clock each time, so slow or background tabs do not drift; onComplete fires once per run. The preview has a launch countdown with pause and reset and a one-time-code form whose resend link unlocks when its 30-second timer ends.

Alerts & toasts · Chomodo Studio 0 likes 0 installs
Hook

SSR-safe React hooks for CSS media queries, built on useSyncExternalStore so they hydrate without mismatches and follow live changes. useMediaQuery takes any query and a server default, usePrefersReducedMotion reads the motion preference, and useBreakpoint returns the current Tailwind breakpoint. Falls back to the old listener API on older Safari. The preview shows the live breakpoint on a ruler and readouts for motion, colour scheme, contrast, hover, pointer and orientation.

Tables & data · Chomodo Studio 0 likes 0 installs
Component

A floating toolbar that rises from the bottom (or top) of a list when items are selected and sinks away when the selection clears. It shows a rolling selected count, a basket of removable chips with a '+N' overflow that opens a scrollable list, action buttons and Clear. Destructive actions confirm inline ('Delete 6? Yes / No', focus on No) without a modal, and a finished action leaves an Undo pill in the same bar for a few seconds. Ships a useSelection hook with toggle, shift-click ranges, select all, clear and isSelected. Set a threshold, place it inside the parent or float it over the page; Escape clears, count changes are announced politely and focus is never taken when the bar appears.

Tables & data · Chomodo Studio 0 likes 0 installs