π design mode

A LOCAL WORKSPACE FOR PI

Design, kept
in files.

Shape an interface without losing its source. Edit real tokens and components. Keep each revision. Take the HTML with you.

Watch the real UI ↓

Open source · MIT · Local first

pi install npm:pi-design-mode@0.3.1

English UI: PI_DESIGN_LANGUAGE=en pi → /design. macOS · Node.js 22+ · tested with Pi 0.85.1.

English · 70s
English: real Pi TUI and HTML animated demo
中文 · 63 秒
中文:真实 Pi TUI 与 HTML 动态演示

Full-length inline GIFs · 960px · 8 fps. Reduced-motion preference shows still images; original HD recordings below.

Original HD video with playback controls

Recorded in English: real Pi TUI on the left, HTML on the right, including actual inspect/apply calls. No title cards or subtitles. Private details are masked. The approved Chinese original remains available.

Your design. Your sources.

01

Two sources. No drift.

tokens.css owns design values. components.html owns component design. Documentation and previews follow them.

02

Try it. Save it. Go back.

Preview drafts, lock a title, undo changes and restore a version. Conflict checks protect against accidental overwrites.

03

An export you can open.

Take away interactive HTML/CSS/JS with an integrity receipt. No deployment required. A framework build is a separate step.

CLEAR BOUNDARIES

A focused prototype editor, not arbitrary HTML editing. Business figures are samples. Chat is a local echo, not a production agent. No automatic deployment or custom telemetry.

Permissions & security ↗