Skip to content
Cuelark UI

Hover the icon or press Play. Suggested motion: spin. Pick another to preview it and update the animated code:

VS Code Icons · VscLightbulbCompact

Lightbulb Compact icon

A free lightbulb compact icon from VS Code Icons, ready for React. Use it static or animated: both versions are below, copy-paste or one shadcn command away. Sized in em and colored by currentColor.

License
CC BY 4.0 license
Project
github.com
Install with shadcn
npx shadcn@latest add https://ui.cuelark.com/r/icons/vscode-codicons/lightbulb-compact.json
components/icons/vscode-codicons-lightbulb-compact.tsx
import * as React from "react";

/**
 * Lightbulb Compact from VS Code Icons (https://github.com/microsoft/vscode-codicons), CC BY 4.0.
 * Via Cuelark UI: ui.cuelark.com/icons/vscode-codicons/lightbulb-compact. Sized in em, colored by currentColor.
 */
export function VscLightbulbCompactIcon(props: React.SVGProps<SVGSVGElement>) {
  return (
    <svg
      aria-hidden="true"
      viewBox="0 0 12 12"
      stroke="currentColor"
      fill="currentColor"
      strokeWidth="0"
      width="1em"
      height="1em"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M2.5 4.5C2.5 2.57 4.07 1 6 1C7.93 1 9.5 2.57 9.5 4.5C9.5 5.48 9.1 6.36 8.45 7C8.26 7.19 8.09 7.44 8.01 7.74L7.66 9.01H4.33L3.98 7.74C3.9 7.44 3.73 7.19 3.54 7C2.89 6.36 2.49 5.48 2.49 4.5H2.5ZM4.61 10H7.39L7.22 10.63C7.16 10.85 6.96 11 6.74 11H5.27C5.04 11 4.85 10.85 4.79 10.63L4.62 10H4.61ZM6 0C3.51 0 1.5 2.01 1.5 4.5C1.5 5.76 2.02 6.89 2.84 7.71C2.94 7.81 3 7.9 3.02 8L3.81 10.9C3.99 11.55 4.58 12.01 5.26 12.01H6.73C7.41 12.01 8 11.56 8.18 10.9L8.97 8C9 7.91 9.05 7.81 9.15 7.71C9.98 6.89 10.49 5.76 10.49 4.5C10.49 2.01 8.48 0 5.99 0H6Z"
      />
    </svg>
  );
}
With react-icons
import { VscLightbulbCompact } from "react-icons/vsc";

export function Example() {
  return <VscLightbulbCompact className="size-5" />;
}
lightbulb-compact.svg
<svg
  viewBox="0 0 12 12"
  stroke="currentColor"
  fill="currentColor"
  stroke-width="0"
  width="1em"
  height="1em"
  xmlns="http://www.w3.org/2000/svg"
>
  <path
    d="M2.5 4.5C2.5 2.57 4.07 1 6 1C7.93 1 9.5 2.57 9.5 4.5C9.5 5.48 9.1 6.36 8.45 7C8.26 7.19 8.09 7.44 8.01 7.74L7.66 9.01H4.33L3.98 7.74C3.9 7.44 3.73 7.19 3.54 7C2.89 6.36 2.49 5.48 2.49 4.5H2.5ZM4.61 10H7.39L7.22 10.63C7.16 10.85 6.96 11 6.74 11H5.27C5.04 11 4.85 10.85 4.79 10.63L4.62 10H4.61ZM6 0C3.51 0 1.5 2.01 1.5 4.5C1.5 5.76 2.02 6.89 2.84 7.71C2.94 7.81 3 7.9 3.02 8L3.81 10.9C3.99 11.55 4.58 12.01 5.26 12.01H6.73C7.41 12.01 8 11.56 8.18 10.9L8.97 8C9 7.91 9.05 7.81 9.15 7.71C9.98 6.89 10.49 5.76 10.49 4.5C10.49 2.01 8.48 0 5.99 0H6Z"
  />
</svg>
Attribution
"Lightbulb Compact" icon from VS Code Icons (https://github.com/microsoft/vscode-codicons), licensed under CC BY 4.0 license.

Related icons: idea, bulb, light, tip