Skip to content
Cuelark UI

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

Lucide · LuCog

Cog icon

A free cog icon from Lucide, 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
ISC license
Project
lucide.dev
Install with shadcn
npx shadcn@latest add https://ui.cuelark.com/r/icons/lucide/cog.json
components/icons/lucide-cog.tsx
import * as React from "react";

/**
 * Cog from Lucide (https://lucide.dev/), ISC.
 * Via Cuelark UI: ui.cuelark.com/icons/lucide/cog. Sized in em, colored by currentColor.
 */
export function LuCogIcon(props: React.SVGProps<SVGSVGElement>) {
  return (
    <svg
      aria-hidden="true"
      fill="none"
      strokeWidth="2"
      viewBox="0 0 24 24"
      strokeLinecap="round"
      strokeLinejoin="round"
      stroke="currentColor"
      fill="currentColor"
      width="1em"
      height="1em"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path d="M12 20a8 8 0 1 0 0-16 8 8 0 0 0 0 16Z" />
      <path d="M12 14a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z" />
      <path d="M12 2v2" />
      <path d="M12 22v-2" />
      <path d="m17 20.66-1-1.73" />
      <path d="M11 10.27 7 3.34" />
      <path d="m20.66 17-1.73-1" />
      <path d="m3.34 7 1.73 1" />
      <path d="M14 12h8" />
      <path d="M2 12h2" />
      <path d="m20.66 7-1.73 1" />
      <path d="m3.34 17 1.73-1" />
      <path d="m17 3.34-1 1.73" />
      <path d="m11 13.73-4 6.93" />
    </svg>
  );
}
With react-icons
import { LuCog } from "react-icons/lu";

export function Example() {
  return <LuCog className="size-5" />;
}
cog.svg
<svg
  fill="none"
  stroke-width="2"
  viewBox="0 0 24 24"
  stroke-linecap="round"
  stroke-linejoin="round"
  stroke="currentColor"
  fill="currentColor"
  width="1em"
  height="1em"
  xmlns="http://www.w3.org/2000/svg"
>
  <path d="M12 20a8 8 0 1 0 0-16 8 8 0 0 0 0 16Z" />
  <path d="M12 14a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z" />
  <path d="M12 2v2" />
  <path d="M12 22v-2" />
  <path d="m17 20.66-1-1.73" />
  <path d="M11 10.27 7 3.34" />
  <path d="m20.66 17-1.73-1" />
  <path d="m3.34 7 1.73 1" />
  <path d="M14 12h8" />
  <path d="M2 12h2" />
  <path d="m20.66 7-1.73 1" />
  <path d="m3.34 17 1.73-1" />
  <path d="m17 3.34-1 1.73" />
  <path d="m11 13.73-4 6.93" />
</svg>
Attribution
"Cog" icon from Lucide (https://lucide.dev/), licensed under ISC license.

Related icons: settings, gear, preferences, config

Cog icon in other sets