Hover the icon or press Play. Suggested motion: pop. Pick another to preview it and update the animated code:
Slash icon
A free slash icon from Heroicons 2, 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/heroicons-2/slash.jsonimport * as React from "react";
/**
* Slash from Heroicons 2 (https://github.com/tailwindlabs/heroicons), MIT.
* Via Cuelark UI: ui.cuelark.com/icons/heroicons-2/slash. Sized in em, colored by currentColor.
*/
export function HiSlashIcon(props: React.SVGProps<SVGSVGElement>) {
return (
<svg
aria-hidden="true"
viewBox="0 0 24 24"
aria-hidden="true"
stroke="currentColor"
fill="currentColor"
strokeWidth="0"
width="1em"
height="1em"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<path
fillRule="evenodd"
d="M15.256 3.042a.75.75 0 0 1 .449.962l-6 16.5a.75.75 0 1 1-1.41-.513l6-16.5a.75.75 0 0 1 .961-.449Z"
clipRule="evenodd"
/>
</svg>
);
}import { HiSlash } from "react-icons/hi2";
export function Example() {
return <HiSlash className="size-5" />;
}<svg
viewBox="0 0 24 24"
aria-hidden="true"
stroke="currentColor"
fill="currentColor"
stroke-width="0"
width="1em"
height="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
fill-rule="evenodd"
d="M15.256 3.042a.75.75 0 0 1 .449.962l-6 16.5a.75.75 0 1 1-1.41-.513l6-16.5a.75.75 0 0 1 .961-.449Z"
clip-rule="evenodd"
/>
</svg>"Slash" icon from Heroicons 2 (https://github.com/tailwindlabs/heroicons), licensed under MIT license.Related icons:
- bell slash
- bolt slash
- bookmark slash
- eye slash
- link slash
- mini bell slash
- mini bolt slash
- mini bookmark slash
- mini eye slash
- mini link slash
- mini signal slash
- mini slash
- mini video camera slash
- outline bell slash
- outline bolt slash
- outline bookmark slash
- outline eye slash
- outline link slash
- outline signal slash
- outline slash
- outline video camera slash
- signal slash
- video camera slash