import { Map } from "fmicon-react";
<Map size={24} variant="glass" />
Props
| Prop | Type | Default | Description |
|---|---|---|---|
size | number | string | 24 | Width and height in pixels |
variant | "linear" | "bold" | … | linear | Any of the 8 styles, plus glass-light for light backgrounds |
color | string | currentColor | Any CSS colour; inherits the text colour by default |
strokeWidth | number | 1.5 | Line weight for linear, twotone, broken and duotone |
...props | SVG attributes | – | className, aria-label, onClick and the rest |
More in Location
What is the Map Icon?
This map icon draws a square paper map with a road running diagonally across it and a small pin marking one spot. It stands for an area and the way through it, so use it to open a map view, show directions, switch a list of results into a map or link to a trip.
Folded road maps and tourist leaflets taught people to read this shape as a whole area to explore. The diagonal road adds the idea of travelling from one place to another, and the pin marks a destination within it. A pin on its own means one exact place, a globe means the world or language, and a compass or arrow means live direction.
When to Use the Map Icon
- Property search results: toggles between the list of homes and a map showing where each listing sits.
- Travel booking app: opens the itinerary map with every hotel, flight and activity plotted across the trip.
- Running or cycling app: marks the saved routes tab where people replay and share past outdoor activities.
- Delivery tracking page: shows the courier's path from the depot to the customer's door in real time.
The Map Icon in Glass Style
Glass icons have built-in gradients, highlights and a frosted layer, so they look like small 3D objects. They keep their own colours and ship in separate tones for light and dark backgrounds.
Best for: app tiles, hero sections, feature highlights and anywhere an icon is the star.
The same icon also comes in linear, outline, bold, bulk, twotone, broken and duotone. See every icon in this look on the free glass icons page.
How to Use the Map Icon
- Customise it. Glass is a filled style, so pick a size on the left; stroke weight doesn't apply.
- Copy or download. Copy the SVG, or download SVG, PNG or WebP at any size from 16 to 512 px.
- Drop it into code. Choose React, React Native, Vue, Svelte, Angular or Flutter above and copy the ready-made
MapIconcomponent. - Label it. If the icon is the only thing in a button, give it a name for screen readers:
aria-label="Show map". If text sits next to it, usearia-hidden="true"instead.
Design Tips for the Map Icon
- Use the map icon on one side of a view toggle and a list icon on the other, so people see exactly which view each segment opens.
- The small pin inside blurs at 16 px; use 20 px or larger in toolbars so both the road and the pin stay readable.
- If the map itself is hard to use with assistive tech, offer the same places as a text list and label the button Show map.
Icons That Work Well with Map
Browse all location iconsMap Icon FAQ
A map means look at an area, while navigation, usually shown as an arrow or compass, means turn-by-turn guidance from where you stand. Use the paper map for browsing places and the arrow when the button starts directions or recentres the view on the user.
Routes are normally drawn as a dashed or curved line joining two points, sometimes laid across a map like the road in this glyph. It tells people the screen is about a journey, so it suits directions, delivery tracking, saved hikes and planned trips.
Yes. The map icon is one of 891 free, open-source icons you can use in personal and commercial work, including client projects and apps you sell. The packages are MIT licensed; keep the licence notice if you redistribute the icon files.
SVG, PNG and WebP, at any size from 16 to 512 pixels. You can also copy it as JSX or as a ready-made component for React, React Native, Vue, Svelte, Angular and Flutter, with your stroke weight and colour already applied.