How to use Spektral

Spektral is a desktop app that builds and maintains a design system with you. You describe what you need, it writes the spec, the tokens, the component, and the stories — into a folder you own and can commit to git.

This guide is written to be read in order. Start at the top and you will have a real component library, built and previewed, before you reach the halfway point. Come back to the later chapters when you need Figma, a second framework, or a team.

The Spektral workspace showing a Button component rendered live with an editable props table and the agent chat panel on the right
Where you will spend your time: a component, its live preview, and the agent.

The 30-second version

  1. Install the app and pick a model

    Hosted with a Spektral account, or your own Anthropic or OpenAI-compatible key.

  2. Create a project

    Six questions, then Spektral scaffolds tokens, specs, and a real npm package with Storybook.

  3. Ask for a component

    Answer a short intake, approve the plan, and watch the agent write, validate, and a11y-check it.

  4. Tune the system

    Edit tokens, write guidance, and everything you generate next follows the rules.

  5. Ship it

    Add another platform, review changes on a branch, and publish a version people can install.

Start here

If you have not installed Spektral yet, the first chapter takes about two minutes and you do not need an account or an API key to follow it.

Install and first run →
1

Get started

Install Spektral, create a project, and find your way around.

2

Build your library

The day-to-day loop: components, tokens, and the rules behind them.

3

Add platforms

Build the same components for a second and third framework.

4

Connect your tools

Bring Figma in, and let other agents read the system out.

5

Ship with a team

Share the system, review changes, and publish versions people can install.

6

Reference

File formats and schemas, for when you need the detail.