Hover the icon or press Play. Suggested motion: pop. Pick another to preview it and update the animated code:
Code icon
A free code 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.
Also known asdeveloper iconprogramming iconbrackets iconhtml icondev iconcoding iconqr iconbarcode icon
- License
- MIT license
- Project
- github.com
npx shadcn@latest add https://ui.cuelark.com/r/icons/css-gg/code.jsonimport * as React from "react";
/**
* Code from css.gg (https://github.com/astrit/css.gg), MIT.
* Via Cuelark UI: ui.cuelark.com/icons/css-gg/code. Sized in em, colored by currentColor.
*/
export function CgCodeIcon(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="M9.95263 16.9123L8.59323 18.3608L2.03082 12.2016L8.18994 5.63922L9.64826 7.00791L4.85783 12.112L9.95212 16.8932L9.95263 16.9123Z"
fill="currentColor"
/>
<path
d="M14.0474 16.9123L15.4068 18.3608L21.9692 12.2016L15.8101 5.63922L14.3517 7.00791L19.1422 12.112L14.0479 16.8932L14.0474 16.9123Z"
fill="currentColor"
/>
</svg>
);
}import { CgCode } from "react-icons/cg";
export function Example() {
return <CgCode 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="M9.95263 16.9123L8.59323 18.3608L2.03082 12.2016L8.18994 5.63922L9.64826 7.00791L4.85783 12.112L9.95212 16.8932L9.95263 16.9123Z"
fill="currentColor"
/>
<path
d="M14.0474 16.9123L15.4068 18.3608L21.9692 12.2016L15.8101 5.63922L14.3517 7.00791L19.1422 12.112L14.0479 16.8932L14.0474 16.9123Z"
fill="currentColor"
/>
</svg>"Code" icon from css.gg (https://github.com/astrit/css.gg), licensed under MIT license.Related icons: developer, programming, brackets, html
Code icon in other sets
- Code · Font Awesome 5
- Code · Font Awesome 6
- Code · Ionicons 5
- Code · Material Design icons
- Code · Typicons
- Code · Github Octicons icons
- Code · Feather
- Code · Lucide
- Code · Devicons
- Code · Bootstrap Icons
- Code · Grommet-Icons
- Code · Heroicons
- Code · BoxIcons
- Code · VS Code Icons
- Code · Tabler Icons
- Code · Radix Icons
- Code · Phosphor Icons