Vela UI Docsvenizia.ai

dot-horizontal

DotHorizontal, 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-horizontal.

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

Installation

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

Usage

// components/icons/dot-horizontal.tsx
import DotHorizontal from "@/components/icons/dot-horizontal"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function DotHorizontal({ size = 24, strokeWidth = 0, className, ref, ...props }: DotHorizontalProps) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M7.2 12.0001C7.2 13.3256 6.12548 14.4001 4.8 14.4001C3.47452 14.4001 2.4 13.3256 2.4 12.0001C2.4 10.6746 3.47452 9.6001 4.8 9.6001C6.12548 9.6001 7.2 10.6746 7.2 12.0001Z" fill="currentColor"/>
      <path d="M14.4 12.0001C14.4 13.3256 13.3255 14.4001 12 14.4001C10.6745 14.4001 9.6 13.3256 9.6 12.0001C9.6 10.6746 10.6745 9.6001 12 9.6001C13.3255 9.6001 14.4 10.6746 14.4 12.0001Z" fill="currentColor"/>
      <path d="M21.6 12.0001C21.6 13.3256 20.5255 14.4001 19.2 14.4001C17.8745 14.4001 16.8 13.3256 16.8 12.0001C16.8 10.6746 17.8745 9.6001 19.2 9.6001C20.5255 9.6001 21.6 10.6746 21.6 12.0001Z" fill="currentColor"/>
    </svg>
  );
}
DotHorizontal.displayName = "DotHorizontal";

export default DotHorizontal;