Vela UI Docsvenizia.ai

colors-01

Colors01, 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-colors-01.

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

Installation

pnpm dlx velaui add @velaui/icon-colors-01

Usage

// components/icons/colors-01.tsx
import Colors01 from "@/components/icons/colors-01"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function Colors01({ size = 24, strokeWidth = 1, className, ref, ...props }: Colors01Props) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M5.20001 9.44326C3.06862 10.4819 1.60001 12.6694 1.60001 15.1999C1.60001 18.7345 4.46538 21.5999 8 21.5999C11.5346 21.5999 14.4 18.7345 14.4 15.1999C14.4 14.9289 14.3832 14.6619 14.3505 14.3999M12.4 20.4922C13.4257 21.1912 14.6651 21.5999 16 21.5999C19.5346 21.5999 22.4 18.7345 22.4 15.1999C22.4 12.4503 20.6661 10.1058 18.2321 9.1999M18.4 8.7999C18.4 12.3345 15.5346 15.1999 12 15.1999C8.46538 15.1999 5.60001 12.3345 5.60001 8.7999C5.60001 5.26528 8.46538 2.3999 12 2.3999C15.5346 2.3999 18.4 5.26528 18.4 8.7999Z" stroke="currentColor"/>
    </svg>
  );
}
Colors01.displayName = "Colors01";

export default Colors01;