Vela UI Docsvenizia.ai

lock-03

Lock03, 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-lock-03.

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

Installation

pnpm dlx velaui add @velaui/icon-lock-03

Usage

// components/icons/lock-03.tsx
import Lock03 from "@/components/icons/lock-03"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function Lock03({ size = 24, strokeWidth = 1, className, ref, ...props }: Lock03Props) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M6.59999 8.7999V7.88562C6.59999 4.84671 9.00856 2.3999 12 2.3999C14.9914 2.3999 17.4 4.84671 17.4 7.88562V8.7999M6.59999 8.7999C5.60999 8.7999 4.79999 9.62276 4.79999 10.6285V19.7713C4.79999 20.777 5.60999 21.5999 6.59999 21.5999H17.4C18.39 21.5999 19.2 20.777 19.2 19.7713V10.6285C19.2 9.62276 18.39 8.7999 17.4 8.7999M6.59999 8.7999H17.4" stroke="currentColor" strokeLinecap="round"/>
    </svg>
  );
}
Lock03.displayName = "Lock03";

export default Lock03;