Bento & Layout
Responsive Gutter Wrapper
Self-contained responsive horizontal padding plus centred max-width wrapper with no dependency on any host project's CSS variables.
$ velocityx add gutter-wrapper Built for astro.
Full docs for Responsive Gutter Wrapper →
This card sits inside a self-contained gutter wrapper — resize the window to see the side padding tighten on phone, without any dependency on this site's own shell tokens.
Props
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| as | 'div' | 'section' | No | 'div' | |
| maxWidth | string | No | '1200px' | |
| paddingDesktop | string | No | '32px' | |
| paddingTablet | string | No | '24px' | |
| paddingPhone | string | No | '16px' | |
| className | string | No | '' |
File this creates
The CLI writes this path into your project, relative to its root — nothing else moves.
components/velocity/gutter-wrapper/GutterWrapper.astro Using the Responsive Gutter Wrapper component
Install it with velocityx add gutter-wrapper.
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.
Related components
More from Bento & Layout.
Reserves a stable aspect ratio for media to prevent layout shift, using the native CSS aspect-ratio property.
astroBreakpoint-free responsive card grid using CSS grid auto-fit/minmax, column count is purely a function of container width.
astroSingle card shell component with five variants (icon, stat, image, chart-slot, quote) sharing one accessible article shell.
astroResponsive 4-cell bento grid, 1 column on phone and 2x2 on tablet/desktop, with four named slots.
astro