### Install with NPM
Source: https://blades.ninja/css/pico
Install the @anyblades/pico and @anyblades/blades packages using npm.
```bash
npm install @anyblades/pico # optional
npm install @anyblades/blades
```
--------------------------------
### Manual Installation of Pico.blades.css
Source: https://blades.ninja/css/pico
Link the pico.blades.css file in the
of your HTML for manual installation.
```html
```
--------------------------------
### Install Blades via npm
Source: https://blades.ninja/html
Install the @anyblades/blades package using npm and create a symbolic link to the includes directory.
```bash
npm install @anyblades/blades
cd ./_includes # or where your includes dir is
ln -s ../node_modules/@anyblades/blades/_includes/blades
```
--------------------------------
### Install Prettier Plugin for Jinja Template
Source: https://blades.ninja/html
Install the prettier-plugin-jinja-template for auto-formatting Nunjucks files.
```bash
npm i -D prettier-plugin-jinja-template
```
--------------------------------
### NPM Installation of Blades CSS
Source: https://blades.ninja/css/standalone
Install Blades and optionally Pico via NPM. Import them into your CSS.
```bash
npm install @anyblades/pico # optional
npm install @anyblades/blades
```
```css
@import "@anyblades/pico"; /* optional */
@import "@anyblades/blades"; /* can be used standalone */
```
--------------------------------
### Directory Structure Example
Source: https://blades.ninja/css/code
Illustrates a typical directory structure for assets, including CSS files for a project. This is useful for understanding file organization.
```bash
./assets/
├── blades.core.css # reusable class-light utilities, unthemed
├── blades.theme.css # minimal opinionated theme
└── blades.css # above two together
```
--------------------------------
### Starter HTML Template with Blades CSS
Source: https://blades.ninja/css/standalone
A basic HTML5 template including the Blades standalone CSS for a quick start.
```html
Hello world!
Hello world!
```
--------------------------------
### Basic Tooltip Examples
Source: https://blades.ninja/css/tooltip
Demonstrates how to apply tooltips to different HTML elements like links, inline elements, and buttons using the 'data-tooltip' attribute.
```html
```
--------------------------------
### Use HTML Blades in Liquid Templates
Source: https://blades.ninja/html
Example of how to include and render HTML blades in Liquid templates.
```liquid
{% include blades/*.liquid %}
{% render blades/* %}
```
--------------------------------
### Install Float Label CSS via npm
Source: https://blades.ninja/css/float-label
Install the library using npm and import the float-label CSS in your project's stylesheet.
```bash
npm install @anyblades/blades
```
```css
@import "@anyblades/blades/float-label";
```
--------------------------------
### Manual Installation of Blades CSS
Source: https://blades.ninja/css/standalone
Link the standalone CSS file in the head of your HTML document for manual installation.
```html
```
--------------------------------
### CDN Installation of Blades CSS
Source: https://blades.ninja/css/standalone
Use the jsDelivr CDN to link the minified standalone Blades CSS file.
```html
```
--------------------------------
### autoLinkFavicons: Before Processing
Source: https://blades.ninja/build-awesome-11ty/processors
Shows an example of an HTML link before the autoLinkFavicons processor is applied. This is used to demonstrate the input format for the processor.
```html
https://github.com/anyblades/eleventy-blades
```
--------------------------------
### Use HTML Blades in Nunjucks Templates
Source: https://blades.ninja/html
Example of how to extend and include HTML blades in Nunjucks templates.
```njk
{% extends 'blades/*.njk' %}
{% include 'blades/*.njk' %}
```
--------------------------------
### Install Float Label CSS via CDN
Source: https://blades.ninja/css/float-label
Include the Float Label CSS library directly in your HTML using a CDN link.
```html
```
--------------------------------
### Link Blades CSS via CDN
Source: https://blades.ninja/css
Use this CDN link in your HTML's `` for a dependency-free setup.
```html
```
--------------------------------
### Dropdown in Navigation
Source: https://blades.ninja/css/dropdown
Example of integrating a dropdown component within a `