component
Window
Window with frame and translucent pane.
Add it
npx @runek/cli add window
Pulls @runek/core@^0.13.0.
Use it
import { Window } from './runek/Window'
<Window position={[0, 0, 0]} />
Props
export interface WindowProps {
position?: Vec3
rotation?: Vec3
width?: number
height?: number
/** Frame bar thickness, in units. */
frame?: number
depth?: number
color?: string
glassColor?: string
}
Registry manifest
registry manifest /r/components/window.json Self-contained JSON: inlined source plus resolved dependencies, exactly whatrunek add window fetches.
Browse the whole catalog in the gallery →.