File Type Twig
The file-type-twig icon represents a Twig template file.
Exports at 24 × 24 px
Code
File Type Twig in your framework
In any framework. Customize it above, and the code follows.
export const FileTypeTwigIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 32 32" {...props}>
<path fill="#63bf6a" d="M4.574 5.463c.262.4 2.5-1.608 4.454-1.161c2.061.472 4.014 3.724 4.848 13.7a40 40 0 0 1 3.541 3.61q.53.614 1.013 1.22a12 12 0 0 1 .229-1.4a12.3 12.3 0 0 1 1.981-4.4A19.15 19.15 0 0 0 17.272 7.9c-1.03-1.445-4.6-6.478-8.546-5.843c-2.544.408-4.426 2.997-4.152 3.406"/><path fill="#74d74d" d="M24.4 30a69 69 0 0 1-.5-6.449c-.094-3.232.1-4.541.9-5.756c.193-.295 1.288-1.975 2.58-1.863c1.466.128 2.213 2.414 2.362 2.337c.175-.09-.36-3.543-2.532-4.431c-2.6-1.063-6.312 2.07-7.8 5.154a12.2 12.2 0 0 0-.857 2.81a32.6 32.6 0 0 0-.71 8.2Z"/><path fill="#78dc50" d="M2.238 13.935c.145-.447 2.468-.259 4.54.293c2.5.666 7 2.344 11.651 8.606A12.54 12.54 0 0 1 20.279 30h-9.893a22 22 0 0 0-.175-4.62a14.9 14.9 0 0 0-2.459-7.158c-2.311-3.063-5.697-3.722-5.514-4.287"/><path fill="#fff" d="M17.3 21.323a1.753 1.753 0 1 1-.513-1.24a1.75 1.75 0 0 1 .513 1.24m4.675 0a1.753 1.753 0 1 1-.513-1.24a1.75 1.75 0 0 1 .513 1.24"/>
</svg>
);VSCode Icons
More like it
Icons that share its tags, in the same style.
Search VSCode Icons
Skip the copy and paste. With Pro, your AI agent finds and installs any VSCode Icons icon from a prompt.
Get ProTags
Browse by tag
File Type Twig is tagged icon, programming, react and 1 more. Related tags follow; each opens its icons from every library.
Pricing
VSCode Icons MCP, with Pro
Ask for File Type Twig or any of 1,426 VSCode 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 File Type Twig icon means and where it's used, then how to install, style, label and license it.
The file-type-twig icon represents a Twig template file. Twig is a templating engine used in web development, particularly with PHP frameworks like Symfony. The icon signifies a file written in Twig, which is used for rendering dynamic content in web applications.
The file-type-twig icon appears in web development tools and platforms such as Symfony, Laravel, and other PHP frameworks. These platforms use icons to differentiate between various file types related to templating.
In terms of UX, the file-type-twig icon communicates to users that they are dealing with a template file. This helps users quickly identify and navigate to template-related files.
File Type Twig is one of 1,426 icons in VSCode Icons, made by Roberto Huertas and released under MIT. It is drawn on a 32 × 32 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 FileTypeTwigIcon to components/icons/vscode-icons-file-type-twig.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 FileTypeTwigIcon 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 File Type Twig icon, or any of 1,426 VSCode Icons 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 32 × 32 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="File Type Twig", so screen readers say what it does.
Yes. FileTypeTwigIcon passes every SVG prop to the svg element, so <FileTypeTwigIcon 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. MIT 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: MIT 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 VSCode Icons, Roberto Huertas and the license.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
Its tags are icon, programming, react and file type. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for File Type Twig in another set.
VSCode Icons draws many icons in several styles: Light next to the default. Open the library and pick a style above the grid to see File Type Twig's siblings in it.
4.9 out of 5 from 150+ developers
Install File Type Twig from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro