Vela UI Docsvenizia.ai

grid-02

Grid02, 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-grid-02.

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

Installation

pnpm dlx velaui add @velaui/icon-grid-02

Usage

// components/icons/grid-02.tsx
import Grid02 from "@/components/icons/grid-02"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function Grid02({ size = 24, strokeWidth = 1, className, ref, ...props }: Grid02Props) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M8.80002 2.40039H4.53336C3.35515 2.40039 2.40002 3.35552 2.40002 4.53372V8.80039M8.80002 21.6004H4.53336C3.35515 21.6004 2.40002 20.6453 2.40002 19.4671V15.2004M15.2 2.40039H19.4667C20.6449 2.40039 21.6 3.35552 21.6 4.53372V8.80039M21.6 15.2004V19.4671C21.6 20.6453 20.6449 21.6004 19.4667 21.6004H15.2M15.0002 12.0005H12.3002M12.3002 12.0005H9.60016M12.3002 12.0005V14.7004M12.3002 12.0005V9.3004" stroke="currentColor" strokeLinecap="round"/>
    </svg>
  );
}
Grid02.displayName = "Grid02";

export default Grid02;