Skip to content

Getting started

Quick start

Link pico.css manually or via CDN for a dependency-free setup, or use NPM or Composer for advanced usage.

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" />

Usage from CDN#

Alternatively, you can use jsDelivr CDN to linkpico.min.css.


Install with NPM#

npm install @picocss/pico


yarn add @picocss/pico

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

@use "pico";

Learn more about the customization with Sass.

Install with Composer#

composer require picocss/pico

Starter HTML template#

<!doctype html>
<html lang="en">
    <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">
    <title>Hello world!</title>
    <main class="container">
      <h1>Hello world!</h1>

Edit this page on GitHub