Vela UI Docsvenizia.ai

zoom-out

ZoomOut, 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-zoom-out.

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

Installation

pnpm dlx velaui add @velaui/icon-zoom-out

Usage

// components/icons/zoom-out.tsx
import ZoomOut from "@/components/icons/zoom-out"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function ZoomOut({ size = 24, strokeWidth = 1, className, ref, ...props }: ZoomOutProps) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M16.9268 17.0396L20.4 20.3996M8.39998 11.3996H14.4M19.28 11.4396C19.28 15.7695 15.7699 19.2796 11.44 19.2796C7.11006 19.2796 3.59998 15.7695 3.59998 11.4396C3.59998 7.1097 7.11006 3.59961 11.44 3.59961C15.7699 3.59961 19.28 7.1097 19.28 11.4396Z" stroke="currentColor" strokeLinecap="round"/>
    </svg>
  );
}
ZoomOut.displayName = "ZoomOut";

export default ZoomOut;