npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

hexo-design-cards

v0.1.5

Published

Beautiful design card tags for Hexo — flow diagrams, header cards, accent cards, comparison cards, quotes, alerts, mini cards, and section banners with customizable colorways.

Downloads

574

Readme

hexo-design-cards

CI npm version npm downloads License: MIT

Beautiful design card tags for Hexo — replace verbose inline HTML with clean tag syntax.

Flow diagrams, header cards, accent cards, comparison cards, quotes, alerts, mini cards, and section banners with customizable colorways.

Install

npm install hexo-design-cards

Quick Start

After installing, use tag syntax in your Hexo markdown files. No additional configuration needed — the plugin auto-injects CSS and uses the Olive Garden colorway by default.

Tags

Banner

Section divider with a bold colored bar.

{% banner "Section 1: Getting Started" %}

Banner

Cards

Grid of cards with colored headers. Great for comparing concepts side by side.

{% cards 2 %}
{% card "Title A" %}
Description with **markdown** support.
`code snippets` work too.
{% endcard %}
{% card "Title B" %}
Another card's content.
{% endcard %}
{% endcards %}
  • First argument: number of columns (1–4)
  • Optional last argument: font size in px (e.g. {% cards 2 15 %})

Cards

Accent Cards

Cards with a colored left border. Perfect for highlighting key points.

{% accents 2 %}
{% accent "Point 1" %}Description of the first point{% endaccent %}
{% accent "Point 2" %}Description of the second point{% endaccent %}
{% accent "Point 3" %}Third point here{% endaccent %}
{% accent "Point 4" %}Fourth point here{% endaccent %}
{% endaccents %}
  • First argument: number of columns (1–4)
  • Optional last argument: font size in px

Accent Cards

Compare

Side-by-side comparison of two options.

{% compare %}
{% option "Option A" "🔧" %}
Description of option A.
{% endoption %}
{% option "Option B" "🚀" recommended %}
Description of option B.
This one is **recommended**.
{% endoption %}
{% endcompare %}
  • Second argument (optional): emoji
  • recommended flag: thicker border for emphasis
  • Optional font size: {% compare 15 %}

Compare

Alert

Info, warning, or tip box.

{% alert info %}Title|Body text with **markdown**{% endalert %}
{% alert warning %}Warning title|Warning body{% endalert %}
{% alert tip %}Tip title|Tip body{% endalert %}
  • Types: info (ℹ️), warning (⚠️), tip (💡)
  • Use | to separate title and body (optional — omit for no title)
  • Optional font size: {% alert warning 17 %}

Alert

Quotes

A collection of styled quotes with colored left borders.

{% quotes "Section Title" %}
{% dcquote "Source 1" %}Quote text here{% enddcquote %}
{% dcquote "Source 2" %}Another quote{% enddcquote %}
{% endquotes %}

Quotes

Mini Cards

Compact cards in a 3-column grid. Good for listing short items.

{% minicards %}
{% mini "Item A" %}Short description{% endmini %}
{% mini "Item B" %}Short description{% endmini %}
{% mini "Item C" %}Short description{% endmini %}
{% endminicards %}

Mini Cards

Flow

Simple horizontal flow diagram with arrow connectors.

{% flow "Step A|description" "*Step B|description" "Step C|description" %}

Flow

  • * prefix: highlighted step (bold border)
  • | inside quotes: separates title and description
  • Trailing | after all steps: caption text
{% flow "Request" "*Process" "Response" | Data flow overview %}

Flow

Font Size Parameter

Most container tags accept an optional font size (in px) as the last numeric argument:

{% cards 2 15 %}...{% endcards %}       → 2 columns, 15px body text
{% accents 2 14 %}...{% endaccents %}   → 2 columns, 14px body text
{% compare 16 %}...{% endcompare %}     → 16px body text
{% alert warning 17 %}...{% endalert %} → 17px body text

When omitted, the plugin's CSS defaults apply.

Colorways

Five built-in color palettes. Each has 5 colors (C1–C5) from darkest to lightest.

| Colorway | Vibe | |----------|------| | olive-garden (default) | Warm olive-gold | | deep-sea | Calm blue-grey | | fiery-ocean | Bold red-blue contrast | | rustic-earth | Natural earth tones | | sunny-beach | Vivid orange-teal |

Color palettes from Coolors.co.

Global Setting

In your Hexo _config.yml:

design_cards:
  colorway: deep-sea

Per-Post Override

In a post's front matter:

---
colorway: fiery-ocean
---

Responsive

All grid layouts collapse to single-column on screens narrower than 768px. Flow diagrams switch to vertical layout.

License

MIT