Web-only starter for Platform Blocks — a React Native Web single-page app built with Expo. Every component renders with the same API it has on iOS and Android, so your code stays portable if you ever go native.
Click Use this template on GitHub to create your own repository from it, or scaffold directly:
npx create-expo-app@latest my-app --template https://github.com/platform-blocks/web-templatenpm install
npm run webBuild for production:
npx expo export --platform webThe SPA lands in dist/, ready for any static host.
@platform-blocks/uiwith all required peer dependencies installedPlatformBlocksProviderwired up inApp.tsx— theming, dark mode (follows the OS setting), overlays all work out of the box- TypeScript in strict mode
- Getting started — installation, provider, first component
- Components — every component with live demos
- universal-template — native apps plus a statically rendered website from one codebase
MIT