
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
@ds-kit/callout
Advanced tools
title: "Callout" slug: "/packages/callout" category: "layout" componentNames:
The Callout component can be used to draw attention to an important sentence or quote on any page.
To see the Callout component in action, check out the callout pattern.
import { Callout, CalloutKicker, CalloutBody } from "@ds-kit/callout"
By default the Callout component has a primary background and includes a <CalloutKicker /> and <CalloutBody />.
<Callout>
<CalloutKicker>{"Fri kunskap"}</CalloutKicker>
<CalloutBody>
{
"Datastory är en ideell organisation som gör data och kunskap tillgängligt för alla i form av visuella appar och berättelser."
}
</CalloutBody>
</Callout>
You can change the background and text colors via the bg prop on <Callout />. You can also modify the color of kicker and body through the color prop on <CalloutKicker /> and <CalloutBody />.
<Callout bg="blue.800">
<CalloutKicker color="blue.300">{"Fri kunskap"}</CalloutKicker>
<CalloutBody color="green.400">
{
"Datastory är en ideell organisation som gör data och kunskap tillgängligt för alla i form av visuella appar och berättelser."
}
</CalloutBody>
</Callout>
You can also modify the default vertical padding via the py prop on <Callout />.
<Callout py={5}>
<CalloutKicker>{"Fri kunskap"}</CalloutKicker>
<CalloutBody>
{
"Datastory är en ideell organisation som gör data och kunskap tillgängligt för alla i form av visuella appar och berättelser."
}
</CalloutBody>
</Callout>
You can modify size of the container by changing the size prop on <Callout />:
<Callout size="lg">
<CalloutKicker>{"Fri kunskap"}</CalloutKicker>
<CalloutBody>
{
"Datastory är en ideell organisation som gör data och kunskap tillgängligt för alla i form av visuella appar och berättelser."
}
</CalloutBody>
</Callout>
FAQs
Callout component
We found that @ds-kit/callout demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.