Hover the icon or press Play. Suggested motion: drop. Pick another to preview it and update the animated code:
Map icon
A free map icon from Heroicons, 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 aslocation iconnavigation iconroute icondirections iconpin iconplace iconmarker iconaddress icon
- License
- MIT license
- Project
- github.com
npx shadcn@latest add https://ui.cuelark.com/r/icons/heroicons/map.jsonimport * as React from "react";
/**
* Map from Heroicons (https://github.com/tailwindlabs/heroicons), MIT.
* Via Cuelark UI: ui.cuelark.com/icons/heroicons/map. Sized in em, colored by currentColor.
*/
export function HiMapIcon(props: React.SVGProps<SVGSVGElement>) {
return (
<svg
aria-hidden="true"
viewBox="0 0 20 20"
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="M12 1.586l-4 4v12.828l4-4V1.586zM3.707 3.293A1 1 0 002 4v10a1 1 0 00.293.707L6 18.414V5.586L3.707 3.293zM17.707 5.293L14 1.586v12.828l2.293 2.293A1 1 0 0018 16V6a1 1 0 00-.293-.707z"
clipRule="evenodd"
/>
</svg>
);
}import { HiMap } from "react-icons/hi";
export function Example() {
return <HiMap className="size-5" />;
}<svg
viewBox="0 0 20 20"
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="M12 1.586l-4 4v12.828l4-4V1.586zM3.707 3.293A1 1 0 002 4v10a1 1 0 00.293.707L6 18.414V5.586L3.707 3.293zM17.707 5.293L14 1.586v12.828l2.293 2.293A1 1 0 0018 16V6a1 1 0 00-.293-.707z"
clip-rule="evenodd"
/>
</svg>"Map" icon from Heroicons (https://github.com/tailwindlabs/heroicons), licensed under MIT license.Related icons: location, navigation, route, directions
Map icon in other sets
- Map · Circum Icons
- Map · Font Awesome 5
- Map · Font Awesome 6
- Map · Ionicons 5
- Map · Material Design icons
- Map · Typicons
- Map · Feather
- Map · Lucide
- Map · Bootstrap Icons
- Map · Grommet-Icons
- Map · Heroicons 2
- Map · Simple Line Icons
- Map · IcoMoon Free
- Map · BoxIcons
- Map · VS Code Icons
- Map · Tabler Icons
- Map · Themify Icons
- Map · Icons8 Line Awesome