Hover the icon or press Play. Suggested motion: tada. Pick another to preview it and update the animated code:
Comment icon
A free comment 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/comment.jsonimport * as React from "react";
/**
* Comment from css.gg (https://github.com/astrit/css.gg), MIT.
* Via Cuelark UI: ui.cuelark.com/icons/css-gg/comment. Sized in em, colored by currentColor.
*/
export function CgCommentIcon(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="M17 9H7V7H17V9Z" fill="currentColor" />
<path d="M7 13H17V11H7V13Z" fill="currentColor" />
<path
fillRule="evenodd"
clipRule="evenodd"
d="M2 18V2H22V18H16V22H14C11.7909 22 10 20.2091 10 18H2ZM12 16V18C12 19.1046 12.8954 20 14 20V16H20V4H4V16H12Z"
fill="currentColor"
/>
</svg>
);
}import { CgComment } from "react-icons/cg";
export function Example() {
return <CgComment 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="M17 9H7V7H17V9Z" fill="currentColor" />
<path d="M7 13H17V11H7V13Z" fill="currentColor" />
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M2 18V2H22V18H16V22H14C11.7909 22 10 20.2091 10 18H2ZM12 16V18C12 19.1046 12.8954 20 14 20V16H20V4H4V16H12Z"
fill="currentColor"
/>
</svg>"Comment" icon from css.gg (https://github.com/astrit/css.gg), licensed under MIT license.