Skill library

Agent skill UI design

Gluestack UI V5

Shape a web interface around a coherent visual direction.

  • UI design
  • Design systems

Install the skill

Installation method

Run the command from your project root with Node.js and npm.

npx skills@latest add https://github.com/gluestack/agent-skills/tree/main/.agents/skills/gluestack-ui-v5 --skill gluestack-ui-v5 --agent claude-code --yes

Check this file in your project.claude/skills/gluestack-ui-v5/SKILL.md

Other ways to install
  • Choose an assistant interactively

    npx skills@latest add https://github.com/gluestack/agent-skills/tree/main/.agents/skills/gluestack-ui-v5 --skill gluestack-ui-v5

    Select your assistant and choose the project installation scope.

    Official instructions

The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. Use an already initialized Gluestack v5 Expo app with its `GluestackUIProvider` and existing Tailwind CSS v4 engine. The CLI copy was verified with 5.0.3 against Expo/UniWind. Start with the app’s declared Expo SDK and its compatible React Native version.

View operation manual

What this skill helps with

  • Shape a web interface around a coherent visual direction.

Good for

  • Visual direction
Skill name
gluestack-ui-v5
Scenario
Add one button to an existing Expo app
Deliverable
A single project-owned Button, a semantic variant mapped to the existing theme, and a short changed-files list.
Skill name
gluestack-ui-v5

Define a component task with an observable result

A request with an unclear outcome

Reinitialize the app and add every Gluestack component to get one button.

Initialization and bulk additions can affect providers, tooling and copied components beyond the single action.

A workflow with observable results

  1. Confirm the engine and target folder
  2. Copy or reuse one Button
  3. Check the copied API and native preview

Gluestack UI v5 operation manual

Use the Gluestack CLI to copy one component into your project and style it with the app’s semantic v5 tokens.

Replace the bracketed details with your own project and target.

  1. Confirm the engine and target folder

    Inspect the provider and any existing project-owned Button.

    Prompt · Step 1
    Use `gluestack-ui-v5` for [Expo screen action]. Read the bundled `setup/SKILL.md` and the published Button API. Identify the app’s styling engine, provider location, project package manager, and any existing Button file. If a Button is missing, list the single-component add command and expected mutation paths for approval.
  2. Copy or reuse one Button

    Read the copied component’s variants before picking a style.

    Prompt · Step 2
    Use `gluestack-ui-v5` on [approved Expo action]. Reuse the current Button if installed. Otherwise, in the approved app root use the pinned CLI command `npx gluestack-ui@5.0.3 add button` with the project’s package manager selection and avoid overwriting an existing component. Read the local Button definition. Apply its supported outline variant and size with ButtonText for the secondary action, retaining existing onPress and disabled wiring. Show which files and dependencies changed.
  3. Check the copied API and native preview

    Compare light and dark rendering in the project’s target runtime.

    • Only the approved Button and required dependency changes appear in the diff.
    • The local file declares the chosen variant and the native preview verifies interaction.
    Prompt · Step 3
    Use `gluestack-ui-v5` to check [local Expo screen]. Confirm the import resolves under the app’s provider folder and the package references required by that copied component resolve. Run the app’s chosen device or simulator preview, check the label and theme tokens in both modes, then press the enabled and disabled states to verify only the enabled button runs the action. Record which device or runtime you actually used.

Find the relevant rule

Point the assistant to the installed Skill and a specific issue.

The generated variants differ from the docs exampleReference
Command or reference
components/SKILL.md
Examples
Read the local variant and size definitions before choosing props.

Gluestack UI v5 troubleshooting

Does the add command create an npm library import?

The CLI copies owned component files beside the existing provider. Import the Button from that actual project path and inspect the package references used by the copied file.