Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@bedrock-layout/grid
Advanced tools
@bedrock-layout/grid
Grid is a layout helper that creates a responsive grid of items.
Full docs at: bedrock-layout.dev
Grid
can be used to create a responsive grid layouts that can automatically wrap depending on the number of child elements and a minItemWidth
value.
npm install @bedrock-layout/grid
or
yarn add @bedrock-layout/grid
import { Grid } from '@bedrock-layout/grid';
<Grid minItemWidth={300}>
<div>1</div>
<div>2</div>
<div>3</div>
<div>4</div>
<div>5</div>
<div>6</div>
</Grid>;
For styling purposes, you can select data-bedrock-grid
.
* required
Property | Description | Type | Default |
---|---|---|---|
gutter* | sets the space between each child element | One of Spacing ** | - |
minItemWidth | sets the min width size of each child element | number or valid CSS length as a string | small (639px) |
** By default, Spacing
is one of spacing-constants values, but this can be overwritten using the ThemeProvider
from @bedrock-layout/spacing-constants
FAQs
bedrock-layout grid
We found that @bedrock-layout/grid demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.