AhaSlides Design System · for agents
Components
One token source + one contract per component → this site, the llms.txt feeds, design.md, and per-component agent.json — all generated together, so they can't drift.
◆ generated by generate.mjs — 78 live of 78 planned components
Get started
Published to GitHub Packages, so point the @ahaslides-product scope at the registry and authenticate once, then install, import the token layer at your app root, and import any component. It is one element — identical in React, Vue, and outside any app.
.npmrc@ahaslides-product:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN} # a GitHub token with read:packagesnpm i @ahaslides-product/design
import '@ahaslides-product/design/tokens.css';
import '@ahaslides-product/design/aha-button'; // registers <aha-button> <aha-button variant="primary">Save</aha-button>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/ahaslides-product/ahaslides-design@master/lib/tokens.css"> <script type="module" src="https://cdn.jsdelivr.net/gh/ahaslides-product/ahaslides-design@master/lib/all.js"></script> <aha-button variant="primary">Save</aha-button> // bundled apps: prefer per-element imports (tree-shaking)
For agents — read this, then connect automatically
Every feed below is generated from the same contract as the components, so it can never drift. Start at llms.txt and follow it:
- Index feed —
https://ahaslides-product.github.io/ahaslides-design/llms.txt— one entry per component; the entry point. - Full docs —
https://ahaslides-product.github.io/ahaslides-design/llms-full.txt— every component concatenated. - Visual language —
https://ahaslides-product.github.io/ahaslides-design/design.md· Token layer —https://ahaslides-product.github.io/ahaslides-design/variables.css - Per component —
https://ahaslides-product.github.io/ahaslides-design/<slug>.agent.json— machine feed: props, tokens, spec, opinion, install, both snippets.
Live components
Guidelines
Composition guides — how to assemble the components above for a use case. A pattern ships no new primitive; it reuses components and documents conventions, linking each rule back to its aha-design skill.
Agent feeds
llms.txt index ·
llms-full.txt full ·
design.md visual language ·
CHANGELOG.md version history ·
variables.css token layer ·
per-component <slug>.agent.json
Roadmap
The Components tab lists the full planned inventory (greyed = soon), taken from the aha-design component-standard measured set. Leaf primitives ship as one shared Lit web component (portable to any environment); composites ship as antd / ant-design-vue wrappers (app-only). Each component follows the same lifecycle: contract → build → theme → render-matrix verify → judge → publish.