Hover the icon or press Play. Suggested motion: pop. Pick another to preview it and update the animated code:
Spectrum icon
A free spectrum icon from css.gg, 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/css-gg/spectrum.jsonimport * as React from "react";
/**
* Spectrum from css.gg (https://github.com/astrit/css.gg), MIT.
* Via Cuelark UI: ui.cuelark.com/icons/css-gg/spectrum. Sized in em, colored by currentColor.
*/
export function CgSpectrumIcon(props: React.SVGProps<SVGSVGElement>) {
return (
<svg
aria-hidden="true"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
fill="currentColor"
strokeWidth="0"
width="1em"
height="1em"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<path
d="M12 16H16C16 11.5817 12.4183 8 8 8V12C10.2091 12 12 13.7909 12 16Z"
fill="currentColor"
/>
</svg>
);
}import { CgSpectrum } from "react-icons/cg";
export function Example() {
return <CgSpectrum className="size-5" />;
}<svg
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
fill="currentColor"
stroke-width="0"
width="1em"
height="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M12 16H16C16 11.5817 12.4183 8 8 8V12C10.2091 12 12 13.7909 12 16Z"
fill="currentColor"
/>
</svg>"Spectrum" icon from css.gg (https://github.com/astrit/css.gg), licensed under MIT license.