
Security News
npm Introduces minimumReleaseAge and Bulk OIDC Configuration
npm rolls out a package release cooldown and scalable trusted publishing updates as ecosystem adoption of install safeguards grows.
@guardian/src-grid
Advanced tools
📣 For more context and visual guides relating grid usage on the [Source Design System website](https://www.theguardian.design/2a1e5182b/p/978527--grid-component/b/304251)
📣 For more context and visual guides relating grid usage on the Source Design System website
$ yarn add @guardian/src-grid
import { GridRow, GridItem } from "@guardian/src-grid"
const Article = () => (
<GridRow breakpoints={["mobile", "tablet", "desktop", "leftCol", "wide"]}>
<GridItem span={[0, 3, 3, 4, 4]} borderRight={true}>
<Sidebar />
</GridItem>
<GridItem span={[4, 9, 9, 10, 12]}>
<Main />
</GridItem>
</GridRow>
)
GridRow PropsbreakpointsArray<GridBreakpoint | CustomBreakpoint> = ["mobile", "tablet", "desktop", "leftCol", "wide"]
A list of breakpoints at which grid column span may change. GridRow currently
supports changes at "mobile", "tablet", "desktop", "leftCol" and "wide" breakpoints.
Any of these may be omitted.
For best results, breakpoints should be ordered ascending by minimum viewport width.
A custom breakpoint may be specified, which must have the following properties:
width: the minimum viewport width at which the breakpoint becomes active. This will also
be the width of the GridRow containercolumns: the number of columns the grid should compriseGridItem Propsspannumber[]
The number of columns a grid item should span. Corresponds to the breakpoints list
in GridRow props.
When a col span of 0 is specified for a particular breakpoint, the grid item will have
display: none applied to it.
borderRightboolean= false
Whether a border should appear to the right of the grid item.
FAQs
📣 For more context and visual guides relating grid usage on the [Source Design System website](https://www.theguardian.design/2a1e5182b/p/978527--grid-component/b/304251)
The npm package @guardian/src-grid receives a total of 13 weekly downloads. As such, @guardian/src-grid popularity was classified as not popular.
We found that @guardian/src-grid demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 44 open source maintainers 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
npm rolls out a package release cooldown and scalable trusted publishing updates as ecosystem adoption of install safeguards grows.

Security News
AI agents are writing more code than ever, and that's creating new supply chain risks. Feross joins the Risky Business Podcast to break down what that means for open source security.

Research
/Security News
Socket uncovered four malicious NuGet packages targeting ASP.NET apps, using a typosquatted dropper and localhost proxy to steal Identity data and backdoor apps.