Vela UI Docsvenizia.ai

alarm-01

Alarm01, 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-alarm-01.

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

Installation

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

Usage

// components/icons/alarm-01.tsx
import Alarm01 from "@/components/icons/alarm-01"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function Alarm01({ size = 24, strokeWidth = 1, className, ref, ...props }: Alarm01Props) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M12 9.31239V12.4503C12 12.654 12.0809 12.8493 12.2249 12.9933L13.92 14.6884M2.4 7.00839V6.24039C2.4 4.11962 4.11923 2.40039 6.24 2.40039H7.008M16.992 2.40039L17.76 2.40039C19.8808 2.40039 21.6 4.11962 21.6 6.24039V7.00839M5.856 18.9124L3.168 21.6004M20.832 21.6004L18.144 18.9124M20.448 12.7684C20.448 17.4341 16.6657 21.2164 12 21.2164C7.3343 21.2164 3.552 17.4341 3.552 12.7684C3.552 8.10269 7.3343 4.32039 12 4.32039C16.6657 4.32039 20.448 8.10269 20.448 12.7684Z" stroke="currentColor" strokeLinecap="round"/>
    </svg>
  );
}
Alarm01.displayName = "Alarm01";

export default Alarm01;