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 🙏

© 2025 – Pkg Stats / Ryan Hefner

axis-twelve

v1.0.1

Published

Build faster, center easier. The 12-column solution. Professional CSS framework with grid, flexbox, centering, and spacing utilities.

Readme

Axis Twelve

Build faster, center easier. The 12-column solution.

Axis Twelve is a professional CSS framework with SCSS support featuring a powerful 12-column grid system, comprehensive flexbox utilities, powerful centering components, and extensive spacing utilities.

Key Features

  • 12-Column Grid System - Responsive, flexible, and easy to use
  • Complete Flexbox Utilities - Direction, alignment, and gap controls
  • Powerful Centering - Multiple methods for perfect alignment
  • Extensive Spacing Scale - Named sizes (xs-3xl) and consistent numeric mapping
  • Full SCSS Support - Customizable variables and modular architecture
  • Responsive Breakpoints - xs, sm, md, lg, xl, xxl
  • Ultra-Lightweight - Only 40.6 KB CSS (6.0 KB gzipped) - Significantly optimized

Documentation

Quick Links

Quick Start

1. Installation

Via npm:

npm install axis-twelve

Via pnpm:

pnpm install axis-twelve

Or use the compiled CSS directly:

<link rel="stylesheet" href="https://unpkg.com/axis-twelve/dist/axis-twelve.css">

Then include in your HTML:

<link rel="stylesheet" href="node_modules/axis-twelve/dist/axis-twelve.css">

Or if using SCSS imports:

@import "node_modules/axis-twelve/src/scss/style";

2. Explore Examples

Open index.html in your browser to see all available examples:

  • Complete Feature Demo - All framework features in one showcase
  • Grid Layouts - Master the 12-column grid system
  • Flexbox Utilities - Learn all alignment options
  • Centering Components - Multiple centering methods
  • Spacing Utilities - Padding, margin, and gap reference
  • Real-World Examples - Practical website layouts

See /examples folder for focused, use-case specific demonstrations.

3. Read Documentation

Visit the /docs folder for complete interactive documentation:

npm start
# Then open http://localhost:3000/docs/

Or run the server directly:

pnpm start
# Server runs on http://localhost:3000/

Documentation guides:

  • Getting Started
  • Installation
  • Quick Start Guide
  • Grid System Reference
  • Flexbox Utilities
  • Centering Components
  • Spacing Utilities
  • SCSS Variables
  • Responsive Breakpoints
  • Best Practices

Folder Structure

axis-twelve/
├── src/scss/                 # SCSS source files
├── dist/axis-twelve.css      # Compiled minified CSS
├── index.html                # Landing page with links to examples
├── examples/                 # Focused example files
│   ├── style.css             # Shared styles for all examples
│   ├── 00-all-features-demo.html
│   ├── 01-grid-layouts.html
│   ├── 02-flexbox.html
│   ├── 03-centering.html
│   ├── 04-spacing.html
│   └── 05-real-world.html
├── docs/                     # Interactive framework documentation
│   ├── index.html
│   ├── getting-started.md
│   ├── grid.md
│   ├── flexbox.md
│   ├── centering.md
│   ├── spacing.md
│   └── *.md                  # Other framework guides
├── project/                  # Project management (development tools)
│   ├── scripts/              # CLI helper scripts
│   │   ├── install-hooks.sh
│   │   ├── publish-npm.sh
│   │   ├── create-release.sh
│   │   └── release-github.sh
│   ├── hooks/                # Git hook definitions
│   │   └── pre-commit
│   └── docs/                 # Project documentation
│       ├── SCRIPTS.md        # CLI wrapper guide
│       ├── RELEASE.md        # Release process
│       └── CHANGELOG.md      # Version history
├── axis                      # CLI wrapper script
└── package.json

Project Documentation

All project management docs are in project/docs/:

  • SCRIPTS.md - Complete guide to the ./axis CLI wrapper

    • Development commands (build, watch, start, lint, format, check)
    • Publishing to npm
    • Creating releases
    • Git hooks management
  • RELEASE.md - How to create releases and publish

    • Manual git releases
    • Automated GitHub releases
    • Semantic versioning
  • CHANGELOG.md - Version history and updates

Development

Using the CLI Wrapper

All development commands are available through the axis CLI wrapper:

./axis help              # Show all available commands
./axis build             # Build CSS
./axis watch             # Watch SCSS for changes
./axis start             # Start dev server
./axis check             # Run quality checks

See project/docs/SCRIPTS.md for complete command reference.

Setup

pnpm install

Build Commands

# Compile SCSS to CSS (production)
./axis build

# Watch SCSS for changes during development
./axis watch

# Development mode (no source maps)
./axis dev

# Start local development server
./axis start
# Server runs on http://localhost:3000/

Code Quality

# Check SCSS for style violations
./axis lint

# Auto-fix SCSS style issues
./axis lint:fix

# Format SCSS files with prettier
./axis format

# Run lint + build (quality gate check)
./axis check

Publishing

# Publish to npm (requires NPM_TOKEN in .env)
./axis publish

Releases

# Create git tag + dist asset
./axis release

# Automated GitHub release (requires gh CLI)
./axis release:github

See project/docs/RELEASE.md for detailed release guide.

Run Development Server

./axis start

Then visit:

  • http://localhost:3000/ - Landing page
  • http://localhost:3000/examples/ - Example files
  • http://localhost:3000/docs/ - Documentation

Quick Code Examples

Grid Layout

<div class="grid gap-lg">
  <div class="col-6">Half width</div>
  <div class="col-6">Half width</div>
</div>

<div class="grid gap-lg">
  <div class="col-4">1/3 width</div>
  <div class="col-4">1/3 width</div>
  <div class="col-4">1/3 width</div>
</div>

Flexbox Layouts

<div class="flex justify-center items-center gap-md">
  <div>Item 1</div>
  <div>Item 2</div>
</div>

<div class="flex flex-column gap-lg">
  <div>Stack vertically</div>
  <div>With spacing</div>
</div>

Centering Content

<!-- Horizontal center -->
<div class="row center">
  <div>Centered horizontally</div>
</div>

<!-- Both horizontal and vertical -->
<div class="box center-both">
  <div>Centered both ways</div>
</div>

<!-- Column centering -->
<div class="column center">
  <div>Item 1</div>
  <div>Item 2</div>
</div>

Spacing Utilities

<div class="p-lg m-xl">Large padding and margin</div>
<div class="py-sm px-md">Small vertical padding, medium horizontal</div>
<div class="mt-lg mb-sm">Margin top large, margin bottom small</div>

Responsive Breakpoints

  • xs: 0px (mobile, default)
  • sm: 576px (small devices)
  • md: 768px (tablets)
  • lg: 992px (small desktops)
  • xl: 1200px (desktops)
  • xxl: 1400px (large desktops)

Use responsive column classes: col-md-6, col-lg-4, etc.

Where to Start

  1. New to CSS Frameworks? → Start with /docs documentation
  2. Want to See Examples? → Open index.html to browse examples
  3. Ready to Code? → Check /examples for focused, real-world patterns
  4. Customizing? → Edit variables in src/scss/_variables.scss and rebuild

License

MIT