Vela UI Docsvenizia.ai

battery-03

Battery03, 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-battery-03.

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

Installation

pnpm dlx velaui add @velaui/icon-battery-03

Usage

// components/icons/battery-03.tsx
import Battery03 from "@/components/icons/battery-03"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function Battery03({ size = 24, strokeWidth = 1, className, ref, ...props }: Battery03Props) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M22.2 13.8V10.2M5.4 13.8V10.2M10.2 13.8V10.2M15 13.8V10.2M4.2 18H16.2C17.5255 18 18.6 16.9255 18.6 15.6V8.4C18.6 7.07452 17.5255 6 16.2 6H4.2C2.87452 6 1.8 7.07452 1.8 8.4V15.6C1.8 16.9255 2.87452 18 4.2 18Z" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
    </svg>
  );
}
Battery03.displayName = "Battery03";

export default Battery03;