New in v2.0Opt-in extras and safe purge

Minimal CSS for semantic HTML

A plain modern CSS rewrite of Pico CSS. Write the markup, get a clean, accessible, themeable page. No classes required, no JavaScript.

Get startedBrowse components

pnpm add @rusticstack/pico-reforged
Live preview
Core, gzip
12.4 kB
JavaScript
0 kB
Color themes
20
Browser floor
Chrome 111+

What you get

The look of a component library, from the HTML elements you already know.

Plain HTML in, styled page out

No classes in this form. The elements and ARIA roles carry the look.

HTML
<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>
Result

Install

Terminal
pnpm add @rusticstack/pico-reforged
Terminal
npm install @rusticstack/pico-reforged
Terminal
yarn add @rusticstack/pico-reforged
Terminal
bun add @rusticstack/pico-reforged
HTML
<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.