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 Heroicons 2, 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/heroicons-2/flag.jsonimport * as React from "react";
/**
* Flag from Heroicons 2 (https://github.com/tailwindlabs/heroicons), MIT.
* Via Cuelark UI: ui.cuelark.com/icons/heroicons-2/flag. Sized in em, colored by currentColor.
*/
export function HiFlagIcon(props: React.SVGProps<SVGSVGElement>) {
return (
<svg
aria-hidden="true"
viewBox="0 0 24 24"
aria-hidden="true"
stroke="currentColor"
fill="currentColor"
strokeWidth="0"
width="1em"
height="1em"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<path
fillRule="evenodd"
d="M3 2.25a.75.75 0 0 1 .75.75v.54l1.838-.46a9.75 9.75 0 0 1 6.725.738l.108.054A8.25 8.25 0 0 0 18 4.524l3.11-.732a.75.75 0 0 1 .917.81 47.784 47.784 0 0 0 .005 10.337.75.75 0 0 1-.574.812l-3.114.733a9.75 9.75 0 0 1-6.594-.77l-.108-.054a8.25 8.25 0 0 0-5.69-.625l-2.202.55V21a.75.75 0 0 1-1.5 0V3A.75.75 0 0 1 3 2.25Z"
clipRule="evenodd"
/>
</svg>
);
}import { HiFlag } from "react-icons/hi2";
export function Example() {
return <HiFlag className="size-5" />;
}<svg
viewBox="0 0 24 24"
aria-hidden="true"
stroke="currentColor"
fill="currentColor"
stroke-width="0"
width="1em"
height="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
fill-rule="evenodd"
d="M3 2.25a.75.75 0 0 1 .75.75v.54l1.838-.46a9.75 9.75 0 0 1 6.725.738l.108.054A8.25 8.25 0 0 0 18 4.524l3.11-.732a.75.75 0 0 1 .917.81 47.784 47.784 0 0 0 .005 10.337.75.75 0 0 1-.574.812l-3.114.733a9.75 9.75 0 0 1-6.594-.77l-.108-.054a8.25 8.25 0 0 0-5.69-.625l-2.202.55V21a.75.75 0 0 1-1.5 0V3A.75.75 0 0 1 3 2.25Z"
clip-rule="evenodd"
/>
</svg>"Flag" icon from Heroicons 2 (https://github.com/tailwindlabs/heroicons), licensed under MIT license.Related icons: report, country, banner, milestone
- mini flag
- outline flag
- chart bar
- chart bar square
- chart pie
- document chart bar
- mini chart bar
- mini chart bar square
- mini chart pie
- mini document chart bar
- mini presentation chart bar
- mini presentation chart line
- outline chart bar
- outline chart bar square
- outline chart pie
- outline document chart bar
- outline presentation chart bar
- outline presentation chart line
- presentation chart bar
- presentation chart line
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 · Simple Line Icons
- Flag · IcoMoon Free
- Flag · BoxIcons
- Flag · css.gg
- Flag · VS Code Icons
- Flag · Tabler Icons
- Flag · Themify Icons
- Flag · Phosphor Icons