Icons / flash-on flash-on FlashOn, 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-flash-on.
Installation
pnpm npm yarn bun
pnpm dlx velaui add @velaui/icon-flash-onCopy npx shadcn@latest add @velaui/icon-flash-onCopy yarn dlx shadcn@latest add @velaui/icon-flash-onCopy bunx --bun shadcn@latest add @velaui/icon-flash-onCopy Usage
Copy // components/icons/flash-on.tsx
import FlashOn from "@/components/icons/flash-on"
<FlashOn 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 FlashOnProps extends React.SVGProps<SVGSVGElement> {
size ?: number | string;
}
/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function FlashOn ({ size = 24, strokeWidth = 1, className, ref, ... props } : FlashOnProps) {
return (
<svg
ref = {ref}
width = {size}
height = {size}
viewBox = "0 0 24 24"
fill = "none"
strokeWidth = {strokeWidth}
className = {className}
{ ... props}
>
<path d = "M19.0969 11.0866L12.0912 21.32C11.7383 21.8286 10.908 21.6002 10.908 20.9879L10.8977 15.1343C10.8977 14.4596 10.3268 13.92 9.62109 13.9096L5.43845 13.8577C4.92989 13.8473 4.62892 13.318 4.90914 12.9132L11.9148 2.6798C12.2677 2.17124 13.098 2.39958 13.098 3.01192L13.1083 8.86554C13.1083 9.54016 13.6792 10.0798 14.3849 10.0902L18.5675 10.1421C19.0657 10.1421 19.3667 10.6818 19.0969 11.0866Z" stroke = "currentColor" strokeLinecap = "round" strokeLinejoin = "round" />
</svg>
);
}
FlashOn.displayName = "FlashOn" ;
export default FlashOn;