Vela UI Docsvenizia.ai

battery-04

Battery04, 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-04.

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

Installation

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

Usage

// components/icons/battery-04.tsx
import Battery04 from "@/components/icons/battery-04"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function Battery04({ size = 24, strokeWidth = 1, className, ref, ...props }: Battery04Props) {
  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.2M10.2 15L13.2 12H7.8L10.8 9M4.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>
  );
}
Battery04.displayName = "Battery04";

export default Battery04;