- 450+ original SVG icons - Light, Dark, and Grayscale variants - Fully typed with TypeScript autocomplete - Zero dependencies - Optimized for 100% width and height scaling - Works out of the box with Tailwind CSS and styled-components
name | IconName | โ Yes | The ID of the icon (autocompletes in TypeScript) | | variant | "light" \| "dark" \| "grayscale" | โ No | Defaults to "light" | | className | string | โ No | CSS class for the wrapping | | style | React.CSSProperties | โ No | Inline styles for the wrapper |
---
๐จ Variants
`tsx `
---
โ TypeScript Autocomplete
When using in a TypeScript project, the name prop autocompletes based on the internal icon list:`tsx import StackIcon, { IconName } from "tech-stack-icons";
const myIcon: IconName = "typescript";
`
---
๐งช Example: Styled with Tailwind
`tsx `
๐ช Accessibility
Icons are inserted as dangerouslySetInnerHTML inside a , and are decorative by default. If needed, you can wrap it in a or manually add ARIA attributes like:`jsx
`` ---
๐ Folder structure
Icons are embedded inline (no file loading needed). You do not need to manage separate assets.