React
Import components from the React entry and the stylesheet once in your application. Components preserve a client boundary for server-component frameworks; initial text can render on the server. Supply an explicit date and place for deterministic server/client output.
A real 3D celestial website widget loads here. Positions, illumination and rotation are computed from the selected moment. Exact date and time controls remain available without WebGL.
The code for what is on screen
import { CelestialProvider, CelestialDateTimePicker, EarthWidget, MoonWidget } from 'skydial/react'
import 'skydial/style.css'
<CelestialProvider defaultDate={new Date('2026-06-01T12:00:00Z')}>
<CelestialDateTimePicker />
<EarthWidget />
<MoonWidget />
</CelestialProvider>A nested provider isolates time. Passing date, defaultDate or clock to an individual widget creates a local scope. Controlled dates without onDateChange are read-only. Selection callbacks may fire throughout gestures and animation; debounce callbacks that start expensive external work.