Hover the icon or press Play. Suggested motion: pop. Pick another to preview it and update the animated code:
Stack icon
A free stack 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/stack.jsonimport * as React from "react";
/**
* Stack from css.gg (https://github.com/astrit/css.gg), MIT.
* Via Cuelark UI: ui.cuelark.com/icons/css-gg/stack. Sized in em, colored by currentColor.
*/
export function CgStackIcon(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="M20 4V16H22V2H8V4H20Z" fill="currentColor" />
<path
fillRule="evenodd"
clipRule="evenodd"
d="M2 8V22H16V8H2ZM14 10H4V20H14V10Z"
fill="currentColor"
/>
<path d="M17 7H5V5H19V19H17V7Z" fill="currentColor" />
</svg>
);
}import { CgStack } from "react-icons/cg";
export function Example() {
return <CgStack 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="M20 4V16H22V2H8V4H20Z" fill="currentColor" />
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M2 8V22H16V8H2ZM14 10H4V20H14V10Z"
fill="currentColor"
/>
<path d="M17 7H5V5H19V19H17V7Z" fill="currentColor" />
</svg>"Stack" icon from css.gg (https://github.com/astrit/css.gg), licensed under MIT license.