Snippet icons
1 icon ยท Majesticons
- 36 designs, one style each
- From 23 libraries
- 83% under permissive licenses
- 52 icons in every style
Libraries
Snippet icons in each library
How each set draws snippet: code block, code, gist and pastebin and more. Open one to see only its icons.
- Lucide2 icons ยท ISC
- HeroIcons1 icon ยท MIT
- Material Symbols2 icons ยท Apache 2.0
- Simple Icons1 icon ยท CC0 1.0
- Google Material Icons6 icons ยท Apache 2.0
- Codicons3 icons ยท CC BY 4.0
- Remix Icon2 icons ยท Apache 2.0
- Material Icon Theme2 icons ยท MIT
15 more libraries
- Lineicons2 icons
- Octicons2 icons
- Fluent UI System Icons1 icons
- Material Symbols Light1 icons
- Arcticons1 icons
- IconPark1 icons
- Carbon1 icons
- Font Awesome Solid1 icons
- Fluent UI MDL21 icons
- Siemens Industrial Experience Icons1 icons
- Majesticons1 icons
- OpenSearch UI1 icons
- Lucide Lab1 icons
- Dashicons1 icons
- Open Iconic1 icons
Skip the browsing. With Pro, your AI agent finds the snippet icon you describe in any library and installs it.
Get ProTags
Related tags
Tags the same icons carry, closest to snippet first.
Pricing
Snippet icons MCP, with Pro
Your agent finds the snippet icon you describe in any of 23 libraries and installs it. The MCP comes with every Pro plan, with 6,000+ blocks and 14 premium templates.
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
About snippet icons: how many there are, which libraries draw them, and how to use and license them.
52 icons across 23 libraries carry the snippet tag. Counting each design once (a set's outline and filled wallet are one design), that's 36, which is what the wall shows.
snippet is a tag: a word for what an icon shows or is for. It is set from each icon's name, its keywords and what it shows, the same way for every library, so a snippet icon from Lucide and one from Tabler land on this page even when the sets name them differently.
The designs most libraries draw for snippet are code block, code, gist, pastebin, gist secret and text snippet. Search the wall to find a specific one.
The tags that most often share icons with snippet are code, text editing, clipboard, programming and sample. They are listed on this page; open one to widen or narrow your search.
52 icons carry the tag but only 36 designs: many sets draw a design in several styles, like outline, filled and duotone, and each style is its own icon. The wall shows one icon per design for each library.
Google Material Icons has the most, 6 designs, then Codicons (3) and Lucide (2). Among the popular sets: Lucide has 2, HeroIcons has 1, Material Symbols has 2 and Simple Icons has 1. Pick one above the wall to see only its icons.
23 libraries draw snippet icons, each in its own style. The page shows the first ones as rows of how each set draws it, and a picker above the wall narrows it to one library, so you can see snippet icons that match the rest of your project.
Lucide has 2 designs for snippet, in the line style shadcn/ui ships with. Tabler and Phosphor, in a similar style, are the other sets to check in the picker above the wall.
Open a snippet icon, then copy it as a typed React component or as SVG for Vue, Svelte, Angular or any design tool, or download it as SVG or PNG. Signed in, you can install it with one shadcn CLI command.
Open a snippet icon, then Get icon, then Copy as code: React, Vue, Svelte, Angular, Solid or Preact. Each is one self-contained component with the SVG inside, so only the icons you import reach your bundle.
Open the icon, choose Get icon, then Install with shadcn CLI, and run the command. It adds one file to components/icons, ready to import. It needs a free account.
Yes. On an icon's page, Customize sets the color, size, stroke, rotation and padding, and every copy and download uses them. 2 libraries here are multicolor and keep their own colors.
Single-color icons are drawn in currentColor, so a Tailwind class recolors them: text-primary, text-muted-foreground or any theme token. Size one with size-5 or size-6.
With a visible label beside it, a snippet icon is decoration: add aria-hidden="true". Alone, as in an icon button, name the button for what it does ("Pay", not "credit card") with aria-label. The installed component passes every SVG prop through.
Pair it with text when its meaning could be read two ways: icons for snippet differ from set to set, and a label removes the doubt. Single-color icons use currentColor, so they follow your text color and keep its contrast in dark mode.
Most of them. Of the 36 snippet designs: 30 are MIT, Apache 2.0, ISC, BSD, OFL or public domain, which allow commercial use with no credit. 4 are CC BY, which asks you to credit the author. 2 are share-alike or copyleft (CC BY-SA, GPL, MPL), so changes keep the license. Each icon's page names its license, so check it before you ship.
4 of the 36 snippet designs are CC BY, which asks you to credit the author. 30 are MIT, Apache 2.0, ISC, BSD, OFL or public domain, which need no credit (most only ask you to keep the license notice if you ship their source files). Each icon's page names its license and author.
Yes. Every snippet icon is free to browse, copy and download here. Pro adds the MCP server, which installs icons for your AI agent.
With Pro, the shadcn.io MCP server lets Claude Code, Cursor or any MCP client search every library and install the snippet icon you describe.
Ask in plain words, like "a code block icon". search_icons matches an icon's name, keywords and tags, so the snippet tag helps it find them, and get_icon installs the one you pick. The tools are search_icons, get_icon and list_icon_libraries.
4.9 out of 5 from 150+ developers
Install any snippet icon from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro