Skip to content
Mobile
Skill

/panelui

Build React Native and Expo UIs with PanelUI — adding components, theming, composing overlays and forms, and debugging why something is unstyled. Applies when working in an Expo or React Native project that has panelui-native installed or a panelui.json, when the user mentions

From plugin
panelui
1k6 skills

Claude Code

$ npx -y skills add panel-ui/PanelUI --skill panelui --agent claude-code

SKILL.md

panelui.SKILL.md
name: panelui
description: Build React Native and Expo UIs with PanelUI — adding components, theming, composing overlays and forms, and debugging why something is unstyled. Applies when working in an Expo or React Native project that has panelui-native installed or a panelui.json, when the user mentions PanelUI, or when they ask for a bottom sheet, dialog, chart, chat transcript, form or any other screen UI in React Native.
license: MIT
compatibility: Expo SDK 57+ and React Native 0.86, with Uniwind (Tailwind CSS v4 for React Native) and Reanimated. Not for the web — these components are React Native only.
metadata:
  author: Khalid Abdi
  version: 1.5.0
allowed-tools: Bash(npx panelui-cli@latest *), Bash(pnpm dlx panelui-cli@latest *), Bash(bunx panelui-cli@latest *)

PanelUI

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@latest` or `bunx panelui-cli@latest`, matching its `packageManager`. > Examples below use `npx`.

Is anything styled?

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](./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.

First, find out how this project consumes it

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](./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.

Principles

1. **Look before you build.** [components.md](./components.md) lists every one of them, and there are more than a hundred. Search it before writing custom UI — a "custom" sheet, picker, chart or chat transcript is almost always one that exists. 2. **Read the props from this skill, not from memory.** Every component has a file at `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. 3. **Compose the parts.** A settings screen is `Frame` + `Frame.Panel` + `Frame.Row`. A chat is `MessageScroller` + `Message`. [recipes.md](./recipes.md) has those screens written out. Reach for a compound part before a `View`. 4. **Never hardcode a colour.** Every colour is a semantic token — `bg-card`, `text-muted-foreground`, `border-border`. A literal breaks all six themes at once.

Critical rules

Each links to a file with wrong/right pairs.

Styling → [rules/styling.md](./rules/styling.md)

  • **Semantic tokens only.** `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.
  • **Resolve a dynamic colour with `useCSSVariable`**, never by reading a hex out of the theme.
  • **A new arbitrary value needs a restart.** `h-[330px]` in a file a running dev server started

before compiles to nothing — no error, no warning, the element silently loses the property.

Composition → [rules/composition.md](./rules/composition.md)

  • **`PanelUIProvider` at the root, exactly one.** Overlays render into its portal host; without

it Dialog, BottomSheet, Popover, Select and Toast mount and never appear.

  • **Compound parts belong to their root.** `Card.Header` inside `Card`, `Select.Item` inside

`Select.Content`. Using one outside throws with the part's name.

  • **Overlays take `open` + `onOpenChange`, or run uncontrolled with `defaultOpen`.** Do not

conditionally render an overlay to close it — it has an exit animation to finish.

  • **A field is `Field` + `Label` + the control**, not a `View` with a `Text` above it.

Animation → [rules/animation.md](./rules/animation.md)

  • **Reanimated 4 only.** Never React Native's core `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.

  • **Shared values and `useAnimatedStyle`**, not state in an animation loop.
  • **`tv()` at module scope**, never inside render.

Native controls → [rules/native.md](./rules/native.md)

  • **"Native" means Liquid Glass on iOS.** `native` alone is not enough — pass `glass` too.
  • **A native control ignores `className` and every token.** The platform owns its look; spacing

has to come from the container.

  • **Never host elements inside a labelled native button.** It has no definite width, and the app

dies in native code where a JS `try` cannot catch it.

The theme

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 `useTheme

Read more
@panel-ui
Ships withpanelui

High-performance React Native and React components .

Stars on GitHub

Momentum

stars in total
1.0k
Star history of panel-ui/PanelUI on GitHub, a chart by star-history.com

Other skills on panelui.

dithercn

dithercn

Build any dithered visual with the dithercn engine (dither-core, in lib/dither) in a React or shadcn app. Use when the user wants…

@panel-ui@panel-uiInstall Skill
shieldcn-badges

shieldcn-badges

Create polished shieldcn README badges, badge groups, charts, headers, sponsors grids, and full README hero sections. Use when a…

@panel-ui@panel-uiInstall Skill
apparatus

apparatus

Build an interactive explainer for a React Native or Expo app — a small isometric machine whose working is the idea being…

@panel-ui@panel-uiInstall Skill
logo-maker

logo-maker

Design an original app logo — a compact mascot or symbol that stays readable at 32 × 32 and works as an icon at every size. Use…

@panel-ui@panel-uiInstall Skill
panelui-web

panelui-web

Build React web UIs with PanelUI's web collection — adding its components from the shadcn registry or from npm, colouring them…

@panel-ui@panel-uiInstall Skill

More skills from other plugins.

deep-code-review

deep-code-review

In-depth design-focused code review - understands codebase context before evaluating PR changes, posts structured feedback to…

expo12d53k
@expo@expoInstall Skill
modlens

modlens

Plug-in vision for text-only models. Hard rule: when a file path or URL with an image extension (.png, .jpg, .jpeg, .webp, .gif,…

modlens4w4.6k
@liustack@liustackInstall Skill
appllama-app-design-skill

appllama-app-design-sk…

Build native-feeling, benchmark-quality mobile app screens (Expo / React Native). Use when designing or implementing any mobile…

appllama2mo3.9k
@appllama@appllamaInstall Skill

Questions about panelui.

Which coding agents can use panelui?
panelui installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.