CSS Pico

/anyblades/pico
with /anyblades/blades

Table of Contents

[!NOTE] This is a community-driven successor to the Pico CSS framework with a few simple goals:

  1. Maintain pico minimally until its creator returns.
  2. Focus exclusively on the pico.css version, similar to how simple.css is maintained (for Sass version check @Yohn's fork instead).
  3. Keep all non-original additions in blades.css, shipped as pico.blades.css — a drop-in compatible replacement for pico.css.

Read more


List of @anyblades/pico fixes for @picocss/pico issues:


Pico CSS

Github release License GitHub Repo stars

Minimal CSS Framework for Semantic HTML

A minimalist and lightweight starter kit that prioritizes semantic syntax, making every HTML element responsive and elegant by default.

Write HTML, Add Pico CSS, and Voilà!

What’s new in v2?

Pico v2.0 features better accessibility, easier maintenance with modern CSS customization with SASS, a complete color palette, a new group component, and 20 precompiled color themes totaling over 100 combinations accessible via CDN.

Read more

A Superpowered HTML Reset

With just the right amount of everything, Pico is great starting point for a clean and lightweight design system.

Table of contents

Quick start

There are 4 ways to get started with pico.css:

Install manually

Download Pico and link /css/pico.min.css in the <head> of your website.

<link rel="stylesheet" href="css/pico.min.css" />

Or even Pico+Blades version instead:

<link rel="stylesheet" href="css/pico.blades.min.css" />

Usage from CDN

Alternatively, you can use jsDelivr CDN to link pico.css.

<link rel="stylesheet" href="
  https://cdn.jsdelivr.net/npm/@anyblades/pico@^2.2.0-alpha/css/pico.min.css
"/>

Or Pico+Blades:

<link rel="stylesheet" href="
  https://cdn.jsdelivr.net/npm/@anyblades/pico@^2.2.0-alpha/css/pico.blades.min.css
"/>

Install with NPM

npm install @anyblades/pico

Then, import Pico into your CSS SCSS file with @use:

@import "pico";

Install with Composer

Starter HTML template

<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="color-scheme" content="light dark">
    <link rel="stylesheet" href="css/pico.min.css">
    <!-- or Pico+Blades together:
    <link rel="stylesheet" href="css/pico.blades.min.css">
    -->
    <title>Hello world!</title>
  </head>
  <body>
    <main class="container">
      <h1>Hello world!</h1>
    </main>
  </body>
</html>

Class-less version

Limitations

Pico CSS can be used without custom CSS for quick or small projects. However, it’s designed as a starting point, like a “reset CSS on steroids”. As Pico does not integrate many helpers or utility .classes, it requires CSS knowledge to build large projects.

Read more

Documentation

Getting started

Customization

Layout

Content

Forms

Components

Utilities 🥷

About

Browser Support

Pico CSS is designed and tested for the latest stable Chrome, Firefox, Edge, and Safari releases. It does not support any version of IE, including IE 11.

Contributing

If you are interested in contributing to Pico CSS, please read our contributing guidelines.

Licensed under the MIT License.