Hover the icon or press Play. Suggested motion: pop. Pick another to preview it and update the animated code:
Prism icon
A free prism 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/prism.jsonimport * as React from "react";
/**
* Prism from Tabler Icons (https://github.com/tabler/tabler-icons), MIT.
* Via Cuelark UI: ui.cuelark.com/icons/tabler/prism. Sized in em, colored by currentColor.
*/
export function TbPrismIcon(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 9v13" />
<path
d="M19 17.17l-5.98 4.485a1.7 1.7 0 0 1 -2.04 0l-5.98 -4.485a2.5 2.5 0 0 1 -1 -2v-11.17a1 1 0 0 1 1 -1h14a1 1 0 0 1 1 1v11.17a2.5 2.5 0 0 1 -1 2"
/>
<path d="M4.3 3.3l6.655 5.186a1.7 1.7 0 0 0 2.09 0l6.655 -5.186" />
</svg>
);
}import { TbPrism } from "react-icons/tb";
export function Example() {
return <TbPrism 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="M12 9v13" />
<path
d="M19 17.17l-5.98 4.485a1.7 1.7 0 0 1 -2.04 0l-5.98 -4.485a2.5 2.5 0 0 1 -1 -2v-11.17a1 1 0 0 1 1 -1h14a1 1 0 0 1 1 1v11.17a2.5 2.5 0 0 1 -1 2"
/>
<path d="M4.3 3.3l6.655 5.186a1.7 1.7 0 0 0 2.09 0l6.655 -5.186" />
</svg>"Prism" icon from Tabler Icons (https://github.com/tabler/tabler-icons), licensed under MIT license.