Vela UI Docsvenizia.ai

clock-01

Clock01, 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-clock-01.

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

Installation

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

Usage

// components/icons/clock-01.tsx
import Clock01 from "@/components/icons/clock-01"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function Clock01({ size = 24, strokeWidth = 0, className, ref, ...props }: Clock01Props) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M15.7169 14.7243C15.9789 14.8117 16.262 14.6701 16.3493 14.4081C16.4367 14.1461 16.2951 13.863 16.0331 13.7757L15.875 14.25L15.7169 14.7243ZM12.5 13.125H12C12 13.3402 12.1377 13.5313 12.3419 13.5993L12.5 13.125ZM13 8.42087C13 8.14473 12.7761 7.92087 12.5 7.92087C12.2239 7.92087 12 8.14473 12 8.42087H12.5H13ZM15.875 14.25L16.0331 13.7757L12.6581 12.6507L12.5 13.125L12.3419 13.5993L15.7169 14.7243L15.875 14.25ZM12.5 13.125H13V8.42087H12.5H12V13.125H12.5ZM21.5 12H21C21 16.6944 17.1944 20.5 12.5 20.5V21V21.5C17.7467 21.5 22 17.2467 22 12H21.5ZM12.5 21V20.5C7.80558 20.5 4 16.6944 4 12H3.5H3C3 17.2467 7.25329 21.5 12.5 21.5V21ZM3.5 12H4C4 7.30558 7.80558 3.5 12.5 3.5V3V2.5C7.25329 2.5 3 6.75329 3 12H3.5ZM12.5 3V3.5C17.1944 3.5 21 7.30558 21 12H21.5H22C22 6.75329 17.7467 2.5 12.5 2.5V3Z" fill="currentColor"/>
    </svg>
  );
}
Clock01.displayName = "Clock01";

export default Clock01;