Vela UI Docsvenizia.ai

user-profile-02

UserProfile02, one of the 856 Vela UI icons, in the General 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-user-profile-02.

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

Installation

pnpm dlx velaui add @velaui/icon-user-profile-02

Usage

// components/icons/user-profile-02.tsx
import UserProfile02 from "@/components/icons/user-profile-02"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function UserProfile02({ size = 24, strokeWidth = 1, className, ref, ...props }: UserProfile02Props) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M2.4 20.5123C2.4 16.7368 5.55429 13.6761 12 13.6761C18.4457 13.6761 21.6 16.7368 21.6 20.5123C21.6 21.113 21.1618 21.5999 20.6212 21.5999H3.37882C2.83824 21.5999 2.4 21.113 2.4 20.5123Z" stroke="currentColor"/>
      <path d="M15.6 5.9999C15.6 7.98813 13.9882 9.5999 12 9.5999C10.0118 9.5999 8.4 7.98813 8.4 5.9999C8.4 4.01168 10.0118 2.3999 12 2.3999C13.9882 2.3999 15.6 4.01168 15.6 5.9999Z" stroke="currentColor"/>
    </svg>
  );
}
UserProfile02.displayName = "UserProfile02";

export default UserProfile02;