Hover the icon or press Play. Suggested motion: wave. Pick another to preview it and update the animated code:
Flag icon
A free flag 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/flag.jsonimport * as React from "react";
/**
* Flag from css.gg (https://github.com/astrit/css.gg), MIT.
* Via Cuelark UI: ui.cuelark.com/icons/css-gg/flag. Sized in em, colored by currentColor.
*/
export function CgFlagIcon(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
fillRule="evenodd"
clipRule="evenodd"
d="M4 21H6V11H12V13H20V5H13V3H4V21ZM12 5H6V9H13V11H18V7H12V5Z"
fill="currentColor"
/>
</svg>
);
}import { CgFlag } from "react-icons/cg";
export function Example() {
return <CgFlag 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
fill-rule="evenodd"
clip-rule="evenodd"
d="M4 21H6V11H12V13H20V5H13V3H4V21ZM12 5H6V9H13V11H18V7H12V5Z"
fill="currentColor"
/>
</svg>"Flag" icon from css.gg (https://github.com/astrit/css.gg), licensed under MIT license.Related icons: report, country, banner, milestone
Flag icon in other sets
- Flag · Font Awesome 5
- Flag · Font Awesome 6
- Flag · Ionicons 5
- Flag · Material Design icons
- Flag · Typicons
- Flag · Feather
- Flag · Lucide
- Flag · Bootstrap Icons
- Flag · Grommet-Icons
- Flag · Heroicons
- Flag · Heroicons 2
- Flag · Simple Line Icons
- Flag · IcoMoon Free
- Flag · BoxIcons
- Flag · VS Code Icons
- Flag · Tabler Icons
- Flag · Themify Icons
- Flag · Phosphor Icons