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

@combric/layout

v1.5.1

Published

Framework-independent CSS layout primitives for Combric

Readme

@combric/layout

Framework-independent CSS layout primitives for Combric. The package uses native Grid and Flexbox, imports the canonical @combric/tokens/css contract, and has no React or Tailwind dependency.

Install with npm install @combric/layout. The public CSS entries are @combric/layout and @combric/layout/css; both resolve to the same stylesheet. It targets modern browsers and has no JavaScript runtime.

Setup

@import "@combric/layout/css";

No internal dist path is part of the public contract.

Container

<main class="combric-container" data-size="wide">...</main>

Container is centered, full-width up to the selected canonical content width, and applies the standard horizontal gutter. Supported sizes are prose, wide (default), and full. Nested containers remain box-sized and predictable.

Stack, Inline, and Cluster

<div class="combric-stack" data-gap="6">...</div>
<div class="combric-inline" data-gap="3" data-align="baseline">...</div>
<div class="combric-cluster" data-gap="2" data-align="center">...</div>

Stack is vertical. Inline is a non-wrapping horizontal sequence. Cluster is a wrapping horizontal group for actions, tags, and metadata. This wrapping contract keeps Inline and Cluster distinct without exposing the full Flexbox surface as framework API.

Gap values are the canonical Combric spacing keys: 0, 1, 2, 3, 4, 6, 8, 12, and 16. Inline and Cluster alignments are start, center, end, and baseline.

Grid

Intrinsic Grid is the default:

<div class="combric-grid" data-min-item-width="md" data-gap="4">...</div>

It uses repeat(auto-fit, minmax(...)) with canonical sm, md, and lg minimum item widths. Columns collapse intrinsically without viewport JavaScript, hydration state, breakpoints, or resize listeners.

Explicit one-to-four-column layouts are also supported:

<div class="combric-grid" data-columns="3" data-gap="6">...</div>

Explicit columns are intentionally non-responsive. Use intrinsic mode for the standard responsive path. Native classes and CSS remain the escape hatch for a specialized layout; no arbitrary-value API or responsive object DSL is added.

Accessibility and scope

Layout classes do not change source order, add ARIA, intercept input, or manage focus. Consumers retain responsibility for choosing semantic HTML elements. Masonry, placement solvers, drag-and-drop, runtime measurement, CSS ordering APIs, and adaptive JavaScript are intentionally outside this package.

Project and license

Source and full documentation: Combric/combric. Licensed under the MIT License.