
Expo Examples
FreeOfficial integration examples for Expo apps.
Free · Opens the source repo
What Expo Examples does
Expo Examples is a collection of around 70 integration examples provided by Expo, designed to help developers implement various third-party libraries and services in their Expo applications. Each example is structured around a specific library or service, such as Stripe, Clerk, or Supabase, and is intended to serve as a reference for best practices in integrating these tools. The examples are not complete applications but rather managed projects that focus on demonstrating the integration process without the complexities of native setup, which is handled through Expo's configuration plugins.
The primary use case for Expo Examples is to provide developers with a canonical integration pattern that can be adapted to their existing projects. Users can explore the examples to understand the necessary dependencies, configuration settings in app.json, and the minimal code required to wire up the integration. This approach allows developers to avoid the pitfalls of starting from scratch and ensures that they are using the latest practices aligned with the current Expo SDK.
Expo Examples supports two main modes of use: inspiration/adaptation and scaffolding. In inspiration mode, developers can study an example to see how Expo handles a specific integration and then apply those patterns to their own applications. In scaffolding mode, users can create a new project directly from an example, streamlining the setup process for new applications. The skill also emphasizes the importance of non-destructive adaptation, ensuring that existing project configurations are preserved while integrating new features.
For developers looking to integrate third-party services into their Expo applications, this skill provides a valuable resource. By leveraging the examples, they can quickly find the right patterns and configurations needed for successful integration, saving time and reducing the likelihood of errors in their implementation.
When to use it
Use this skill when you need to integrate a specific library or service into your existing Expo app or when starting a new project and want a proven integration pattern.
When not to use it
This skill is not suitable for complete application development or when you need a fully functional app rather than just integration patterns.
What you can build with it
Integrating Stripe for Payments
A developer wants to add payment processing to their Expo app and uses the `with-stripe` example to implement the integration.
Starting a New Project with Clerk Authentication
A team is building a new Expo app and uses the `with-clerk` example to scaffold their project with authentication features.
Adapting an Existing App to Use Supabase
A developer has an existing Expo app and looks at the `with-supabase` example to learn how to integrate Supabase for backend services.
How to install Expo Examples
View source1. Install with the skills CLI
npx skills add expo/skills/expo-examples --agent claude-code2. Or install it manually
Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.
Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs
Inside SKILL.md
Written by expoExpo Examples
expo/examples is Expo's official library of ~70 integration examples — directories named with-<library> (e.g. with-stripe, with-maps), each built around one library or service. These are not full apps: they're managed projects (no ios//android/ dirs — native setup is via config plugins), and the typical one is a single screen of ~100–200 lines. Mine them for the canonical integration pattern — the dependency set, app.json config plugins, and minimal wiring Expo maintains against the current SDK — and adapt that into the user's app. Don't expect to lift an application architecture from them.
Reach for an example before hand-rolling an integration. (Kinds — full-stack, showcases, starters — are noted in ./references/catalog.md.)
Two modes
- Inspiration / adapt (most common) — the user already has a project. Find the matching example, read its key files, and apply the pattern to their code.
- Scaffold — greenfield. Start a fresh project directly from the example.
Workflow
1. Find the right example
Map the user's need to an example name (e.g. payments → with-stripe, auth → with-clerk). ./references/catalog.md is a categorized snapshot for fast triage — but it drifts, so confirm against the live list:
# Live example names:
gh api repos/expo/examples/contents --jq '.[] | select(.type=="dir" and (.name|startswith(".")|not)) | .name'
# Aliases (renamed) + deprecated (dead/moved) examples — check before recommending:
gh api repos/expo/examples/contents/meta.json --jq '.content' | base64 -d
meta.json is the source of truth for what's renamed or dead (deprecated examples are removed from the repo tree but still listed here, each with a message). If an example is in its deprecated map, don't recommend it — follow the message to the modern path. If it's in aliases, use the destination.
2a. Inspiration mode — study without touching the user's project
The common case: the user already has an app and wants to see how Expo does something. Read the example as reference and apply the patterns by hand — never scaffold an example on top of their project.
First, list the whole example in one call. Integration code is often nested (e.g. Stripe's server routes live in app/api/), so a one-level listing misses the important files:
gh api 'repos/expo/examples/git/trees/master?recursive=1' \
--jq '.tree[].path | select(startswith("with-stripe/"))'
Then read the high-signal files first: README.md (setup) → package.json (deps) → app.json (config plugins / permissions) → the integration code the manifest revealed → .env (required secrets). Per file:
gh api repos/expo/examples/contents/with-stripe/utils/stripe-server.ts --jq '.content' | base64 -d
# No gh? Raw URL (branch is master):
curl -s https://raw.githubusercontent.com/expo/examples/master/with-stripe/utils/stripe-server.ts
Reading more than a couple of files? Many integrations are spread across server routes, a client provider, and config (Stripe is). Skip the per-file calls — pull the whole example into a throwaway/gitignored dir (not the user's project) and read it freely with Grep/Read, then apply by hand:
npx degit expo/examples/with-stripe /tmp/expo-ref/with-stripe # clean copy, no git history
# fallback without degit (sparse-checkout, no full ~64 MB clone):
git clone --depth 1 --filter=blob:none --sparse https://github.com/expo/examples.git /tmp/expo-ref/examples \
&& (cd /tmp/expo-ref/examples && git sparse-checkout set with-stripe)
Read from there with Grep/Read; delete the scratch dir when done.
2b. Scaffold mode — new project from an example
npx create-expo --example with-stripe # short form: npx create-expo -e with-stripe
bun create expo --example with-stripe # with bun
3. Adapt into the user's app — non-destructively (critical)
When the user already has an app, add only what the example introduces; never overwrite their setup.
- Version-align — don't copy pinned versions. Examples track the latest SDK, so their
package.jsonpins won't match an older project. Add only the missing deps withnpx expo install <pkg>(it resolves SDK-correct versions) instead of copying exact versions. - Merge config, don't replace it. Add only the
app.json/app.config.*plugins and permissions the example introduces that the user lacks — keep their existing config block intact. - Port the integration code.
- Recreate env vars from the example's
.envshape — it holds placeholders, never working secrets.
Done when the integration code is ported and every dependency, config plugin, permission, and env var it needs is accounted for in the user's app — not when it merely looks wired up.
Gotchas
- Default branch is
master, notmain(matters for raw URLs and sparse checkout). - Single-click deploy. Every example has a launch URL:
https://launch.expo.dev/?github=https://github.com/expo/examples/tree/master/<example>.
Related skills
- Tailwind / NativeWind styling →
expo-tailwind-setup - Native UI components (@expo/ui package) →
expo-ui - Styling and native-feeling screens →
expo-native-ui - Navigation and routing →
expo-router - Authoring a native module →
expo-module - Upgrade the SDK before adopting a latest-SDK example →
expo-upgrade
References
./references/catalog.md— categorized snapshot of the example library for fast triage.
Submitting Feedback
If you encounter errors, misleading or outdated information in this skill, report it so Expo can improve:
npx --yes submit-expo-feedback@latest --category skills --subject "expo-examples" "<actionable feedback>"
Only submit when you have something specific and actionable to report. Include as much relevant context as possible. If an AI agent repeatedly failed or the user had to take over an Expo task, load the expo-skill-feedback skill and follow its eval-candidate flow instead of reusing the command above.
Frequently asked questions about Expo Examples
Similar skills
WinMD API Search
Easily find and explore Windows desktop APIs.
WebMCPify
Transform any web app into an agent-ready platform.
Phoenix Tracing
Instrument LLM applications with OpenInference tracing.
Foundry Hosted Agent CopilotKit
Guidance for developing agentic web apps on Azure.
Power Automate Foundation
Connect AI agents to Power Automate seamlessly.
Power Automate Flow Builder
Efficiently build and deploy Power Automate flows programmatically.
