Resource
Registry source
The published registry is generated from this project and served with the documentation site. Inspect the index or install individual primitives into your own codebase.
Published files
These endpoints are part of the live site, so they stay aligned with the component examples documented here.
Configure the namespace
Add the registry to components.json. This keeps install commands short and makes the source explicit.
{ "registries": { "@pwa-ui": "https://pwaui.com/r/{name}.json" }}pnpm dlx shadcn@latest add @pwa-ui/pwa-provider @pwa-ui/app-shellDirect URLs remain supported when you do not want to configure a namespace.
pnpm dlx shadcn@latest add https://pwaui.com/r/app-shell.jsonInstall from GitHub
The public repository is also a source registry. Install from the default branch for evaluation, or use a release tag when you need reproducible source.
pnpm dlx shadcn@latest add pnewsam/pwa-ui/app-shellpnpm dlx shadcn@latest add pnewsam/pwa-ui/app-shell#v0.1.0-beta.1Import the base styles
Components that use PWA layout tokens install the shared stylesheet as a registry dependency. Import it once from your application's global entry point.
import "@/styles/pwa.css"Available items
PWAProvider, AppShell, SafeArea, BottomSheet, ResponsiveDialog, ActionSheet, NavigationBar, TabBar, KeyboardAvoidingView, lifecycle feedback components, and the shared hooks are published independently.