Velocity X Components

Bento & Layout

12-Column Grid

General-purpose 12-column responsive grid container where children control their own span with plain col-span utilities.

Free MIT licensed. Install it with the CLI — no account, no key.
bash
$ velocityx add grid-12

Built for astro.

Full docs for 12-Column Grid →

astro v1.0.0
12-Column Grid
col-span-12 md:col-span-8
col-span-12 md:col-span-4
col-span-4
col-span-4
col-span-4

Props

NameTypeRequiredDefaultDescription
as'div' | 'section'No'div'
gap4 | 5 | 6 | 8 | 10No6
classNamestringNo''

File this creates

The CLI writes this path into your project, relative to its root — nothing else moves.

text
components/velocity/grid-12/Grid12.astro

Using the 12-Column Grid component

Install it with velocityx add grid-12. The CLI writes the source straight into your project — no runtime dependency, no registry lock-in, and it themes itself from the same primary-*/accent-* scale as the rest of the library.

More from Bento & Layout.