
Research
Supply Chain Attack on Axios Pulls Malicious Dependency from npm
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.
@ds-kit/container
Advanced tools
title: "Container" slug: "/packages/container" category: "layout" componentNames:
The Container component can be used to wrap content or control elements in containers with a predefined max-width.
To see the various container sizes in action, check out the home pattern.
import Container from "@ds-kit/container"
The Container component comes in four sizes (xs, sm, md, lg). Use the size prop to choose a container size.
<>
<Container size="xs">xs container</Container>
<Container size="sm">sm container</Container>
<Container size="md">md container</Container>
<Container size="lg">lg container</Container>
</>
Container sizes can be specified at the theme level using the containers option. If there are no container sizes specified in the theme, the container component defaults to the default sizes:
const containers = {
xs: "48rem",
sm: "63rem",
md: "84rem",
lg: "90rem",
}
The container component uses styled-system under the hood, so you can use all the props from styled-system [margins and paddings].(https://jxnblk.com/styled-system/#margin--padding).
FAQs
Container component
We found that @ds-kit/container demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.

Security News
TeamPCP is partnering with ransomware group Vect to turn open source supply chain attacks on tools like Trivy and LiteLLM into large-scale ransomware operations.