← EldritchUI — the showcases

Download EldritchUI

Download eldritchui-2.7.0.zip
Version 2.7.0 · ~1 MB · 107 files · MIT license · no build step, no install

One zip holds everything needed to use EldritchUI in your own project. It has no dependency beyond the bundled three.js, ships zero image assets (every texture is generated procedurally at runtime), and runs from any static file server.

What's inside

src/The library — 64 ES modules behind one public entry, src/eldritch-ui.js.
vendor/three.js (module + core), pinned and bundled so the library works offline as-is.
types/Hand-written TypeScript declarations for the whole public API.
docs/API reference, cookbook of runnable recipes, theming, extending, style guide, gallery index, migration notes.
examples/All thirty showcase pages plus a linked hub (examples/index.html) — each one a plain HTML file you can copy from.
README.mdOrientation, the quickstart, and the full package index.
LICENSEMIT, © 2026 EldritchUI Authors; three.js is separately MIT.

Get running in three steps

  1. Unzip anywhere.
  2. Serve the folder over HTTP — ES modules do not load from file://. Any static server works: python -m http.server from the bundle root is enough.
  3. Open examples/ in the browser, start from starter.html, and build from there.

Quickstart

<script type="importmap">{ "imports": { "three": "./vendor/three.module.js" } }</script>
<script type="module">
  import { Eldritch, Window, Button, EldToast } from './src/eldritch-ui.js';

  Eldritch.init();
  const win = new Window({ title: 'The First Door', width: 300, height: 140,
    content: (c) => {
      const b = new Button('Knock', { onClick: () => EldToast.show('Something answers.') });
      b.setPos(12, 12);
      c.add(b);
    } });
  win.setPos(80, 80);
  Eldritch.engine.layers.windows.add(win);
</script>

Add ?debug=1 to any page for the engine overlay: layout bounds, the hit chain, clip rects, and the perf HUD.

License

EldritchUI is MIT licensed (© 2026 EldritchUI Authors) — use it in commercial and non-commercial projects alike. The bundled three.js is separately MIT licensed (© Three.js Authors); its license header is preserved in the vendored files.