Skip to content
Cuelark UI

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

Ionicons 5 · IoToggleOutline

Toggle Outline icon

A free toggle outline icon from Ionicons 5, 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
MIT license
Project
ionicons.com
Install with shadcn
npx shadcn@latest add https://ui.cuelark.com/r/icons/ionicons-5/toggle-outline.json
components/icons/ionicons-5-toggle-outline.tsx
import * as React from "react";

/**
 * Toggle Outline from Ionicons 5 (https://ionicons.com/), MIT.
 * Via Cuelark UI: ui.cuelark.com/icons/ionicons-5/toggle-outline. Sized in em, colored by currentColor.
 */
export function IoToggleOutlineIcon(props: React.SVGProps<SVGSVGElement>) {
  return (
    <svg
      aria-hidden="true"
      viewBox="0 0 512 512"
      stroke="currentColor"
      fill="currentColor"
      strokeWidth="0"
      width="1em"
      height="1em"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <circle cx="368" cy="256" r="128" fill="none" strokeLinejoin="round" strokeWidth="32" />
      <rect
        width="480"
        height="256"
        x="16"
        y="128"
        fill="none"
        strokeLinejoin="round"
        strokeWidth="32"
        rx="128"
        ry="128"
      />
    </svg>
  );
}
With react-icons
import { IoToggleOutline } from "react-icons/io5";

export function Example() {
  return <IoToggleOutline className="size-5" />;
}
toggle-outline.svg
<svg
  viewBox="0 0 512 512"
  stroke="currentColor"
  fill="currentColor"
  stroke-width="0"
  width="1em"
  height="1em"
  xmlns="http://www.w3.org/2000/svg"
>
  <circle cx="368" cy="256" r="128" fill="none" stroke-linejoin="round" stroke-width="32" />
  <rect
    width="480"
    height="256"
    x="16"
    y="128"
    fill="none"
    stroke-linejoin="round"
    stroke-width="32"
    rx="128"
    ry="128"
  />
</svg>
Attribution
"Toggle Outline" icon from Ionicons 5 (https://ionicons.com/), licensed under MIT license.

Related icons: