@nuqs
Type-safe URL query-string state management for React frameworks, functioning like useState but backed by the URL. The shadcn registry distributes community-contributed custom parsers, adapters, and utilities that extend the core nuqs library. Supports Next.js (app and pages routers), React SPA, Remix, React Router v6/v7, and TanStack Router via adapters. Features built-in parsers (integer, float, boolean, Date), useQueryStates for grouped params, shallow mode, and server-component cache helpers. Free, MIT-licensed. Use for: adding shareable, bookmarkable URL state to any React app without a separate state library.
Install this registry
npx shadcn@latest add https://nuqs.dev/r/registry.json pnpm dlx shadcn@latest add https://nuqs.dev/r/registry.json bunx shadcn@latest add https://nuqs.dev/r/registry.json curl -s https://nuqs.dev/r/registry.json Components
5 totalUsing nuqs in Inertia.js apps (eg: with a Laravel backend)
npx shadcn@latest add https://nuqs.dev/r/adapter-inertia.json Using nuqs in One.js applications.
npx shadcn@latest add https://nuqs.dev/r/adapter-onejs.json Using nuqs in React Router v5 applications.
npx shadcn@latest add https://nuqs.dev/r/adapter-react-router-v5.json Using nuqs in ⛩️ Waku applications.
npx shadcn@latest add https://nuqs.dev/r/adapter-waku.json Type-safe linking for Next.js (using typedRoutes + nuqs)
npx shadcn@latest add https://nuqs.dev/r/next-typed-links.json