
Jotai
vercel-labs/json-renderOfficial
Jotai adapter that wires a Jotai atom in as the json-render state backend.
- skills.sh installs
- 1.2K
- GitHub stars
- 19.8K
- last updated
- Aug 21, 2026
What it does
- Covers creating a
StateStorefrom a writable atom viajotaiStateStore({ atom, store }) - Includes a shared-store setup so json-render and
useAtom()read the same state - Documents the options:
atom(required, a writable atom) andstore(optional, defaults to a new store) - Designed for apps that already manage state with Jotai and need json-render to share it
Install
$ npx -y skills add vercel-labs/json-render --skill jotai -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
@json-render/jotai
Jotai adapter for json-render's StateStore interface. Wire a Jotai atom as the state backend for json-render.
Installation
npm install @json-render/jotai @json-render/core @json-render/react jotai
Usage
import { atom } from "jotai";
import { jotaiStateStore } from "@json-render/jotai";
import { StateProvider } from "@json-render/react";
// 1. Create an atom that holds the json-render state
const uiAtom = atom<Record<string, unknown>>({ count: 0 });
// 2. Create the json-render StateStore adapter
const store = jotaiStateStore({ atom: uiAtom });
// 3. Use it
<StateProvider store={store}>
{/* json-render reads/writes go through Jotai */}
</StateProvider>
With a Shared Jotai Store
When your app already uses a Jotai <Provider> with a custom store, pass it so both json-render and your components share the same state:
import { atom, createStore } from "jotai";
import { Provider as JotaiProvider } from "jotai/react";
import { jotaiStateStore } from "@json-render/jotai";
import { StateProvider } from "@json-render/react";
const jStore = createStore();
const uiAtom = atom<Record<string, unknown>>({ count: 0 });
Details
- Repository
- github.com/vercel-labs/json-render
- Category
- Frontend & UI Code
- First seen
- May 16, 2026
More from vercel-labs/json-render
All 30- Xstate1.1K
- Solid1.1K
- Yaml1.1K
- Json Render React391
- Json Render Core340
- Json Render Shadcn255
- Json Render Remotion153
- Json Render React Native142
- React19.1K
- Core17.7K
- Codegen8.9K
- Next8.6K
- Devtools8.4K
- Directives8.1K
- Mcp5.9K
- React Native3.3K
- Shadcn2.5K
- React Three Fiber2.4K
- React Pdf2.4K
- Zustand1.9K
- Remotion1.8K
- Image1.6K
- Remotion Best Practices1.6K
- Vue1.4K
Similar to Jotai
More Frontend & UI Code
xstateSkillvercel-labs/json-render1.1K installsAdapter that wires an @xstate/store atom in as the json-render state backend.
reduxSkillvercel-labs/json-render1.2K installsRedux adapter that backs json-render's StateStore with a Redux or Redux Toolkit store.
jutsu-zustandPluginTheBushidoCollective/han201 starsComprehensive Zustand state management skills for React applications with store patterns, middleware, and TypeScript integration.
react-state-managementSkillsickn33/agentic-awesome-skills425 installsModern React state management guide covering Redux Toolkit, Zustand, Jotai, and React Query with concrete store patterns.
tanstack-storeSkilltanstack-skills/tanstack-skills1.9K installsFramework-agnostic reactive store with Derived and Effect primitives plus adapters for five frameworks.
valtio-defineSkillhairyf/skills755 installsPinia-style reactive state store for React built on Valtio, with typed state, actions, and getters.