Vela UI Docsvenizia.ai

shield-check

ShieldCheck, 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-check.

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

Installation

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

Usage

// components/icons/shield-check.tsx
import ShieldCheck from "@/components/icons/shield-check"

<ShieldCheck 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 ShieldCheckProps extends React.SVGProps<SVGSVGElement> {
  size?: number | string;
}

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function ShieldCheck({ size = 24, strokeWidth = 1, className, ref, ...props }: ShieldCheckProps) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M9.60005 11.1874L11.4 12.9874L15.0001 9.38738M4.80005 5.78738L10.3901 2.99237C11.4036 2.48562 12.5965 2.48562 13.61 2.99237L19.2001 5.78738C19.2001 5.78738 19.2001 11.0434 19.2001 13.8154C19.2001 16.5874 16.6377 18.4586 12 21.3874C7.36245 18.4586 4.80005 15.9874 4.80005 13.8154V5.78738Z" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
    </svg>
  );
}
ShieldCheck.displayName = "ShieldCheck";

export default ShieldCheck;