Vela UI Docsvenizia.ai

dot-vertical

DotVertical, 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-dot-vertical.

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

Installation

pnpm dlx velaui add @velaui/icon-dot-vertical

Usage

// components/icons/dot-vertical.tsx
import DotVertical from "@/components/icons/dot-vertical"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function DotVertical({ size = 24, strokeWidth = 0, className, ref, ...props }: DotVerticalProps) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M12 7.1999C10.6745 7.1999 9.6 6.12539 9.6 4.7999C9.6 3.47442 10.6745 2.3999 12 2.3999C13.3255 2.3999 14.4 3.47442 14.4 4.7999C14.4 6.12539 13.3255 7.1999 12 7.1999Z" fill="currentColor"/>
      <path d="M12 14.3999C10.6745 14.3999 9.6 13.3254 9.6 11.9999C9.6 10.6744 10.6745 9.5999 12 9.5999C13.3255 9.5999 14.4 10.6744 14.4 11.9999C14.4 13.3254 13.3255 14.3999 12 14.3999Z" fill="currentColor"/>
      <path d="M12 21.5999C10.6745 21.5999 9.6 20.5254 9.6 19.1999C9.6 17.8744 10.6745 16.7999 12 16.7999C13.3255 16.7999 14.4 17.8744 14.4 19.1999C14.4 20.5254 13.3255 21.5999 12 21.5999Z" fill="currentColor"/>
    </svg>
  );
}
DotVertical.displayName = "DotVertical";

export default DotVertical;