
expo-dom
Use Expo DOM components to run web code in a webview on native and as-is on web
by expoFree
Description
expo-dom is an agent skill from Expo's skills collection, listed on skills.sh. It helps an AI agent use Expo DOM components, which let web code run as it is inside a webview on native platforms while rendering as normal web code on the web. This makes it possible to use web-only React libraries, such as recharts for charts, react-syntax-highlighter, rich text editors or other libraries that depend on DOM APIs, inside an Expo app without changing them. The skill's guidance lists when to use DOM components: for web-only libraries, for migrating existing React web components to native without rewriting them, for complex HTML and CSS layouts that React Native cannot express, for iframes and embeds, and for canvas or WebGL content that is not available natively. It also lists when to avoid them, and it is written so the agent can migrate web code to native gradually, with a reference for the end-to-end migration of a whole app. A skill is a SKILL.md file of instructions, sometimes with scripts and reference notes, that an AI agent loads only when a task calls for it. The skill is listed as free on skills.sh.…
Highlights
- Runs web code in a webview on native
- Uses web-only React libraries in Expo
- Clear guidance on when not to use it
- Supports gradual migration of web code
Ratings & Reviews
No ratings yet
Be the first to rate expo-dom.
People also visit

expo-web-to-native
Migrate an existing web React app to a native iOS/Android app with Expo
expo-dom FAQ
What does the expo-dom skill do?
It guides an AI agent in using Expo DOM components, which run web code in a webview on native and render as-is on the web.
How do I install it?
Run: npx skills add https://github.com/expo/skills --skill expo-dom
Is it free?
Yes. The skill is listed as free on skills.sh.
Which libraries can it help with?
The skill gives recharts and react-syntax-highlighter as examples, along with rich text editors and other web-only libraries.
When should I avoid DOM components?
The skill has a section titled When NOT to Use DOM Components, which covers the cases where a native approach is the better choice.
What are the best expo-dom alternatives?
Popular alternatives to expo-dom include expo/use-dom, expo and eas-hosting. See all expo-dom alternatives




