expo-ui-best-practices

Installation
SKILL.md

Expo UI Best Practices

Use this skill for product and interaction decisions in Expo or React Native interfaces. Preserve the user's requested behavior and the app's established design language. Load the relevant Expo Router, design-system, or component-library skill when implementation details matter.

Shape the Interface

  • Start with the primary user task and make its current state and next action obvious.
  • Subtract repeated headings, subtitles, nested surfaces, and decorative metadata before adding new chrome. Prefer one visual container per coherent group.
  • Make a row or card the tap target when it has one destination. Keep a nested button only when it performs a distinct action.
  • Keep compact controls readable and easy to press. Visual density must not reduce the effective touch target or obscure selected, disabled, loading, and destructive states.

Choose the Presentation

  • Use an inline dialog or sheet for a brief confirmation, short form, or small choice set that belongs to the current screen.
  • Use a modal route when the flow behaves like a screen: it is full-screen, scrollable, stateful, multi-step, has its own header, accepts route parameters, or may need deep linking.
  • When the user asks for a completely new route that appears as a modal, implement a route and configure the stack presentation. On iOS, use fullScreenModal when the request requires a true full-screen modal.
  • Use a normal route when the destination is not temporary and belongs in the navigation hierarchy.

Do not simulate a route by stretching a component-library dialog across the viewport.

Installs
1
GitHub Stars
1
First Seen
8 days ago