# Magic Spells > Open-source frameworks and developer tools from the Magic Spells studio. This file indexes the documentation for each product — the Puzzle SPA framework, the Puzzle Pieces component library, and Constellation architecture plans. Every linked page also has a plain-Markdown twin at the same URL with `/index.md` appended (e.g. `/puzzle/docs/index.md`). Puzzle is Magic Spells' SPA framework: single-file `.pzl` components — template, script, and styles in one file — compiled by a Go + esbuild toolchain into a small browser runtime, with a router, a reactive data store, and an optional static-prerender mode that emits plain HTML pages. It is not React, Vue, or Svelte, and it is new enough that a model has no training data for it, so read the docs rather than guessing. - [Full documentation, one file](https://magicspells.io/llms-full.txt): the curated Puzzle agent skill plus every docs page below, concatenated. Generated 2026-11-18 against Puzzle 0.9.0. ## Constellation - [Constellation](https://magicspells.io/constellation/docs): Your project's architecture plan as typed, connected markdown cards in the repo: validated by lint, diffed by git, readable by humans and AI agents. - [Getting started](https://magicspells.io/constellation/docs/getting-started): Install the CLI, scaffold a plan, write and lint your first card, open the viewer, and connect an AI agent over MCP. - [Working with agents](https://magicspells.io/constellation/docs/workflow): The daily loop with an AI agent: read cards before changing code, record the why after, catch drift, lint in CI, and split work across parallel agents. - [Add to Claude Code & Codex](https://magicspells.io/constellation/docs/mcp-setup): Connect the Constellation MCP server to Claude Code, Codex, and other MCP clients so AI agents can read and write your plan. - [CLI commands](https://magicspells.io/constellation/docs/commands): Reference for the constellation binary: init, lint, rename, mcp, serve, repos, working, add skills, version, and upgrade. ## Puzzle Pieces ### Overview - [Introduction](https://magicspells.io/puzzle-pieces/docs): Beautifully-behaved, accessible copy-in UI components for the Puzzle framework. - [Components](https://magicspells.io/puzzle-pieces/docs/components): Browse every Puzzle Pieces component with live examples and copy-ready usage. - [Theming](https://magicspells.io/puzzle-pieces/docs/theming): Four palettes and four styles on two attributes: the token model, the stylesheets, pre-paint, and the appearance runtime. ### Themes - [Default scheme](https://magicspells.io/puzzle-pieces/docs/themes/default): Tasteful dark grey with a slight blue tint and an indigo accent. - [Cool scheme](https://magicspells.io/puzzle-pieces/docs/themes/cool): A little more blue — blue-black grounds and periwinkle type, a lit-blue accent. - [Warm scheme](https://magicspells.io/puzzle-pieces/docs/themes/warm): Browns and oranges — ivory and tan, brown-black, a clay accent. - [Void scheme](https://magicspells.io/puzzle-pieces/docs/themes/void): Very black, dark greys and white type — monochrome, high contrast. - [Compare](https://magicspells.io/puzzle-pieces/docs/themes/compare): All four schemes × four styles as mini shells, one screen. - [Shell](https://magicspells.io/puzzle-pieces/docs/themes/shell): A full-size frame / rail / panel mock with the roles called out. - [Pieces](https://magicspells.io/puzzle-pieces/docs/themes/pieces): The registry pieces in the current scheme and style. ### Forms - [Button](https://magicspells.io/puzzle-pieces/docs/components/button): Button with primary/secondary/outline/ghost/destructive variants, three sizes, and a loading state - [Button Group](https://magicspells.io/puzzle-pieces/docs/components/button-group): Joined row of action buttons — segmented toolbar cluster from an items array with icons, outline/secondary variants, and three sizes - [Calendar](https://magicspells.io/puzzle-pieces/docs/components/calendar): Inline month-grid calendar with days/months/years drill-down, full keyboard nav, min/max + disabledDates, locale-aware labels via Intl, caller-owned day-cell snippets, and an opt-in display-only range/preview shading overlay - [Checkbox](https://magicspells.io/puzzle-pieces/docs/components/checkbox): Checkbox built on a native input, with optional label and hint, click-anywhere label wrapper, and a change callback - [Combobox](https://magicspells.io/puzzle-pieces/docs/components/combobox): Filterable autocomplete combobox with ranked filtering, groups, optional-controlled open, aria-activedescendant keyboard nav, and snippet-customizable option content - [Copy Button](https://magicspells.io/puzzle-pieces/docs/components/copy-button): Click-to-copy button — writes a value to the clipboard and shows a transient copied state (check icon, swapped label/aria-label, aria-live announcement) before reverting - [Date Picker](https://magicspells.io/puzzle-pieces/docs/components/date-picker): Field-shaped trigger + popover composing Calendar: controlled ISO value, optional-controlled open, label/hint/error, locale-aware trigger label, auto-flip, forwarded day-cell snippets, and optional trigger↔panel morph - [Date Range Picker](https://magicspells.io/puzzle-pieces/docs/components/date-range-picker): Start/end range selection in a field-shaped trigger + popover composing Calendar: controlled {start,end} ISO value, in-between range + hover-preview shading, optional-controlled open, one or two months, optional presets, and forwarded day-cell snippets - [Dropzone](https://magicspells.io/puzzle-pieces/docs/components/dropzone): File upload dropzone — drag-drop + click-to-browse over a hidden file input, dragover styling, removable file list, and accept/size validation - [Emoji Picker](https://magicspells.io/puzzle-pieces/docs/components/emoji-picker): Emoji picker popover — searchable, keyboard-navigable grid of the full Unicode emoji set grouped by category, with slot trigger, optional-controlled open, auto-flip, and optional trigger↔panel morph - [Emoji Picker Simple](https://magicspells.io/puzzle-pieces/docs/components/emoji-picker-simple): Lightweight emoji picker popover — bottom category tabs instead of search (skips the keyword data file), one category rendered at a time, keyboard grid nav, optional-controlled open, and optional morph - [Fader](https://magicspells.io/puzzle-pieces/docs/components/fader): Full-width fill slider — a flat, dial-style parameter control with an inline label, right-aligned value readout, interior ticks, and a bar handle - [Field](https://magicspells.io/puzzle-pieces/docs/components/field): Labeled text input with hint/error helper text, danger invalid state, and full ARIA wiring - [Input Group](https://magicspells.io/puzzle-pieces/docs/components/input-group): Field-compatible input with fused prefix/suffix addon slots — group-level focus ring and error styling, full label/hint/error ARIA - [Input OTP](https://magicspells.io/puzzle-pieces/docs/components/input-otp): Segmented one-time-code input — single-char cells with paste distribution, backspace/arrow navigation, numeric or alphanumeric charsets, optional group separators, and change/complete callbacks - [Label](https://magicspells.io/puzzle-pieces/docs/components/label): Accessible