Vela UI Docsvenizia.ai

shield-01

Shield01, 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-01.

  • 16px
  • 20px
  • 24px
  • 32px

Installation

pnpm dlx velaui add @velaui/icon-shield-01

Usage

// components/icons/shield-01.tsx
import Shield01 from "@/components/icons/shield-01"

<Shield01 className="size-5 text-muted" />

In use

  • In a button

  • In a sentence

    Due Friday, or whenever the venue confirms.

  • In an input

  • As a badge

    Scheduled
  • In an empty state

    No events on this day yet.

    Browse blocks

Source

import * as React from "react";

export interface Shield01Props extends React.SVGProps<SVGSVGElement> {
  size?: number | string;
}

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function Shield01({ size = 24, strokeWidth = 1, className, ref, ...props }: Shield01Props) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M12 2.3999C9.30325 4.6927 7.61285 4.7999 4.80005 4.7999V14.0279C4.80005 17.7103 7.36245 18.6711 12 21.5999C16.6376 18.6711 19.2001 17.7103 19.2001 14.0279C19.2001 10.3455 19.2001 4.7999 19.2001 4.7999C16.3872 4.7999 14.6968 4.6927 12 2.3999Z" stroke="currentColor" strokeLinejoin="round"/>
    </svg>
  );
}
Shield01.displayName = "Shield01";

export default Shield01;