
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
@slice-and-dice/govuk-react-grid-col
Advanced tools
GridCol component for use inside GridRow component - includes media query breakpoints.
import GridCol from '@govuk-react/grid-col';
Should always be wrapped by GridRow. Will always render a column at full width if
the browser width is below the TABLET breakpoint.
NB our grid is based on flex-box, which differs from govuk-frontend, which instead uses floats, however it is otherwise similar to use.
Simple
import GridRow from '@govuk-react/grid-row';
import GridCol from '@govuk-react/grid-col';
<Fragment>
<GridRow>
<GridCol>
...
</GridCol>
</GridRow>
<GridRow>
<GridCol setWidth="one-half">
...
</GridCol>
<GridCol setWidth="one-quarter">
...
</GridCol>
<GridCol setWidth="one-quarter">
...
</GridCol>
<GridRow>
<GridCol setWidth="one-third">
...
</GridCol>
<GridCol setWidth="two-thirds">
...
</GridCol>
</GridRow>
<GridRow>
<GridCol setWidth="one-third" setDesktopWidth="one-quarter">
...
</GridCol>
<GridCol setWidth="two-thirds" setDesktopWidth="auto">
...
</GridCol>
</GridRow>
</Fragment>
| Prop | Required | Default | Type | Description |
|---|---|---|---|---|
children | undefined | node | GridCol content | |
columnFull | false | bool | Dimension setting for the column (deprecated) | |
columnOneHalf | false | bool | Dimension setting for the column (deprecated) | |
columnOneQuarter | false | bool | Dimension setting for the column (deprecated) | |
columnOneThird | false | bool | Dimension setting for the column (deprecated) | |
columnThreeQuarters | false | bool | Dimension setting for the column (deprecated) | |
columnTwoThirds | false | bool | Dimension setting for the column (deprecated) | |
setDesktopWidth | undefined | union(string | number | enum) | Explicitly set desktop column to width using value or descriptive string ( one-quarter, one-third, one-half, two-thirds, three-quarters, full) | |
setWidth | undefined | union(string | number | enum) | Explicitly set column to width using value or descriptive string ( one-quarter, one-third, one-half, two-thirds, three-quarters, full) |
FAQs
GridCol component for use inside GridRow component - includes media query breakpoints.
We found that @slice-and-dice/govuk-react-grid-col demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 8 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.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.