/panelui:paneluifrom panelui
Build React Native and Expo UIs with PanelUI — adding components, theming, composing overlays and forms, and debugging styling issues. Applies when working in an Expo or React Native project with panelui-native installed or a panelui.json.
Ships in panelui. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A React Native component library for Expo, styled with Tailwind CSS through Uniwind and animated on the UI thread with Reanimated. Pure TypeScript, no native modules, runs in Expo Go.
Run every CLI command with the project's own runner —
npx panelui-cli@latest,pnpm dlx panelui-cli@latestorbunx panelui-cli@latest, matching itspackageManager. Examples below usenpx.
If the user says nothing is styled, className does nothing, the screen is blank, or Uniwind
cannot find --color-background: go straight to setup.md. There is no error for
this and it is a wrong path in metro.config.js almost every time. Do not start reading component
code.
There are two ways in and they are both fully supported, so do not assume:
npx panelui-cli@latest mcp # the MCP server, if the agent supports it
or, without MCP, read package.json and look for panelui.json:
| What you find | What it means | How to import |
|---|---|---|
panelui-native in dependencies | The package. The default. | import { Button } from 'panelui-native' |
A panelui.json | Source copied into the repo, owned and editable | import { Button } from '@/components/ui/button' |
| Both | Normal — the package, with one component forked | Whichever the file is |
If neither is there, the project has not installed it: npx create-panelui-app@latest for a new
app, or setup.md for an existing one. Do not hand-write component source into a
project that has not been set up — nothing will be styled, and the reason will not be obvious.
components/<slug>.md with its anatomy, every prop with its type and default, its variants and
its parts, generated from the library's TypeScript. Read the one you are about to use. A
remembered prop name usually is not right, and nothing here needs a network request.Frame + Frame.Panel + Frame.Row. A chat is
MessageScroller + Message. recipes.md has those screens written out. Reach
for a compound part before a View.bg-card,
text-muted-foreground, border-border. A literal breaks all six themes at once.Each links to a file with wrong/right pairs.
bg-card, not bg-neutral-900. No dark: overrides — the token
already knows, and dark: does not resolve at all inside the named themes.gap-*, never space-y-*. React Native has no space-*.className is for layout, not for restyling a component's colours or type.cn() for conditional classes, not template-literal ternaries.useCSSVariable, never by reading a hex out of the theme.h-[330px] in a file a running dev server started
before compiles to nothing — no error, no warning, the element silently loses the property.PanelUIProvider at the root, exactly one. Overlays render into its portal host; without
it Dialog, BottomSheet, Popover, Select and Toast mount and never appear.Card.Header inside Card, Select.Item inside
Select.Content. Using one outside throws with the part's name.open + onOpenChange, or run uncontrolled with defaultOpen. Do not
conditionally render an overlay to close it — it has an exit animation to finish.Field + Label + the control, not a View with a Text above it.Animated — the two do not compose, and core
Animated puts the work back on the JS thread, which is the thing this library is for.useAnimatedStyle, not state in an animation loop.tv() at module scope, never inside render.native alone is not enough — pass glass too.className and every token. The platform owns its look; spacing
has to come from the container.try cannot catch it.Six themes in three families — Panel, Moon, Grass — each in light and dark. A family sets its own
radius scale as well as its palette, so switching one changes the shape of the UI too. Switch
at runtime with useThemeMode(); named themes have to be listed in extraThemes in
metro.config.js first, and the dev server restarted. See theming.md.
npx panelui-cli@latest add bottom-sheet # copies the source in
npx panelui-cli@latest list # everything available
Nothing to install when the project uses the package — import it and go. Full command reference in cli.md; the MCP server and its tools in mcp.md.
The full list, with a line on each and a link to its reference, is in components.md. The common cases:
| Need | Use |
|---|---|
| An action | Button, or ButtonGroup for a segmented run or a split button |
| A panel from the bottom edge | BottomSheet |
| A modal | Dialog |
| A panel anchored to what opened it | Popover, or Menu for a list of actions |
| A value picked from a list | Select, or Combobox when it needs filtering |
| A search over something | SearchBar, whose results open above the field and above the keyboard |
| Text in | Input, Textarea, InputGroup, NumberInput, OtpInput, TagInput |
| A date or a time | Calendar, DatePicker, TimePicker, DateTimePicker |
| Form state and validation | Form + Field |
| A list row | Item, or Swipe when it has actions behind it |
| A settings screen | Frame + Frame.Panel + Frame.Row |
| A metric | Kpi |
| A series | LineChart, AreaChart, BarChart, PieChart, RingChart, and eleven more |
| A conversation | MessageScroller + Message, with Marker between turns |
| Assistant output | Response, Reasoning, Sources, Task, Plan, CodeBlock |
| Loading | Skeleton for layout, Spinner or Loader for work, Shimmer for streaming text |
| Nothing to show | EmptyState |
| A transient message | Toast |
| A hook, a utility, a primitive | hooks.md |
useCSSVariableinit, add, list, mcp, panelui.json, the registryEverything above is in this folder. The documentation is also on the web, as markdown, if a page
with every example is wanted: https://panelui.dev/llms.mdx/<group>/<slug>, indexed at
https://panelui.dev/llms.txt.
cli.md (opens in a new tab)components.md (opens in a new tab)components/accordion.md (opens in a new tab)components/ai-input.md (opens in a new tab)components/alert.md (opens in a new tab)components/animated-badge.md (opens in a new tab)components/area-chart.md (opens in a new tab)components/attachment.md (opens in a new tab)components/avatar-cropper.md (opens in a new tab)components/avatar.md (opens in a new tab)components/badge.md (opens in a new tab)components/bar-chart.md (opens in a new tab)components/bottom-sheet.md (opens in a new tab)components/breadcrumb.md (opens in a new tab)components/bubble-chart.md (opens in a new tab)components/bump-chart.md (opens in a new tab)components/button-group.md (opens in a new tab)components/button.md (opens in a new tab)components/calendar.md (opens in a new tab)components/camera.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
react-native, expo, component-library, tailwind, uniwind, reanimated
npx claudepluginhub panel-ui/panelui --plugin panelui4 skills in this plugin
/apparatusBuild an interactive explainer for a React Native or Expo app — a small isometric machine whose working is the idea being explained, drawn with react-native-svg, moved on the UI thread with Reanimated and Gesture Handler, and framed in a PanelUI card with a live readout. Use when someone asks to explain how something works inside an app (a spring animation, rate limiting, a cache, an engine, a cell, an algorithm), wants a how-it-works or onboarding illustration that responds to touch, an interactive diagram or technical drawing on a phone screen, or a "show me how X works" figure, even if they never say "isometric" or "machine". Not for charts of data (use the chart components) or for the web./logo-makerDesign an original app logo — a compact mascot or symbol that stays readable at 32 × 32 and works as an icon at every size. Use when asked to create, design or generate a logo, app icon, brand mark, mascot or avatar for a product, whether or not an image generator is available. Produces either a vector file the project can keep or a prompt for an image model, from one shared set of design rules./panelui-webBuild React web UIs with PanelUI's web collection — adding its components from the shadcn registry or from npm, colouring them from the theme, and composing them into framed panels. Applies when working in a React project that has shadcn/ui set up with a @panelui registry or has panelui-web installed, when the user mentions PanelUI on the web, or when they ask for a dotted globe, a KPI card, a kanban board, a node graph, an activity grid or a feedback dialog in React.Other plugins' skills for the same job