Icons / battery-fill-01 battery-fill-01 BatteryFill01, 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-fill-01.
Installation
pnpm npm yarn bun
pnpm dlx velaui add @velaui/icon-battery-fill-01Copy npx shadcn@latest add @velaui/icon-battery-fill-01Copy yarn dlx shadcn@latest add @velaui/icon-battery-fill-01Copy bunx --bun shadcn@latest add @velaui/icon-battery-fill-01Copy Usage
Copy // components/icons/battery-fill-01.tsx
import BatteryFill01 from "@/components/icons/battery-fill-01"
<BatteryFill01 className = "size-5 text-muted" /> In use In a button
Add event
In a sentence
Due Friday , or whenever the venue confirms.
In an input
As a badge
Scheduled
In an empty state
Source Copy import * as React from "react" ;
export interface BatteryFill01Props extends React.SVGProps<SVGSVGElement> {
size ?: number | string;
}
/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function BatteryFill01 ({ size = 24, strokeWidth = 1, className, ref, ... props } : BatteryFill01Props) {
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.2M6.6 9.6H5.4V14.4H6.6M6.6 9.6H7.8V14.4H6.6M6.6 9.6V14.4M4.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>
);
}
BatteryFill01.displayName = "BatteryFill01" ;
export default BatteryFill01;