Vela UI Docsvenizia.ai

table

Table, 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-table.

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

Installation

pnpm dlx velaui add @velaui/icon-table

Usage

// components/icons/table.tsx
import Table from "@/components/icons/table"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function Table({ size = 24, strokeWidth = 0, className, ref, ...props }: TableProps) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M9.50002 2.40039C9.50002 2.12425 9.27617 1.90039 9.00002 1.90039C8.72388 1.90039 8.50002 2.12425 8.50002 2.40039H9.00002H9.50002ZM8.50002 21.6004C8.50002 21.8765 8.72388 22.1004 9.00002 22.1004C9.27617 22.1004 9.50002 21.8765 9.50002 21.6004H9.00002H8.50002ZM6.00002 2.40039V2.90039H18V2.40039V1.90039H6.00002V2.40039ZM21.6 6.00039H21.1V18.0004H21.6H22.1V6.00039H21.6ZM18 21.6004V21.1004H6.00002V21.6004V22.1004H18V21.6004ZM2.40002 18.0004H2.90002V6.00039H2.40002H1.90002V18.0004H2.40002ZM6.00002 21.6004V21.1004C4.28794 21.1004 2.90002 19.7125 2.90002 18.0004H2.40002H1.90002C1.90002 20.2648 3.73566 22.1004 6.00002 22.1004V21.6004ZM21.6 18.0004H21.1C21.1 19.7125 19.7121 21.1004 18 21.1004V21.6004V22.1004C20.2644 22.1004 22.1 20.2648 22.1 18.0004H21.6ZM18 2.40039V2.90039C19.7121 2.90039 21.1 4.28831 21.1 6.00039H21.6H22.1C22.1 3.73602 20.2644 1.90039 18 1.90039V2.40039ZM6.00002 2.40039V1.90039C3.73566 1.90039 1.90002 3.73602 1.90002 6.00039H2.40002H2.90002C2.90002 4.28831 4.28794 2.90039 6.00002 2.90039V2.40039ZM9.00002 2.40039H8.50002V21.6004H9.00002H9.50002V2.40039H9.00002ZM3.00002 9.00039V9.50039H21V9.00039V8.50039H3.00002V9.00039Z" fill="currentColor"/>
    </svg>
  );
}
Table.displayName = "Table";

export default Table;