Pug
The Pug icon represents a template engine for JavaScript, used for generating HTML templates.
Exports at 24 × 24 px
Code
Pug in your framework
In any framework. Customize it above, and the code follows.
export const PugIcon = (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="M426.01 122.518c26.77 13.197 87.919 79.957 85.943 84.362c-2.005 4.396-31.186 28.777-39.978 38.369c-19.094 43.82-36.314 75.198-42.498 40.255c-7.03 42.025-22.079 38.346-27.956 58.876c-8.576 42.239-33.25 43.68-44.453 51.565c-10.274 10.274-24.993 4.347-36.353 10.175c-28.855 10.767-97.02 12.67-124.272.395c-14.578-6.284-21.876 3.494-63.025-24.696c-21.922-21.798-15.725-31.713-23.313-46.36c-12.528-21.605-16.965-7.505-26.623-55.774c-2.925 38.97-23.955 18.12-43.337-34.664c0 0-38.121-33.794-40.097-38.14c-2.005-4.406 59.143-71.166 85.943-84.363c75.982-34.45 256.267-33.54 340.02 0M296.16 238.6c41.049 13.904 79.84 58.067 73.434 98.588c0 21.041-1.877 35.266-4.94 44.848c35.05-22.998 19.693-30.392 33.637-52.504c13.16-22.457 15.802-14.236 22.602-44.631c-4.07-30.426-8.002-84.343-12.862-100.445c-4.248-13.83-24.795-42.576-38.052-60.17c-64.646-24.953-192.646-16.953-225.487-.988c-13.237 17.485-34.674 47.22-39.02 61.445c-4.594 15.252-8.767 67.691-12.62 98.71c3.176 29.505 25.432 42.551 28.751 58.17c3.553 25.144 15.033 33.7 30.96 42.29c-3.557-9.78-5.631-24.597-5.631-47.318c-6.64-46.889 38.92-86.79 75.82-98.291c10.203-27.082 65.395-24.58 73.407.296m7.149 113.006c0-28.648-23.48-52.46-41.064-53.893l1.036-42.131c33.97-2.16 30.027-27.032-4.277-28.777c-26.36.228-44.863 24.494-4.417 28.727l-.031 42.033c-17.584 0-40.737 24.284-40.737 53.465c2.74-29.283 25.549-44.43 46.39-43.799c20.303.614 38.627 16.252 43.1 44.375M166.235 210.417c0-7.046-7.68-11.474-13.79-7.95c-6.112 3.522-6.112 12.378 0 15.9c6.11 3.524 13.79-.904 13.79-7.95m-35.998 46.043c-23.392-13.486-23.392-47.384 0-60.87c23.393-13.486 52.792 3.463 52.792 30.435s-29.4 43.92-52.792 30.435m220.212 0c-23.392-13.486-23.392-47.384 0-60.87c23.393-13.486 52.792 3.463 52.792 30.435s-29.4 43.92-52.792 30.435m17.624-46.043c0-7.046-7.68-11.474-13.79-7.95s-6.112 12.378 0 15.9s13.79-.904 13.79-7.95"/>
</svg>
);Other libraries
Pug 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.
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
Pug is tagged software, coding, javascript and 2 more. Related tags follow; each opens its icons from every library.
Pricing
File Icons MCP, with Pro
Ask for Pug 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 Pug icon means and where it's used, then how to install, style, label and license it.
The Pug icon represents a template engine for JavaScript, used for generating HTML templates. Pug is a popular tool for web development, allowing developers to write concise and readable templates. The icon symbolizes the tool's role in facilitating web development.
In real-world applications, the Pug icon appears in various web development projects, such as Node.js, Express, or React. Developers use Pug to generate HTML templates, making it easier to build web applications. For example, the icon might be displayed in a code editor or in a development environment.
From a UX perspective, the Pug icon communicates the availability of a tool that helps simplify web development. When users see the Pug icon, they understand that they can leverage the tool's features to generate HTML templates. The icon helps users navigate to the Pug documentation, tutorials, or resources.
Pug 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 PugIcon to components/icons/file-icons-pug.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 PugIcon 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 Pug 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="Pug", so screen readers say what it does.
Yes. PugIcon passes every SVG prop to the svg element, so <PugIcon 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 Pug. 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, coding, javascript, web development and templating. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Pug in another set.
4.9 out of 5 from 150+ developers
Install Pug from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro