Hover the icon or press Play. Suggested motion: drive. Pick another to preview it and update the animated code:
Card Diamonds icon
A free card diamonds 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/card-diamonds.jsonimport * as React from "react";
/**
* Card Diamonds from css.gg (https://github.com/astrit/css.gg), MIT.
* Via Cuelark UI: ui.cuelark.com/icons/css-gg/card-diamonds. Sized in em, colored by currentColor.
*/
export function CgCardDiamondsIcon(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 7.75736L7.75736 12L12 16.2426L16.2426 12L12 7.75736Z" fill="currentColor" />
<path
fillRule="evenodd"
clipRule="evenodd"
d="M3 4C3 2.34315 4.34315 1 6 1H18C19.6569 1 21 2.34315 21 4V20C21 21.6569 19.6569 23 18 23H6C4.34315 23 3 21.6569 3 20V4ZM6 3H18C18.5523 3 19 3.44772 19 4V20C19 20.5523 18.5523 21 18 21H6C5.44772 21 5 20.5523 5 20V4C5 3.44772 5.44772 3 6 3Z"
fill="currentColor"
/>
</svg>
);
}import { CgCardDiamonds } from "react-icons/cg";
export function Example() {
return <CgCardDiamonds 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 7.75736L7.75736 12L12 16.2426L16.2426 12L12 7.75736Z" fill="currentColor" />
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M3 4C3 2.34315 4.34315 1 6 1H18C19.6569 1 21 2.34315 21 4V20C21 21.6569 19.6569 23 18 23H6C4.34315 23 3 21.6569 3 20V4ZM6 3H18C18.5523 3 19 3.44772 19 4V20C19 20.5523 18.5523 21 18 21H6C5.44772 21 5 20.5523 5 20V4C5 3.44772 5.44772 3 6 3Z"
fill="currentColor"
/>
</svg>"Card Diamonds" icon from css.gg (https://github.com/astrit/css.gg), licensed under MIT license.