Files

HTML Elements Example

Supports Expo iOS Supports Expo Android Supports Expo Web

🚀 How to use

  • Install with yarn or npm install.
  • Run yarn start or npm run start to try it out.

Launch

Deploy on all platforms with Expo Application Services (EAS).

  • Deploy the website: npx eas-cli deploy — Learn more
  • Deploy on iOS and Android using: npx eas-cli build — Learn more

📝 Notes

Not all HTML elements are supported yet, notable <button>, <form>, <label>, <img>, and <input> are not supported. Use Expo-equivalents for these elements.

This example combines the @expo/html-elements Babel plugin and nativewind which enables CSS-like styling.

You can write pure HTML elements which are converted to native views at build time.