Icons / shield-02 shield-02 Shield02, one of the 856 Vela UI icons, in the Security group: a 24px grid drawn in currentColor, so it takes the colour of the text around it. It installs on its own as @velaui/icon-shield-02.
Installation
pnpm npm yarn bun
pnpm dlx velaui add @velaui/icon-shield-02Copy npx shadcn@latest add @velaui/icon-shield-02Copy yarn dlx shadcn@latest add @velaui/icon-shield-02Copy bunx --bun shadcn@latest add @velaui/icon-shield-02Copy Usage
Copy // components/icons/shield-02.tsx
import Shield02 from "@/components/icons/shield-02"
<Shield02 className = "size-5 text-muted" /> In use In a button
Add event
In a sentence
Due Friday , or whenever the venue confirms.
In an input
As a badge
Scheduled
In an empty state
Source Copy import * as React from "react" ;
export interface Shield02Props extends React.SVGProps<SVGSVGElement> {
size ?: number | string;
}
/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function Shield02 ({ size = 24, strokeWidth = 1, className, ref, ... props } : Shield02Props) {
return (
<svg
ref = {ref}
width = {size}
height = {size}
viewBox = "0 0 24 24"
fill = "none"
strokeWidth = {strokeWidth}
className = {className}
{ ... props}
>
<path d = "M13.3417 3.07072C12.4971 2.64843 11.503 2.64843 10.6584 3.07072L4.80005 5.9999V14.0279C4.80005 16.1999 7.36245 18.6711 12 21.5999C16.6377 18.6711 19.2001 16.7999 19.2001 14.0279C19.2001 11.2559 19.2001 5.9999 19.2001 5.9999L13.3417 3.07072Z" stroke = "currentColor" strokeLinejoin = "round" />
</svg>
);
}
Shield02.displayName = "Shield02" ;
export default Shield02;