Galaxy Marble
webglProA procedural galaxy sealed in a refracting glass sphere, with five looks and a custom palette.
Introductory price until 31 December 2026. €79 after that.
Preview
Live demo. The theme switches the demo itself.
Code
The code is locked
Galaxy Marble is part of Manniche UI Pro. A key unlocks the source of all 66 effects.
Buy · €49€49 · Introductory price until 31 December 2026. €79 after that.
- One-off payment
- One developer
- Sign in and create your key straight away
- No VAT (§ 19 UStG)
Have a key? Get the code with the CLI or MCP.
The key lives in MANNICHE_PRO_KEY, never in your code or a URL. How to set it up
npx shadcn@latest add @manniche-pro/galaxy-marbleclaude mcp add --transport http manniche-ui https://mikkelmanniche.dk/api/mcp --header "Authorization: Bearer $MANNICHE_PRO_KEY"Props
GalaxyMarbleProps
| Prop | Type | Default | What it does |
|---|---|---|---|
look | MarbleLook | 'auto' | What is inside the glass. spiral is a tilted disc with arms, nebula is big drifting clouds, core is one blazing bulge, deep-field is mostly stars. auto slowly melts from one to the next. |
anchor | string | '#120a2e' | The deep base colour of space inside the glass. Any CSS colour, var() and currentColor included. Keep it dark. |
accents | [string, string, string] | DEFAULT_ACCENTS | Three accent colours for arms, clouds and tinted stars. Any CSS colour. |
speed | number | 1 | Speed of the drifting nebulae and the twinkle. 1 is calm, 0 freezes the clouds. |
spin | number | 1 | Spin of the galaxy inside the glass. 1 is one turn in about a minute, negative turns the other way, 0 holds still. |
children | ReactNode | – | Drawn on top, centred in the marble. |
label | string | – | Accessible name. When set, the marble is exposed as an image; leave it out for pure decoration. |
className | string | – | Sizes the marble: it is a circle that fits the box, so give the box a width (and optionally a height). |
A11y
Screen reader
Decorative by default: the canvas is aria-hidden. A label prop gives it role="img" and that name. Children render outside the canvas, so they stay reachable by screen readers and keyboard.
Reduced motion
Under reduced motion one still frame is drawn and the loop does not run. Otherwise the loop runs only while on screen and the tab is visible.
Other
Without WebGL2, or after two lost contexts, a CSS orb shows instead. The WebGL context is released on unmount.