Vela UI Docsvenizia.ai

password-01

Password01, 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-password-01.

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

Installation

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

Usage

// components/icons/password-01.tsx
import Password01 from "@/components/icons/password-01"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function Password01({ size = 24, strokeWidth = 1, className, ref, ...props }: Password01Props) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M6.52891 12.0001H6.66894M12 12.0001H12.14M17.3295 12.0001H17.4695M2.40002 15.2668V8.73343C2.40002 7.55522 3.35515 6.6001 4.53336 6.6001H19.4667C20.6449 6.6001 21.6 7.55522 21.6 8.73343V15.2668C21.6 16.445 20.6449 17.4001 19.4667 17.4001H4.53336C3.35515 17.4001 2.40002 16.445 2.40002 15.2668Z" stroke="currentColor" strokeLinecap="round"/>
    </svg>
  );
}
Password01.displayName = "Password01";

export default Password01;