Hover the icon or press Play. Suggested motion: pop. Pick another to preview it and update the animated code:
Switch icon
A free switch icon from Tabler 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
- MIT license
- Project
- github.com
npx shadcn@latest add https://ui.cuelark.com/r/icons/tabler/switch.jsonimport * as React from "react";
/**
* Switch from Tabler Icons (https://github.com/tabler/tabler-icons), MIT.
* Via Cuelark UI: ui.cuelark.com/icons/tabler/switch. Sized in em, colored by currentColor.
*/
export function TbSwitchIcon(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="M15 4l4 0l0 4" />
<path d="M14.75 9.25l4.25 -5.25" />
<path d="M5 19l4 -4" />
<path d="M15 19l4 0l0 -4" />
<path d="M5 5l14 14" />
</svg>
);
}import { TbSwitch } from "react-icons/tb";
export function Example() {
return <TbSwitch className="size-5" />;
}<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="M15 4l4 0l0 4" />
<path d="M14.75 9.25l4.25 -5.25" />
<path d="M5 19l4 -4" />
<path d="M15 19l4 0l0 -4" />
<path d="M5 5l14 14" />
</svg>"Switch" icon from Tabler Icons (https://github.com/tabler/tabler-icons), licensed under MIT license.Related icons: power, on, off, shutdown
- circuit switch closed
- circuit switch open
- switch horizontal
- switch vertical
- ab off
- abacus off
- access point off
- accessible off
- ad circle off
- ad off
- address book off
- adjustments off
- alarm off
- album off
- alert circle off
- alert hexagon off
- alert small off
- alert square rounded off
- alert triangle off
- analyze off
- anchor off
- antenna bars off
- antenna off
- aperture off