Vela UI Docsvenizia.ai

hourglass-01

Hourglass01, 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-hourglass-01.

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

Installation

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

Usage

// components/icons/hourglass-01.tsx
import Hourglass01 from "@/components/icons/hourglass-01"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function Hourglass01({ size = 24, strokeWidth = 1, className, ref, ...props }: Hourglass01Props) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M7.27128 21H17.2287C17.7928 21 18.25 20.5395 18.25 19.9714V17.2237C18.25 17.0042 18.1802 16.7904 18.0509 16.6136L15.1058 12.5881C14.8481 12.2359 14.8398 11.7581 15.0851 11.3971L17.8163 7.3769C17.9325 7.20582 17.9947 7.00337 17.9947 6.79608V4.02857C17.9947 3.46051 17.5374 3 16.9734 3H7.27128C6.70724 3 6.25 3.46051 6.25 4.02857V6.77626C6.25 6.99584 6.31977 7.20964 6.44909 7.38641L9.37807 11.3899C9.64353 11.7527 9.64353 12.2473 9.37807 12.6101L6.44909 16.6136C6.31977 16.7904 6.25 17.0042 6.25 17.2237V19.9714C6.25 20.5395 6.70724 21 7.27128 21Z" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
    </svg>
  );
}
Hourglass01.displayName = "Hourglass01";

export default Hourglass01;