Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
vercel-labs avatar

Jotai

  • 753 installs
  • 15.8k repo stars
  • Updated July 8, 2026
  • vercel-labs/json-render

The jotai skill explains @json-render/jotai, wiring a writable Jotai atom as json-render StateStore through jotaiStateStore.

About

The jotai skill explains @json-render/jotai, wiring a writable Jotai atom as json-render StateStore through jotaiStateStore. Installation pairs @json-render/jotai with core, react, and jotai. Basic usage creates uiAtom, passes it to jotaiStateStore, and wraps StateProvider. For apps with an existing Jotai Provider, pass the shared createStore instance so json-render and useAtom share state. API documents required atom option and optional store for custom Jotai providers. Use when JSON-driven UIs should participate in atomic Jotai state alongside React components.

  • jotaiStateStore backs json-render with a writable atom.
  • Optional store shares state with existing Jotai Provider.
  • StateProvider exposes atom reads and writes to json-render.
  • Minimal setup: atom plus adapter plus provider.
  • Supports fine-grained atomic updates for spec-driven UI.

Jotai by the numbers

  • 753 all-time installs (skills.sh)
  • +17 installs in the week ending Jul 27, 2026 (Skillselion tracking)
  • Ranked #456 of 2,277 Frontend Development skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
At a glance

jotai capabilities & compatibility

Capabilities
jotaistatestore backs json render with a writabl · optional store shares state with existing jotai · stateprovider exposes atom reads and writes to j · minimal setup: atom plus adapter plus provider.
Use cases
documentation
npx skills add https://github.com/vercel-labs/json-render --skill jotai

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs753
repo stars15.8k
Security audit3 / 3 scanners passed
Last updatedJuly 8, 2026
Repositoryvercel-labs/json-render

How do I apply jotai using the workflow in its SKILL.md?

Connect a Jotai atom as the json-render StateStore via @json-render/jotai, including shared Provider stores.

Who is it for?

Developers following the jotai skill for the tasks it documents.

Skip if: Tasks outside the jotai scope described in SKILL.md.

When should I use this skill?

User mentions jotai or related triggers from the skill description.

What you get

Working jotai setup aligned with the documented patterns and constraints.

  • jotaiStateStore adapter wiring
  • Shared Jotai atom for json-render state

By the numbers

  • Documents installation of 4 npm packages: @json-render/jotai, @json-render/core, @json-render/react, and jotai
  • jotaiStateStore accepts 2 configuration options: required atom and optional shared Jotai store

Files

SKILL.mdMarkdownGitHub ↗

@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 });

const store = jotaiStateStore({ atom: uiAtom, store: jStore });

<JotaiProvider store={jStore}>
  <StateProvider store={store}>
    {/* Both json-render and useAtom() see the same state */}
  </StateProvider>
</JotaiProvider>

API

jotaiStateStore(options)

Creates a StateStore backed by a Jotai atom.

OptionTypeRequiredDescription
atomWritableAtom<StateModel, [StateModel], void>YesA writable atom holding the state model
storeJotai StoreNoThe Jotai store instance. Defaults to a new store. Pass your own to share state with <Provider>.

Related skills

How it compares

Pick jotai when Jotai is already the React state layer; use @json-render/redux or @json-render/zustand adapters when those stores are canonical.

FAQ

What does jotai do?

Connect a Jotai atom as the json-render StateStore via @json-render/jotai, including shared Provider stores.

When should I use jotai?

Invoke when Connect a Jotai atom as the json-render StateStore via @json-render/jotai, including shared Provider stores.

Is jotai safe to install?

Review the Security Audits panel on this page before installing in production.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.