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 🙏

© 2024 – Pkg Stats / Ryan Hefner

alpha-grid

v1.5.0

Published

Simple 12 column grid system build on css grid and inspired by Bootstrap

Downloads

67

Readme

🧱 αGrid - Light CSS Grid system

Netlify Status

The entire agrid.min.css package is ~ 19.0 kB (2.1 kB gzip), but if use only the base grid-systems without the order, offset and gap you will have a bundle of ~ 9.4 kB (1.0 kB gzip).

📌 Examples - alpha-grid.netlify.app

alphaGrid is a tool for implementing 12 Column Grid layouts. Very simple. Mostly configurable. CSS & SCSS. Based on CSS Grid (93.53% support) and it's pretty much an "inspired" clone of Bootstrap's own grid layout.


Getting started

NPM

  • Install package
yarn add alpha-grid
OR 
npm i alpha-grid
  • Add the full agrid module (CSS or SCSS) to your project
CSS Minified
@import url("alpha-grid/dist/agrid.min.css")

SCSS
@use "alpha-grid/dist/scss/agrid.scss";
  • OR add only the bundle you need (more about the different bundles bellow) - again supports both CSS and SCSS files
SCSS
@use "alpha-grid/dist/scss/agrid-order.scss";

CDN

Load the agrid.css file in your project

<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/agrid.min.css" />

OR

@import url('https://unpkg.com/[email protected]/dist/agrid.min.css');

Bundles

You can decide on which features you need and import only them:

  • agrid.css/scss - all utility classes
  • agrid-base.css/scss - only the columns + responsive prefixes
  • agrid-offset.css/scss - columns + offset + responsive prefixes
  • agrid-order.css/scss - columns + order + responsive prefixes

Why

After couple of discussion about using 12-col-grid system in an internal work project I started thinking about creating my own grid system for personal projects and also to play around a little bit more with grid and SASS' mixins. This is probably not worthy of your time, but I had really fun time searching around @each, @mixin, etc. and hopefully will use the system soon.