Module Catalogue
202 modules available
useLocalStorage Hook
Typed React hook that syncs state with localStorage and handles SSR safely.
useFetch Hook with Abort
Data fetching hook with loading/error state and automatic request cancellation on unmount.
Glassmorphism Card
Pure Tailwind glassmorphism card with gradient border and background blur.
Next.js API Route with Zod Validation
Type-safe Next.js API route that validates the request body with Zod.
Zustand Store Template
Minimal Zustand store with typed state, actions, and Redux DevTools.
Accessible Focus-Trap Modal
Keyboard-navigable modal with focus trap and ARIA attributes. Closes on Escape.
Dark Mode Toggle Hook
Persist dark/light preference in localStorage and sync with Tailwind dark class strategy.
Infinite Scroll via IntersectionObserver
Load more content as the user reaches the bottom — no scroll listeners, no jank.
Self-Dismissing Toast Component
Lightweight toast notification with success, error and info variants.
useDebounce Hook
Generic React hook that debounces any value. Eliminates excessive API calls in search inputs.
Axios Interceptor with Token Refresh
Axios instance with auth token injection and automatic retry on 401.
Laravel Event and Listener Pair
Scaffold for a Laravel event/listener pair with queued processing.
Go Circuit Breaker Pattern
Simple circuit breaker for outbound HTTP calls in Go — open, closed, half-open states.
TypeORM Soft Delete Base Entity
Base entity class with soft delete, createdAt and updatedAt columns for TypeORM.
Laravel Eloquent Published Scope
Reusable Eloquent local scope to filter only published records.
Page 11 of 14