Magit
The magit icon represents the Magit Git version control system interface for Emacs.
Exports at 24 × 24 px
Code
Magit in your framework
In any framework. Customize it above, and the code follows.
export const MagitIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 512 512" {...props}>
<path fill="currentColor" d="M206.268 491.4L20.6 305.732c-27.467-27.466-27.467-71.998 0-99.464L206.268 20.6c27.466-27.467 71.998-27.467 99.464 0L491.4 206.268c27.467 27.466 27.467 71.998 0 99.464L305.732 491.4c-27.466 27.467-71.998 27.467-99.464 0m72.789-113.33l-5.588-102.477c-23.267 17.816-93.923 20.922-122.633 0l-5.587 102.37c2.19 31.855 133.136 31.207 133.808.107m-105.905-84.84c-4.816-1.248-9.156-2.714-12.895-4.367l-4.602 94.182c4.402 2.469 10.03 4.626 16.599 6.359zm38.55-42.78l-22.489-62.287h-23.701v65.958c3.824 1.322 8.576 2.474 14.074 3.407v-46.782l18.618 48.858c9.048.576 17.653.645 25.867.266l20.21-48.979v47.129c5.553-.82 10.5-1.847 14.662-3.043v-66.814h-23.4zm1.032 14.624c-43.511.254-84.191-11.732-59.99-25.06v-15.573c-35.157 5.042-48.55 13.526-48.55 23.146c0 15.467 48.285 28.006 108.436 28.006s109.836-12.539 109.836-28.006c0-9.62-18.548-18.104-46.673-23.146v15.573c17.642 11.502-8.113 24.355-63.06 25.06m220.364 42.638l6.841-6.841a5.053 5.053 0 0 0 0-7.126L257.064 110.869c-2.115-2.085-5.066-1.86-7.126 0l-6.841 6.842a5.053 5.053 0 0 0 0 7.126l182.875 182.875c2.157 2.18 5.465 1.756 7.126 0m-144.02-144.407l6.842-6.712l-42.419-42.677l-6.841 6.84zm-53.675-11.25h-16.555V135.5h-11.036v16.555h-16.554v11.036h16.554v16.554h11.036v-16.554h16.555zm16.248-90.167h-16.554V45.334h-11.036v16.554h-16.555v11.037h16.555v16.554h11.036V72.925h16.554zm92.888 52.754v-11.036h-44.145v11.036z"/>
</svg>
);File Icons
More like it
Icons that share its tags, in the same style.
Search File Icons
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
Magit is tagged development, coding, Git and 1 more. Related tags follow; each opens its icons from every library.
Pricing
File Icons MCP, with Pro
Ask for Magit 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 Magit icon means and where it's used, then how to install, style, label and license it.
The magit icon represents the Magit Git version control system interface for Emacs. Magit is used for managing Git repositories and version control.
In real-world applications, the magit icon appears in software development environments, such as Emacs and other integrated development environments (IDEs). It is used by developers and programmers to manage Git repositories.
From a UX perspective, the magit icon communicates that a file or project is being managed using Magit. It helps users understand the version control system being used and navigate through their projects.
Magit is one of 930 icons in File Icons, made by John Gardner and released under ISC. It is drawn on a 512 × 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 MagitIcon to components/icons/file-icons-magit.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 MagitIcon 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 Magit 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 512 × 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="Magit", so screen readers say what it does.
Yes. MagitIcon passes every SVG prop to the svg element, so <MagitIcon 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.
Its tags are development, coding, Git and version-control. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Magit in another set.
4.9 out of 5 from 150+ developers
Install Magit from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro