One language.
A whole frontend.
Content, components, styles, and interactivity.
One coherent TypeScript ecosystem. Built for you and your AI.
---
title: Your next idea
template: splash
---
# Your next idea.
Write the story. Build the product.
<Panel tone="neutral">
<Badge tone="success">Ready to build</Badge>
Content and components, together.
</Panel> Your next idea.
Write the story. Build the product.
Content and components, together.
import { createApp, html, ref } from 'regor'
const count = ref(0)
const increment = () => count(count() + 1)
createApp({ count, increment }, {
selector: '#counter',
template: html`<button
@click="increment">
Clicked {{ count }} times
</button>`,
}) Go on. Give it a click.
One ref. One event. A real interaction.
Explicit browser code. Predictable state.import { Style } from '@purestack/ts-css'
const card = new Style('.your-card')
.padding('24px')
.borderRadius('12px')
.backgroundColor('#101828')
.color('#9cc2ff')
// Typed source. Standard CSS output.
card.toCSS() A style of your own.
Fluent. Composable. Still CSS.
Not a new language to learn. A better way to bring the pieces together.
Everything connects.
So you can keep building.
From the first page to the product around it.
A frontend that grows without losing its shape.
Content is part of the product.
Write in Markdown. Compose with Regor MDX. Keep routes, metadata, navigation, and page scripts close to the content they belong to.
Primitives for real interfaces.
Forms, charts, tabs, modals, toasts, and virtual tables. A shared component vocabulary for the surfaces your product needs.
Design with a system.
Typed CSS, semantic tones, shared tokens, and light and dark themes. Visual decisions that stay connected.
Every component.
Static where it can be.
Render content to HTML. Mount Regor apps where interaction belongs. Bundle browser TypeScript through the same pipeline.
Your editor is in on it.
Component completion, typed prop hints, template diagnostics, and go-to-definition with the PureStack VS Code extension.
The first prompt is
just the beginning.
AI can generate a first draft. A real product needs source that stays understandable as features change, screens multiply, and designs evolve.
PureStack keeps intent in typed, inspectable code. Easier for you to reason about. Easier for your AI to work with.
Read the philosophyReadable by humans. Navigable by AI.
A complete stack.
With room for your way.
One public entry point. Focused packages underneath.
Explore the pieces that make PureStack work.
Content & publishing
MDX, routing, navigation, live reload, search, i18n, and static output.
@purestack/ts-ssg Components & interaction
Regor primitives for pages, forms, charts, and application interfaces.
@purestack/ts-components Styles & themes
Palettes, semantic tones, skins, typography, and responsive tokens.
@purestack/ts-style Tools & foundations
Typed builders, SVG icons, rendering tools, and a source-aware editor.
ts-html · ts-css · ts-ssg-vscode Make something
of your own.
Install purestack from npm to build your own site. Explore the source and run the included examples with the steps here, or follow the CLI guide to start a project.
- 01 Get the source
Clone the repository and install with Yarn.
- 02 Start the playground
Run the included content site locally.
- 03 Make it yours
Edit a page. Add a component. Keep going.
git clone https://github.com/PureStackStudio/PureStack.git cd PureStack
yarn install yarn dev Good to know.
A little more context
before your first commit.
Less fragmentation.
More creation.
Your next frontend starts with a clearer foundation.
Build with PureStack Open source. TypeScript-native. Yours to build on.