# Black hole dark mode

Dark mode toggle. The sun in the toggle collapses into a ray-traced black hole that bends the settings page around it and takes the light with it.

Try it: Flip the toggle. Then drag the black hole over the other controls.

It runs live at https://beamline.io/experiments/event-horizon, in a desktop browser. Claude Fable 5.2 built a first version of all 46 in one night and rebuilt about two dozen the next day. We asked how far a button could go, and nobody said stop. None of them is in the Beamline kit.

The real one: [Theme switch](https://beamline.io/components/theme-switch). The light/dark control: the page changes in one of four transitions starting from the button (reveal, eclipse, split, rise), and the icon turns between sun and moon. Free, and it behaves. You get editable React source in your own repo.

[All experiments](https://beamline.io/experiments).

Part of [Beamline UI: polished, editable React components and complete screens for custom applications](https://beamline.io/). [Build your own style from any look; tokens, fonts, radii, motion; not only colours](https://beamline.io/docs/customize).
