Skip to content
anybladesPublic

About

Fully compatible and actively maintained successor to Pico CSS. Introduces float labels, breakout container and other modern, opt-out helpers. Simply switch `pico.css` to `blades.css` OR use `blades.standalone.css` with other frameworks 🥷✨

Topics

Resources

Code of conduct

Stars

349 stars

Watchers

7 watching

Forks

Repository files navigation

🥷 Blades  

Minimal CSS Framework for Semantic HTML

Fully compatible and actively maintained successor to Pico CSS.

Introduces float labels, breakout container and other modern, opt-out helpers. Simply switch pico.css to blades.css OR use blades.standalone.css with other frameworks.

Get started ✨ | Standalone

Quick start

There are 4 ways to get started:

A. Install manually

Download CSS archive and link css/blades.css in the <head> of your website.

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

B. Usage from CDN

<link rel="stylesheet" href="
  https://cdn.jsdelivr.net/npm/@anyblades/blades@3/css/blades.min.css
"/>

Live example: https://github.com/pallets/website/blob/main/src/pallets/templates/layout.html

Full list of CSS files available on CDN: https://cdn.jsdelivr.net/npm/@anyblades/blades@3/css/

C. Install with NPM

npm install @anyblades/blades

Then, @import sources into your CSS file:

@import "@anyblades/blades";

Alternatively, import standalone Blades CSS sources only (without underlying Pico CSS base styles):

@import "@anyblades/blades/standalone";

Live example using Tailwind: https://github.com/anyblades/buildawesome-micro-starters/blob/main/tailwind/styles.css

D. Official starters


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/blades.css" />
    <title>Hello world!</title>
  </head>
  <body>
    <main class="container">
      <h1>Hello world!</h1>
    </main>
  </body>
</html>

Dynamic templates

Available for Nunjucks, Liquid and Twig ↗


Documentation


Trusted by

Featured by

Credits

About

Fully compatible and actively maintained successor to Pico CSS. Introduces float labels, breakout container and other modern, opt-out helpers. Simply switch `pico.css` to `blades.css` OR use `blades.standalone.css` with other frameworks 🥷✨

Topics

Resources

Code of conduct

Stars

349 stars

Watchers

7 watching

Forks

Releases

Used by

Contributors

Languages