Skip to content
Cuelark UI

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

Radix Icons · RxSlash

Slash icon

A free slash icon from Radix 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
icons.radix-ui.com
Install with shadcn
npx shadcn@latest add https://ui.cuelark.com/r/icons/radix/slash.json
components/icons/radix-slash.tsx
import * as React from "react";

/**
 * Slash from Radix Icons (https://icons.radix-ui.com), MIT.
 * Via Cuelark UI: ui.cuelark.com/icons/radix/slash. Sized in em, colored by currentColor.
 */
export function RxSlashIcon(props: React.SVGProps<SVGSVGElement>) {
  return (
    <svg
      aria-hidden="true"
      fill="none"
      viewBox="0 0 15 15"
      stroke="currentColor"
      fill="currentColor"
      strokeWidth="0"
      width="1em"
      height="1em"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path d="M5.46033 14H4.10779L9.46521 1H10.8177L5.46033 14Z" fill="currentColor" />
    </svg>
  );
}
With react-icons
import { RxSlash } from "react-icons/rx";

export function Example() {
  return <RxSlash className="size-5" />;
}
slash.svg
<svg
  fill="none"
  viewBox="0 0 15 15"
  stroke="currentColor"
  fill="currentColor"
  stroke-width="0"
  width="1em"
  height="1em"
  xmlns="http://www.w3.org/2000/svg"
>
  <path d="M5.46033 14H4.10779L9.46521 1H10.8177L5.46033 14Z" fill="currentColor" />
</svg>
Attribution
"Slash" icon from Radix Icons (https://icons.radix-ui.com), licensed under MIT license.

Slash icon in other sets