For mobile web and PWAs

Mobile web screens for React apps and PWAs.

Every one of the 100 gluestack screens has a prompt that works in React for the mobile web. Your coding agent builds the screen in HTML and CSS, in the setup you already have, ready to install as a PWA.

Works with Claude Code Cursor Codex VS Codeand other coding agents
Social feed, a gluestack screen
Product detail, a gluestack screen
AI chat, a gluestack screen
Product detail, social feed and ai chat: gluestack screens with prompts that work on the mobile web.

How it works

One prompt, one mobile screen.

Three steps, in the web project you already have.

  1. 01

    Open your project in an agent

    Open your web project in Claude Code, Cursor, Codex or any coding agent that can edit files and run a build.

  2. 02

    Copy a screen’s prompt

    Pick a screen in the catalog, copy its prompt and paste it in. Or connect the MCP server and ask for a screen by name.

  3. 03

    It builds the screen on the mobile web

    It writes React components with HTML and CSS, mobile first, with both color palettes and the motion. Then it runs your build to check its work.

$ claude

> Add this screen and make it the first one the app opens. [Pasted text #1 +547 lines]

⏺ Write(src/screens/SignIn.tsx)

⎿ The Sign in screen, in React

⏺ Bash(npm run build)

⎿ ✓ Compiled successfully

⏺ Sign in is now the first screen, built in React for the mobile web.

Or let the agent find it

“Add a gluestack wallet screen to the app, in our brand green.”
With the gluestack MCP server connected, your agent searches all 100 screens, fetches the prompt and builds it on the mobile web.Set up the MCP server

Tips

Getting the best result on the mobile web.

What we would tell a teammate.

  • Respect the safe areas

    Add viewport-fit=cover to the viewport meta tag, then pad headers and tab bars with env(safe-area-inset-*), so the installed app clears the notch and the home indicator.

  • Follow the system theme

    Every screen has a light and a dark palette. Keep them in CSS custom properties switched by prefers-color-scheme, and set a theme-color for each, so the browser bar matches.

  • Make it installable

    A web app manifest with icons and display set to standalone lets people add the app to their home screen. Add a service worker for offline use, through your framework’s PWA plugin if it has one.

  • Size it for phones

    Use 100dvh rather than 100vh, so browser bars do not cut off the bottom. On wider screens, keep each screen in a centered column instead of stretching it.

  • Keep resets out of the way

    A broad CSS reset can outrank a screen’s own styles and hide a button or its label. Wrap resets in :where(), or use CSS modules, and check light and dark once the screen runs.

  • Say your app’s name

    Agents sometimes swap the sample brand for your project’s name, or keep it. Name your app and its color in the request, or pass appName and accent through the MCP server.

  • Start with Sign in

    It is free, quick to build and covers the basics: fields, buttons, both palettes and a little motion. A good way to see how your setup does.

Questions, answered.

What do I get?+

A prompt your coding agent follows to build the screen in React, in your web project: the layout, both color palettes, the motion and notes on fitting it to your app. The agent writes the code, so it fits the way your project is built.

Is it a native app?+

No, it is a web app: React components with HTML and CSS, running in the browser. Installed as a PWA, it opens full screen from the home screen like an app. For store apps, the iOS, Android, Flutter and Compose Multiplatform pages build the same screens natively.

Which React setups does it work with?+

Any: Vite, Next.js, Remix or your own. The agent follows your project’s routing, styling and components, whether that is CSS modules, Tailwind or plain CSS.

Will it work on desktop too?+

Yes. The screens are designed for phones first. Ask the agent to keep them in a centered column on wide screens, or to use two panes where that suits the screen.

Will it match my app?+

Yes. The prompt asks the agent to use your project’s theme, components and navigation where it has them, to swap the sample data for yours, and to keep the layout and the motion. Set your app’s name and brand color on the screen’s page before you copy, or say them in the request.

Does Pro work the same?+

Yes. Free and Pro screens build the same way on the mobile web. Free screens cost nothing. Pro unlocks every screen for $6 a month, billed yearly.

Which agents can do this?+

Any coding agent that can read and edit your project: Claude Code, Cursor, Codex, GitHub Copilot in VS Code and others. With the gluestack MCP server connected, the agent can also search and fetch screens by itself.

Do I need gluestack-ui or anything else installed?+

No. The agent writes React components with HTML and CSS, in your project. Nothing from gluestack is installed, and nothing from gluestack runs in your app.