Tidgrid is a lightweight CSS library that makes building responsive layouts fast and expressive. Drop in a single stylesheet, apply a handful of classes to your HTML, and get full control over grids, gaps, positioning, and page structure — all powered by Flexbox.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/sneikki/tidgrid/llms.txt
Use this file to discover all available pages before exploring further.
Installation
Get Tidgrid running in your project in under a minute via CDN or npm.
Rows & Cells
Learn the core grid primitives: rows, cells, and display modes.
Spans & Fractions
Size cells using 12- or 16-column spans and fractional widths.
Class Reference
Browse every utility class Tidgrid generates, with values and breakpoints.
Why Tidgrid?
Tidgrid takes a functional, utility-first approach to CSS layouts. Every class is purposeful and maps directly to a Flexbox property or layout concept — so you always know what a class does just by reading it.Expressive Syntax
Classes use a readable parenthesis style:
tg-mode(auto), tg-gap(md), tg-pos(center).Responsive by Default
Every utility generates responsive variants automatically:
sm:tg-mode(stacked), lg:tg-gap(xl).Zero Dependencies
A single CSS file, under 15 KB of SCSS source. No JavaScript, no runtime, no framework lock-in.
Get started in 3 steps
Add Tidgrid to your page
Include the hosted stylesheet via CDN — no npm or build step needed to get started.
Build a responsive layout
Wrap your content in a
.tg-row and size each .tg-cell with a span or fraction class.Tidgrid is currently in early alpha (
v0.1.0-alpha.2). The API may change between releases. If you find a bug or have a suggestion, open an issue on GitHub.