expo/skills · Official

use-dom

All-time #738 Hot #1222 First seen Jan 19, 2026
8-week activity · all time api

Installation

$ npx skills add https://github.com/expo/skills

Summary

  • Run web-only libraries in Expo apps by rendering them in webviews on native and as-is on web.
  • Supports any React web library (recharts, react-syntax-highlighter, canvas, WebGL) without modification by wrapping it in a DOM component file with the 'use dom'; directive Passes serializable props and async functions from native to webview, enabling bidirectional communication between native and web contexts Includes webview configuration options via the dom prop: scroll control, safe area behavior, manual sizing, and style overrides Works with Expo Router navigation APIs; router state hooks require passing values as props from native parent components Renders in WKWebView on iOS, WebView on Android, and as standard React on web with identical code

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Security audits

Partner security reviews for this skill.

agent-trust-hub SAFE

Analyzed Feb 17, 2026

The skill provides documentation for Expo DOM components. It describes a bridge between web and native code that creates a potential indirect prompt injection surface.

snyk LOW

Analyzed Feb 17, 2026

No issues detected.

socket Score 0.9000 · 0 alerts

Analyzed Mar 18, 2026

  • license 1
  • maintenance 1
  • quality 0.9
  • supply chain 1
  • vulnerability 1

0 alerts

Also in this package

Other skills from expo/skills · top by installs.

npx skills add https://github.com/expo/skills

Browse all from expo/skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 2.5K
License LICENSE
Default branch main
Open issues 21
Status Active

History

  1. First seen on skills.sh
  2. First recorded snapshot · 30,945 installs