Semantic first
Style the HTML you already write. Buttons, forms, tables, dialogs and details look right with no classes.
New in v2.0Opt-in extras and safe purge
A plain modern CSS rewrite of Pico CSS. Write the markup, get a clean, accessible, themeable page. No classes required, no JavaScript.
pnpm add @rusticstack/pico-reforgedThe look of a component library, from the HTML elements you already know.
Style the HTML you already write. Buttons, forms, tables, dialogs and details look right with no classes.
A build with every class selector removed, for content sites, Markdown output and quick prototypes.
Twenty ready-made color themes, or one hex color that becomes a full 19-step OKLCH scale.
Cascade layers, light-dark(), OKLCH, native popover and anchor positioning. No Sass, no polyfills.
Tabs, alert, toast, badge, avatar, skeleton, app shell, data table, pagination, stepper and empty state.
Vite and PostCSS plugins drop unused rules at build time. Safe mode never removes a rule it cannot prove unused.
llms.txt, llms-full.txt, a Markdown copy of every page and an agent skill that knows the rules, so assistants write markup that fits.
No classes in this form. The elements and ARIA roles carry the look.
<form>
<fieldset role="group">
<input type="email" placeholder="Enter your email" aria-label="Email" />
<input type="submit" value="Subscribe" />
</fieldset>
<fieldset>
<label>
<input type="checkbox" role="switch" checked />
Send me release notes
</label>
</fieldset>
<details>
<summary>What do I get?</summary>
<p>One short email per release. No tracking.</p>
</details>
</form>pnpm add @rusticstack/pico-reforgednpm install @rusticstack/pico-reforgedyarn add @rusticstack/pico-reforgedbun add @rusticstack/pico-reforged<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@rusticstack/pico-reforged@2/css/pico.min.css" />Coming from Pico CSS?
Pico Reforged keeps the class names, variables and CDN file names of Pico CSS v2.1.1 by Lucas Larroche, so most pages switch with one link. Read the migration guide
Pico Reforged is an independent fork of Pico CSS v2.1.1 (MIT). It is not affiliated with or endorsed by the Pico CSS project. The Pico CSS name and logo belong to their authors.