Skip to content

anyblades/blades

Repository files navigation

🥷 Blades  

Minimal CSS Framework for Semantic HTML

Fully compatible and actively maintained successor to Pico CSS.

Includes Float labels, Breakout layout and other modern helpers. Simply switch pico.css to blades.css, or use blades.standalone.css with other frameworks.


Quick start

There are 4 ways to get started:

A. Install manually

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

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

B. Usage from CDN

Alternatively, you can use jsDelivr CDN:

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

C. Install with NPM

npm install @anyblades/pico # or other CSS framework
npm install @anyblades/blades

Then, import [Pico] and Blades into your CSS:

@import "@anyblades/pico"; /* or other CSS framework */
@import "@anyblades/blades";

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

D. Starter projects

Standalone version

https://blades.ninja/css/standalone/

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>

Documentation


Trusted by

Featured by

Credits

About

Fully compatible and actively maintained successor to Pico CSS. Includes Float labels, Breakout layout and other modern helpers. Simply switch `pico.css` to `blades.css`, or use `blades.standalone.css` with other frameworks 🥷✨

Topics

Resources

License

Stars

Watchers

Forks

Contributors