expo-design-system

Build and audit token-based design systems for Expo React Native apps.

Updated Sep 8, 2026
One-click install
npx skills add https://github.com/bmiit145/leadBee --skill expo-design-system-bmiit145
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: expo-design-system
Source: https://github.com/bmiit145/leadBee/tree/main/mobile/.agents/skills/expo-design-system
Command: npx skills add https://github.com/bmiit145/leadBee --skill expo-design-system-bmiit145

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Expo apps built quickly or with AI assistance often end up with hardcoded colors, arbitrary spacing, inconsistent typography, and one-off components scattered across screens, making them look generic and hard to maintain. This Skill establishes a single visual source of truth and provides tools to detect and fix design-system drift. ## Core Features & Use Cases - Token Theme Structure: Defines where design tokens live (src/theme/) and what they cover: colors, spacing, typography, radius, shadows, and motion, with platform semantic colors and light/dark brand pairs. - Reusable Component Conventions: Specifies a component contract with variant, size, state, style-override, and accessibility props, plus rules for when a repeated view earns promotion into a shared component. - Drift Auditing: Ships grep-based checks, a scoring rubric, and an incremental adoption plan in references/audit.md, plus a catalog of 20 named AI-generated UI anti-patterns in references/native-slop.md. - Use Case: An app has hex colors and font sizes hardcoded across 30 screens. Run the audit to score the drift, derive tokens from the most frequent values, then migrate screen by screen until the audit comes back clean. ## Quick Start Ask the AI to audit your Expo app for design-system drift and set up a token theme under src/theme with reusable Button and ThemedText components.

Frequently Asked Questions about expo-design-system

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a design system in an Expo app?▼

Create a src/theme directory with token files for colors, spacing, typography, radius, shadows, and motion, re-exported from one index entry point. Then build reusable components in src/components with variant, size, and state props that consume only those tokens.

How do I audit a React Native app for hardcoded styles?▼

Run grep checks for hex colors, raw fontSize values, non-scale spacing numbers, and legacy shadow props outside the theme directory. Score each category as escapes per 100 source lines, then migrate incrementally starting with typography, one screen per commit.

Does this work with NativeWind, Tamagui, or Restyle?▼

Yes. If a styling library already exists in package.json, it is the source of truth and should be extended in its own idiom rather than replaced. For Tailwind projects, tokens live in global.css as CSS variables while the same scales and naming apply.

When should I extract a repeated view into a shared component?▼

Extract only when the view appears in two or more screens, has a nameable role like Card or EmptyState, and its props API is smaller than its implementation. Move it stepwise from inline JSX to the screen folder to src/components, never speculatively.

What are the signs an Expo app looks AI-generated?▼

Common tells include custom centered web-style modals, emoji used as icons, purple-gradient heroes, every row wrapped in a shadowed card, and uniform 16px padding everywhere. The references/native-slop.md catalog lists 20 named anti-patterns with grep checks and native replacements.

Should I wrap native components like Switch in my design system?▼

No. Platform components that already carry the design language, such as Switch, DateTimePicker, stack headers, and @expo/ui views, should not be wrapped just to route them through the system. Native styling is the design system for those controls.