Leaflet
The Leaflet icon represents the popular JavaScript library for creating interactive maps.
Exports at 90 × 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="90" height="24" viewBox="0 0 512 136" {...props}>
<defs><linearGradient id="SVGi9Il4cYE" x1="-6.234%" x2="103.068%" y1="45.374%" y2="58.975%"><stop offset="0%" stopColor="#8AC443"/><stop offset="100%" stopColor="#75B843"/></linearGradient><linearGradient id="SVGrNwKbezX" x1="-10.801%" x2="110.996%" y1="43.538%" y2="56.986%"><stop offset="0%" stopColor="#75B843"/><stop offset="100%" stopColor="#4B9744"/></linearGradient><linearGradient id="SVGCv8XgdLm" x1="108.51%" x2="-3.274%" y1="41.458%" y2="65.747%"><stop offset="0%" stopColor="#C1DB74"/><stop offset="100%" stopColor="#ACD259"/></linearGradient><linearGradient id="SVGQScLUcFX" x1="129.073%" x2="-25.413%" y1="38.386%" y2="61.919%"><stop offset="0%" stopColor="#ACD259"/><stop offset="100%" stopColor="#8AC443"/></linearGradient></defs><path fill="#70706F" d="M347.7 88.3c-2 1.3-4.1 2-6.1 2c-1.5 0-2.7-.6-3.7-1.8c-.9-1.2-1.4-2.7-1.4-4.6c0-2.8.7-6.5 2.1-11.2l4-13.6l9.4-.7l2-9.3l-8.5.5l6.3-21l-16.2 3.3l-5.7 18.9l-5.8.2l-1.9 9.5l4.6-.2l-2.6 9.2c-1.2 4.1-2.1 7.7-2.6 10.9c-4.8 4.9-8.4 8-10.8 9.4s-5 2.1-7.6 2.1c-6.8 0-11-3.9-12.6-11.8c17.7-5.2 26.6-12 26.6-20.3c0-3.1-1.1-5.7-3.4-7.6s-5.3-2.9-9-2.9c-7.2 0-13.8 3.5-19.7 10.4c-5.4 6.3-8.3 13.2-8.8 20.9c-4.9 4.8-8.6 8-11 9.5c-2.5 1.6-4.8 2.4-7 2.4c-2.1 0-3.9-1-5.1-3.1c-1.3-2.1-1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4 4.4c3.3 0 6.9-1.2 10.6-3.6s8.1-6.1 13.2-11.2v-7c-4.3 4-7.3 6.8-9.3 8.1m-85.9-56.1c2.8-7.4 5-11.1 6.5-11.1c.7 0 1.2.5 1.7 1.4c.4.9.7 2.1.7 3.6c0 5.1-1.6 11.2-4.8 18.2c-3.2 7.1-7.3 13.4-12.5 19.1q4.05-20.1 8.4-31.2m-39.1-4.8c1.8-4.6 3.6-7 5.4-7c.9 0 1.7.5 2.3 1.6q.9 1.65.9 4.2c0 4-1.3 8.4-4 13.1s-6.4 9.2-11.1 13.3c2.5-12.2 4.7-20.6 6.5-25.2M102.5 54c2.8 0 4.2 1.9 4.2 5.8c0 7.8-5.2 13.2-15.5 16.1c0-6.5 1.2-11.8 3.6-15.8s5-6.1 7.7-6.1m52.2 26.1c-3.6 6.9-7.4 10.3-11.4 10.3c-1.7 0-3-.7-4.1-2s-1.6-3.1-1.6-5.3q0-8.7 5.4-18.9c3.6-6.9 7.4-10.3 11.5-10.3c1.7 0 3 .6 4.1 1.9c1 1.3 1.5 3 1.5 5.3c-.1 5.8-1.9 12.1-5.4 19M301.3 54c2.8 0 4.2 1.9 4.2 5.8c0 7.8-5.2 13.2-15.5 16.1c0-6.5 1.2-11.8 3.6-15.8c2.5-4.1 5.1-6.1 7.7-6.1"/><path fill="url(#SVGi9Il4cYE)" d="M377.4 54.3c1.3 1.5 26 9.7 34.5 19.7c8.6 10 12.3 18.9 11.1 27.5s-6.5 8.4-8.7 11.6c-2.3 3.1-5.5 7-11.5 6.6c-8-.5-16.2-4.5-22.1-18.3s-5.5-26.8-5-34c.4-7.3 1.7-13.1 1.7-13.1"/><path fill="url(#SVGrNwKbezX)" d="m378.1 56.6l37 55.2l-1.7 1.9z"/><path fill="#3D3D3C" d="m236.4 133.3l.3-2.4c9.9-5.3 22.1-7.3 32.1-12.4c3 1.3 4.3-.6 7.5-.4c1.2 1-1.5 2.4 1.7 2.2c7.1.9 14.1-.4 21.1-1c7.4-.6 14.7.1 22-.4c2.3-.1 5.9-3.3 8.7-1.7c1.3 2.3-4.2 2.5-2.7 5.1c14.5 3.4 50.8 17.8 57 2.1c.1 1-1.1 2.8.6 2.6c12.2-5.5 33-17.3 36.7-20.4c4-3.4 9.4-3.3 14.6-4.5c9.5-2.2 19.6-4.4 27.8-9.2c5.1 3.5 15.7 5.3 21.3 4c5.9-1.3 15.1-11.1 20-14.6c1.9-1.4 4.8-4 6.8-2.5c-1.4 1 .2 3.8-1.5 3.3c-.9-1.7-2.7.3-4-.1c-4.9 4.1-10.1 7.9-15.1 11.8c-2.4 1.4 2.3 2.9-.5 3.4c-13 2.6-32.9-3.9-41.1 5.1c-13 4.5-25.3 5.6-38.1 12.5c-7.4 4-16.4 11.2-24.1 15c-1.3.6-3.2.9-4.7 1.8c-1.9 1.1-2.3 2.6-3.9 2.9c-3.9.8-12-1.2-17.2-1.9c-17-2.5-35.2-9.4-51.3-10.3c-6.4-.3-13.9.7-21.1 1c-15.3.7-24.8 1.1-37.1 5.2c-4.8 1.7-12.6 6.2-15.8 3.8"/><path fill="url(#SVGCv8XgdLm)" d="M472.6 0c-1.7 2.8-40.9 23-52.6 41.9c-11.8 19-15.1 33.9-10.8 47.9s12.4 13.4 17 18s10.9 10.2 21 8c13.2-3 25.9-11.8 32.2-36.4s2.2-46.2-.5-58.1S472.6 0 472.6 0"/><path fill="url(#SVGQScLUcFX)" d="M471.9 4.2L424.4 106l2.8 2.8z"/>
</svg>
);Other libraries
Leaflet in 3 more libraries
Each library draws it its own way. Open one to compare.
SVG Logos
More like it
Icons that share its tags, in the same style.
Search SVG Logos
Skip the copy and paste. With Pro, your AI agent finds and installs any SVG Logos icon from a prompt.
Get ProTags
Browse by tag
Leaflet is tagged navigation, travel, geolocation and 3 more. Related tags follow; each opens its icons from every library.
Pricing
SVG Logos MCP, with Pro
Ask for Leaflet or any of 2,063 SVG Logos 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 popular JavaScript library for creating interactive maps. Leaflet is a widely-used tool for displaying maps on websites and applications, providing a robust and customizable platform for geolocation and mapping functionality.
In real-world applications, the Leaflet icon appears in various mapping and geographic information systems, such as OpenStreetMap, Mapbox, and geospatial data visualization tools. Developers use Leaflet to integrate maps into their projects, enabling users to explore and interact with location-based data.
From a UX perspective, the Leaflet icon communicates a sense of exploration and navigation, helping users understand that they can interact with maps and access location-based information. The icon's presence indicates that a map or geospatial feature is available, facilitating user engagement and discovery.
Leaflet is one of 2,063 icons in SVG Logos, made by Gil Barbara and released under CC0. It is drawn on a 512 × 136 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/logos-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 2,063 SVG Logos icons, and install it from a prompt.
It's multicolor, so it keeps its own colors.
Set width and height on the component, or a class like size-6. It's drawn on a 512 × 136 grid, so it stays sharp at any size. Customize also sets the size it exports at, its padding and rotation.
Yes. It keeps its own colors in light and dark mode, so check it against both backgrounds. 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.
CC0 puts the icons in the public domain: use them anywhere, with no conditions. The full terms are in the license, linked on this page.
No. CC0 gives the icons to the public domain, so no credit and no notice is required. Icons installed with the shadcn CLI still start with a comment naming SVG Logos, Gil Barbara and the license.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
3 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 navigation, travel, geolocation, GIS, mapping and directions. 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