Every React project rebuilds the same layer: a handful of hooks, a bit of global state, some data fetching, a theme toggle. The Lacspace React Kit is that layer — six small, zero-dependency packages that pair with any React app.

Six packages, any React app

- @lacspace/hooks — 28 essential hooks (useLocalStorage, useDebounce, useMediaQuery, useClickOutside, useIntersectionObserver, useCopyToClipboard…).
- @lacspace/store — a Zustand-lite global store, with persist.
- @lacspace/query — SWR-lite data fetching with a shared cache,
useQuery/useMutation. - @lacspace/theme — a next-themes-lite dark/light toggle (ships "use client").
- @lacspace/hotkeys — keyboard combos, sequences and scopes.
- @lacspace/virtual —
useVirtualizerfor long lists.
The ergonomics you already know
import { useQuery } from '@lacspace/query';
const { data, isLoading, error } = useQuery('/api/me', fetchMe);
// shared cache · automatic revalidation · no provider boilerplate
Familiar patterns, tiny footprint. Because everything is zero-dependency and react-peer, your bundle stays lean and your node_modules stays flat.
Built for modern React
The Kit is SSR-safe and uses "use client" only where it’s genuinely required, so it works cleanly in the Next.js App Router as well as Vite and CRA.
Install what you need
Grab individual packages from lacspace.com/packages, read the hooks reference at lacspace.com/docs, and pair it with create-lacspace-app for a running app in seconds.
Frequently asked questions
What is the Lacspace React Kit?
A complete React layer of six zero-dependency, react-peer packages: hooks (28 essential hooks), store (a Zustand-lite global store with persist), query (SWR-lite data fetching with a shared cache), theme (a next-themes-lite dark/light toggle), hotkeys (keyboard combos and sequences) and virtual (list virtualization). They pair with any React app.
Does it work with Next.js / SSR?
Yes. The packages are SSR-safe and use "use client" only where it’s actually needed (theme, for example, ships it), so they drop into Next.js App Router, Vite or CRA without hydration errors.
Why not just use Zustand, SWR and next-themes?
You can — those are great. The React Kit gives you the same ergonomics as one small, consistent, zero-dependency family that shares design and versioning, so you install less and keep your tree flat. Use whichever fits; the Kit is there when you want one coherent set.
What’s in the hooks package?
28 of the hooks apps rebuild constantly — useLocalStorage, useDebounce, useMediaQuery, useClickOutside, useIntersectionObserver, useCopyToClipboard and more — all typed and SSR-safe.
Is it free?
The React Kit packages are @1.0.0 under the Lacspace Free Licence (MIT-equivalent). Install what you need from lacspace.com/packages.








