Hover the icon or press Play. Suggested motion: pop. Pick another to preview it and update the animated code:
Nametag icon
A free nametag 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/nametag.jsonimport * as React from "react";
/**
* Nametag from css.gg (https://github.com/astrit/css.gg), MIT.
* Via Cuelark UI: ui.cuelark.com/icons/css-gg/nametag. Sized in em, colored by currentColor.
*/
export function CgNametagIcon(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="M4 14V20H10V18H6V14H4Z" fill="currentColor" />
<path
fillRule="evenodd"
clipRule="evenodd"
d="M9 9V15H15V9H9ZM13 11H11V13H13V11Z"
fill="currentColor"
/>
<path d="M4 10V4H10V6H6V10H4Z" fill="currentColor" />
<path d="M20 10V4H14V6H18V10H20Z" fill="currentColor" />
<path d="M20 14V20H14V18H18V14H20Z" fill="currentColor" />
</svg>
);
}import { CgNametag } from "react-icons/cg";
export function Example() {
return <CgNametag 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="M4 14V20H10V18H6V14H4Z" fill="currentColor" />
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M9 9V15H15V9H9ZM13 11H11V13H13V11Z"
fill="currentColor"
/>
<path d="M4 10V4H10V6H6V10H4Z" fill="currentColor" />
<path d="M20 10V4H14V6H18V10H20Z" fill="currentColor" />
<path d="M20 14V20H14V18H18V14H20Z" fill="currentColor" />
</svg>"Nametag" icon from css.gg (https://github.com/astrit/css.gg), licensed under MIT license.