Skip to content

IsoraIsometric scenes for React

Lay out offices, factories and cities in a GUI editor, render the saved JSON as an SVG React component, and let people walk, sit and work on their own.

An isometric office rendered by Isora, with people working at their desks

Install ​

bash
npm install @isora/core @isora/react @isora/assets
tsx
import { createRegistry, parseScene } from '@isora/core'
import { IsoScene } from '@isora/react'
import { officialPacks } from '@isora/assets'
import sceneJson from './scenes/office.isora.json'

const scene = parseScene(sceneJson) // validates the JSON saved by the Studio
const registry = createRegistry(officialPacks)

export function Office() {
  return <IsoScene scene={scene} registry={registry} playBehaviors showActivities />
}

Next: Getting started · Concepts · API reference

Demos ​

Everything below runs in your browser from this site — no server.

Released under the MIT License.