Vela UI Docsvenizia.ai

lock-04

Lock04, 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-04.

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

Installation

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

Usage

// components/icons/lock-04.tsx
import Lock04 from "@/components/icons/lock-04"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function Lock04({ size = 24, strokeWidth = 1, className, ref, ...props }: Lock04Props) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M6.59999 9.05591V7.86131C6.59999 4.83586 9.00856 2.3999 12 2.3999C14.9914 2.3999 17.4 4.83586 17.4 7.86131V9.65325M12 15.6854V13.2854M19.2 14.432C19.2 18.3908 15.9764 21.6001 12 21.6001C8.02354 21.6001 4.79999 18.3908 4.79999 14.432C4.79999 10.4731 8.02354 7.26388 12 7.26388C15.9764 7.26388 19.2 10.4731 19.2 14.432Z" stroke="currentColor" strokeLinecap="round"/>
    </svg>
  );
}
Lock04.displayName = "Lock04";

export default Lock04;