Leaflet
The leaflet icon represents the Leaflet mapping library, a software application used for creating interactive maps on the web.
Exports at 22 × 24 px
Code
Leaflet in your framework
In any framework. Customize it above, and the code follows.
export const LeafletIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="22" height="24" viewBox="0 0 460 512" {...props}>
<path fill="currentColor" d="M156.483 498.57c-28.154 26.468-77.292 11.408-108.562-24.176C6.4 427.148-8.631 337.668 4.754 257.873zm32.732-30.512c-18.228-7.747-91.458-45.553-62.463-179.76C80.302 257.764 13.644 234.8 9.378 229.82c0 0 .174 8.073-1.962 23.902l157.637 235.35c3.916-7.718 14.3-13.878 24.162-21.014m-49.786-79.579c15.543 51.182 43.043 57.232 63.315 69.89L408.585 17.992h2.435L219.913 472.995c19.381 18.274 45.235 36.647 84.038 27.902C463.908 472.324 500.428 214.25 413.902 0C312.147 69.794 235.998 107.428 186.32 181.314c-38.638 57.467-68.612 138.396-46.891 207.165"/>
</svg>
);Other libraries
Leaflet in 2 more libraries
Each library draws it its own way. Open one to compare.
File Icons
More like it
Icons that share its tags, in the same style.
Skip the copy and paste. With Pro, your AI agent finds and installs any File Icons icon from a prompt.
Get ProTags
Browse by tag
Leaflet is tagged software, tech, GIS and 1 more. Related tags follow; each opens its icons from every library.
Pricing
File Icons MCP, with Pro
Ask for Leaflet or any of 930 File Icons icons and your agent installs it. The MCP comes with every Pro plan, with 6,000+ blocks and 14 premium templates. The icons stay free.
4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.
- Secure checkout via Stripe
- Code lives in your repo
- Keep what you've shipped if you cancel
- License terms
FAQ
Frequently asked questions
What the Leaflet icon means and where it's used, then how to install, style, label and license it.
The leaflet icon represents the Leaflet mapping library, a software application used for creating interactive maps on the web. It provides a way to display geographic information in a visually appealing and interactive format.
Leaflet is known for its simplicity and flexibility, making it a popular choice among developers and researchers. Its features allow users to create complex maps with ease.
In terms of real-world applications, the leaflet icon may appear in software or platforms related to geographic information systems or mapping, such as web applications or mobile apps. For example, it may be used in a web application to represent a map feature or in a mobile app to represent a location-based service.
Leaflet is one of 930 icons in File Icons, made by John Gardner and released under ISC. It is drawn on a 460 × 512 grid.
Sign in (it's free), then open Get icon, Install with shadcn CLI, and pick your package manager to copy the command. It adds LeafletIcon to components/icons/file-icons-leaflet.tsx: one file, a size prop (24 by default) and every SVG prop, with no icon package.
Copy it as React (from Get icon, or the Code section): a typed LeafletIcon component you paste into your project, with no package to install. Only the icons you import reach your bundle. It works in Next.js and any React app.
Open Get icon, then Copy as code, and pick Vue, Svelte, Angular, Solid or Preact; the Code section shows each one too. Every version is one self-contained component with the SVG inside, and SVG and data URL copies are there for plain HTML and CSS.
With Pro, the shadcn.io MCP server lets Claude Code, Cursor or any MCP client find the Leaflet icon, or any of 930 File Icons icons, and install it from a prompt.
It's drawn in currentColor, so it takes the text color wherever you use it: a class like text-primary recolors it. To bake a color in, set one in Customize before you copy.
Set width and height on the component, or a class like size-6. It's drawn on a 460 × 512 grid, so it stays sharp at any size. Customize also sets the size it exports at, its padding and rotation.
Yes. It follows the text color, so with text-foreground (or any theme token) it changes with your light and dark themes. The icon is a vector, so it needs no separate dark asset.
Next to a visible label it's decoration: add aria-hidden="true" so screen readers skip it. Standing alone, as in an icon button, give the button a name instead, like aria-label="Leaflet", so screen readers say what it does.
Yes. LeafletIcon passes every SVG prop to the svg element, so <LeafletIcon aria-hidden="true" /> works, and so do role="img" with aria-label, or a title child, when it carries meaning on its own.
Yes. Open Get icon, then Download file: SVG for code or design tools like Figma; PNG, WebP or JPEG at 512px; or an ICO favicon with 16, 32 and 48px inside. Each one uses what you set in Customize.
Yes. ISC allows commercial use; keep the license notice when you ship the icons' source files. The full terms are in the license, linked on this page.
No visible credit is required: ISC only asks that you keep the license notice if you ship the icons' source files. Icons installed with the shadcn CLI already start with a comment naming File Icons, John Gardner and the license.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
2 other libraries draw an icon called Leaflet. The Other libraries section on this page shows each one, so you can compare them and open the one that fits your style.
Its tags are software, tech, GIS and mapping. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Leaflet in another set.
4.9 out of 5 from 150+ developers
Install Leaflet from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro