
Security News
Deno 2.6 + Socket: Supply Chain Defense In Your CLI
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.
@leafygreen-ui/canvas-header
Advanced tools
yarn add @leafygreen-ui/canvas-header
npm install @leafygreen-ui/canvas-header
import { CanvasHeader } from `@leafygreen-ui/canvas-header`;
import Button from '@leafygreen-ui/button';
import Icon from '@leafygreen-ui/icon';
import { BackLink } from '@leafygreen-ui/typography';
<CanvasHeader
pageTitle="page title"
resourceName='ac_iqttxwn_shard-00-01.hvcuthh.mongodbnet:27017_324892384903284902384903284903284902384903284832908_long_name'
resourceIcon={<Icon glyph={'ShardedCluster'} />}
backLink={
<BackLink
href="/home"
>
Back to Cluster
</BackLink>
}
actions={
<Button
variant="primary"
leftGlyph={<Icon glyph={'InviteUser'} />}
>
Invite user
</Button>
}
badges={
<>
<Badge variant="green">Enabled</Badge>
<Badge variant="blue">In Dev Mode</Badge>
</>
}
/>
| Prop | Type | Description | Default |
|---|---|---|---|
darkMode | boolean | Determines if the component renders in dark mode | false |
pageTitle | React.ReactNode | Required page title | |
resourceName | string | Optional resource name that will copy to the clipboard when clicked | |
resourceIcon | React.ReactNode | Optional icon that will render to the left of the resource name | |
badges | React.ReactNode | Optional badges that will render to the right of the resource name | |
actions | React.ReactNode | Optional buttons that will render to the right of the badges or resource name | |
backLink | React.ReactNode | Optional link that will render above the page title. |
FAQs
LeafyGreen UI Kit Canvas Header
We found that @leafygreen-ui/canvas-header demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 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
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.

Security News
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.