Nayan UI
Build apps.Make games.
Build interfaces and 3D games for the web, iOS and Android. Use one TypeScript API for React and React Native, with rendering powered by Rust.
bun add nayan-ui
import { GameView, useWorld } from 'nayan-ui/games';
export function Scene() {
const world = useWorld(32, (world) => {
world.spawn({ mesh: 'cube', color: '#699cff' });
});
return world ? <GameView source={world} style={{ width: '100%', height: 240 }} /> : null;
}Explore Nayan UI
Nayan Game Engine
Render 3D scenes, add physics, load glTF models and make objects respond to input.
Nayan Components
74 controls, hooks and examples for building interfaces.
Nayan Modules
37 entry points for tasks like storage, audio and drawing.
Nayan Games
Play 50+ arcade, action, strategy and puzzle games in your browser.
Nayan Video Editor
Trim clips, layer tracks and export up to 4K. Your footage stays on your device.
Developer Tools
Browse 108 guides for PDFs, images, structured data, text and SEO.
Try the components
Use the live preview to try buttons, forms, feedback and labels. Open the reference to copy a complete example.
- Shared controls for React and React Native
- Theme tokens for light and dark mode
Press the button to update the count.
0 presses
<NButton onPress={increment}>Primary</NButton>Docs Games
Play in your browser
Play a quick round or see how a complete game is built.
Build your first game
Run the Car Racing example with Expo and Vite, then build on it.
Follow the tutorialgit clone --depth 1 https://github.com/ursnj/nayan-ui.git
cd nayan-ui
bun install --frozen-lockfile --filter nayan-ui --filter @nayan-ui/example --filter '@nayan-example/*'
bun run engine:build
cd packages/example
bun run webGet started with Nayan UI
Follow the installation guide for React or React Native. The engine is open source and MIT licensed.


