expokit
Add and use ExpoKit UI components (buttons, inputs, sheets, dialogs, toasts, pickers, charts, 3D and Liquid Glass) in an Expo or React Native app. Use when the user asks for a UI component, screen or
SKILL.mdskills/expokit/SKILL.md
GitHubExpoKit
ExpoKit works like shadcn/ui for Expo: the CLI copies component source into the app. There is no expokit
package to import from, and you should never re-implement a component that ExpoKit has.
Workflow
- Find the item. If the
expokitMCP server is connected, callsearch_items(orlist_items), thenview_itemfor props, the import line and examples. Without it, runnpx @expokit/cli@latest add --list, or read https://expokit.in/llms.txt. - Add it from the app's root folder (where
package.jsonis):
The first run also doesnpx @expokit/cli@latest add <name> [<name>...]init: it writescomponents.json, adds the@/*path alias totsconfig.json, copies files tosrc/components/ui/(orcomponents/ui/withoutsrc/), copies the shared themelib/kit.tsx, and runsnpx expo installfor packages likereact-native-svgandexpo-haptics. - Open the copied file to confirm the export name and props, then import it with the alias:
import { BottomSheet } from '@/components/ui/bottom-sheet'; - Use only props that exist. Follow the examples from
view_itemor the docs pagehttps://expokit.in/docs/components/<name>.
Theming
Components read colours, radius and light / dark from useKit(). To re-skin all of them, wrap the app once:
import { KitProvider } from '@/lib/kit';
<KitProvider accent="#6366f1" radius={14}>{children}</KitProvider>
scheme="light" | "dark" | "system" forces a mode. In your own UI next to ExpoKit components, use
const { colors, radius } = useKit() instead of hard-coded colours so everything matches.
Pro items
Items marked PRO need an ExpoKit Pro plan. If add says "not logged in", ask the user to run
npx @expokit/cli@latest login themselves (token from https://expokit.in/account). Never ask
for the token in chat, and don't write a look-alike of a Pro component instead.
Don'ts
- Don't
npm install expokitor import fromexpo-kit— the code lives in the app. - Don't overwrite files the user edited:
addkeeps changed shared files unless you pass--force(ask first). - Don't add Reanimated, Skia or Gesture Handler just for ExpoKit — it doesn't need them.