Vela UI Docsvenizia.ai

camera-lens

CameraLens, 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-camera-lens.

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

Installation

pnpm dlx velaui add @velaui/icon-camera-lens

Usage

// components/icons/camera-lens.tsx
import CameraLens from "@/components/icons/camera-lens"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function CameraLens({ size = 24, strokeWidth = 1, className, ref, ...props }: CameraLensProps) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M7.8 10.1999L10.7994 8.07175L17.4 2.9999M12 7.1999L21 13.1999M16.2 10.7999L13.2 20.9999M14.4 15.5999H3M9.6 15.5999L4.8 2.9999M7.2 21.5999H16.8C19.451 21.5999 21.6 19.4509 21.6 16.7999V7.1999C21.6 4.54894 19.451 2.3999 16.8 2.3999H7.2C4.54903 2.3999 2.4 4.54894 2.4 7.1999V16.7999C2.4 19.4509 4.54903 21.5999 7.2 21.5999Z" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
    </svg>
  );
}
CameraLens.displayName = "CameraLens";

export default CameraLens;