Reusable component libraries for React and React Native, a game engine with free games, developer CLIs, and 70+ free online tools — all in one monorepo.
- React components — accessible, themeable components built on HeroUI + Tailwind CSS v4
- React Native components — matching API built on HeroUI Native + Uniwind
- Game engine & games —
@nayan-ui/enginefor Expo and web, plus private@nayan-ui/gamesplayable on nayanui.com/games - CLI — scaffold Vite / Expo / games projects, generate sitemaps and robots.txt
- AI code reviewer — PR reviews, vulnerability scans and auto-fixes with Codex or Claude Code
- Online tools — PDF, image, JSON, XML, text, SEO and developer tools plus a browser video editor at nayanui.com
| Package | Version | Description |
|---|---|---|
| @nayan-ui/react | React component library built on HeroUI + Tailwind CSS v4 | |
| @nayan-ui/native | React Native component library built on HeroUI Native + Uniwind | |
| @nayan-ui/engine | Game engine for React Native and web | |
| @nayan-ui/games | Private | Games built on the Nayan engine (private, not published to npm) |
| @nayan-ui/cli | CLI for project scaffolding, sitemap & robots.txt generation | |
| @nayan-ui/ai | AI-powered code reviewer using Codex & Claude Code agents |
@nayan-ui/engineand@nayan-ui/gamesare developed in a separate repository.@nayan-ui/gamesis a private package: it is not published to npm and is bundled into the website as a tarball (packages/website/scripts/nayan-ui-games.tgz) by the Docker publish workflow.
packages/website (@nayan-ui/website) is the Next.js app behind www.nayanui.com. It hosts the component docs, games, devtools docs, the online tools and the video editor. It ships as the Docker image ursnj/nayanui (port 7100).
| Example | Description |
|---|---|
| examples/vite | React + Vite + Tailwind CSS v4 + Nayan UI |
| examples/nextjs | Next.js + Tailwind CSS v4 + Nayan UI |
| examples/expo | Expo + Uniwind + Nayan UI native |
| examples/games | Nayan Game Engine games for Expo and Vite |
npx @nayan-ui/cli new my-app -t vite
cd my-app
npm install
npm run devnpx create-next-app@latest my-app
cd my-app
npm install @nayan-ui/react
npm install -D @tailwindcss/postcss tailwindcss
npm run devSee examples/nextjs for full setup with transpilePackages and @tailwindcss/postcss.
npx @nayan-ui/cli new my-app -t expo
cd my-app
npm install
npx expo startnpx @nayan-ui/cli new my-game -t games
cd my-game
bun install
bun run webnpm install -g @nayan-ui/ai
nayan-ai review # review a pull request
nayan-ai scan # scan dependencies for vulnerabilitiespackages/
react/ @nayan-ui/react — React component library
native/ @nayan-ui/native — React Native component library (+ example app)
cli/ @nayan-ui/cli — scaffolding & SEO CLI
ai/ @nayan-ui/ai — AI code reviewer CLI
website/ @nayan-ui/website — nayanui.com (Next.js)
examples/ vite, nextjs, expo, games starter projects
.github/ publish workflows (npm + Docker)
scripts/ local publish scripts (Docker)
This is a Bun workspace monorepo.
bun install| Command | Description |
|---|---|
bun run react:dev |
Watch-build the React package |
bun run react:build |
Build the React package |
bun run native:build |
Build the Native package |
bun run native:typecheck |
Type-check the Native package |
bun run native:example |
Run the Native example app |
bun run cli:build |
Build the CLI |
bun run ai:build |
Build the AI reviewer |
bun run website:dev |
Run the website in development |
bun run website:build |
Production build of the website |
bun run website:start |
Serve the production build on port 7100 |
bun run format |
Format the codebase with oxfmt |
bun run clean |
Remove node_modules and build outputs |
- npm packages — run the Publish npm packages workflow and select the packages to release (supports dry run). Uses npm trusted publishing, no token required.
- Website — run the Publish website docker images workflow to build and push
ursnj/nayanui:latest. Requires thePLAYTURA_TOKENandDOCKER_HUB_TOKENrepository secrets. Or publish it from your machine withbun run docker:publish(needs Docker, a playtura checkout at../playturaor--playtura <dir>, anddocker loginas ursnj;--dry-runbuilds and checks without pushing,--helplists the options).
For detailed documentation, component APIs, examples, and guides, visit www.nayanui.com
We welcome contributions! See the contribution guide to learn how to contribute to the repository and development workflow.
MIT
Developed with ❤️ by Niranjan Reddy Devasani