{"id":13513620,"url":"https://github.com/phosphor-icons/web","last_synced_at":"2025-10-17T01:43:39.542Z","repository":{"id":41859073,"uuid":"296459153","full_name":"phosphor-icons/web","owner":"phosphor-icons","description":"A flexible icon family for the web","archived":false,"fork":false,"pushed_at":"2024-05-02T17:11:04.000Z","size":42202,"stargazers_count":388,"open_issues_count":2,"forks_count":35,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-10-30T07:48:54.820Z","etag":null,"topics":["icon-font","icon-pack","icons","svg","svg-icons"],"latest_commit_sha":null,"homepage":"https://phosphoricons.com","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phosphor-icons.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["phosphor-icons","rektdeckard"],"patreon":"phosphoricons","custom":["https://www.buymeacoffee.com/phosphoricons"]}},"created_at":"2020-09-17T22:51:37.000Z","updated_at":"2024-10-24T00:35:39.000Z","dependencies_parsed_at":"2022-07-09T15:03:04.613Z","dependency_job_id":"4c474b81-a26d-4e92-acde-4e87dc488601","html_url":"https://github.com/phosphor-icons/web","commit_stats":{"total_commits":67,"total_committers":6,"mean_commits":"11.166666666666666","dds":0.08955223880597019,"last_synced_commit":"9634e6f3bccabbc1bf2c59dc283abd283d00946d"},"previous_names":["phosphor-icons/phosphor-icons"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phosphor-icons%2Fweb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phosphor-icons%2Fweb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phosphor-icons%2Fweb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phosphor-icons%2Fweb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phosphor-icons","download_url":"https://codeload.github.com/phosphor-icons/web/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247847610,"owners_count":21006100,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["icon-font","icon-pack","icons","svg","svg-icons"],"created_at":"2024-08-01T05:00:33.115Z","updated_at":"2025-10-17T01:43:39.534Z","avatar_url":"https://github.com/phosphor-icons.png","language":"CSS","funding_links":["https://github.com/sponsors/phosphor-icons","https://github.com/sponsors/rektdeckard","https://patreon.com/phosphoricons","https://www.buymeacoffee.com/phosphoricons"],"categories":["CSS"],"sub_categories":[],"readme":"\u003e **ATTENTION:** As part of a major update, we will be replacing the existing `phosphor-icons` package with `@phosphor-icons/web`. We recommend using the new version, as it has improved performance and significantly smaller bundle size, in addition to having the option to only load the weights you need. Some class names and APIs have changed, so please read the documentation before upgrading. The legacy package will continue to recieve maintenance, but will not be updated with new icons upstream. [Take me to the legacy version ➜](https://github.com/phosphor-icons/web/tree/legacy)\n\n\n# @phosphor-icons/web\n\n\u003c!-- BEGIN_LOGO --\u003e\n\u003cimg src=\"/.github/logo.png\" width=\"128\" align=\"right\" /\u003e\n\u003c!-- END_LOGO --\u003e\n\nPhosphor is a flexible icon family for interfaces, diagrams, presentations — whatever, really. Explore all our icons at [phosphoricons.com](https://phosphoricons.com).\n\n[![NPM](https://img.shields.io/npm/v/@phosphor-icons/web.svg?style=flat-square)](https://www.npmjs.com/package/@phosphor-icons/web) [![Travis](https://img.shields.io/travis/com/phosphor-icons/web.svg?style=flat-square)](https://travis-ci.com/github/phosphor-icons/web)\n\n[![GitHub stars](https://img.shields.io/github/stars/phosphor-icons/web?style=flat-square\u0026label=Star)](https://github.com/phosphor-icons/web)\n[![GitHub forks](https://img.shields.io/github/forks/phosphor-icons/web?style=flat-square\u0026label=Fork)](https://github.com/phosphor-icons/web/fork)\n[![GitHub watchers](https://img.shields.io/github/watchers/phosphor-icons/web?style=flat-square\u0026label=Watch)](https://github.com/phosphor-icons/web)\n[![Follow on GitHub](https://img.shields.io/github/followers/rektdeckard?style=flat-square\u0026label=Follow)](https://github.com/rektdeckard)\n\n## Usage\n\n### Getting Started\n\nWe use a similar approach as many other icon sets out there, providing icons as several webfonts that uses Unicode's Private Use Area character codes to map normally non-rendering characters to icons. Simply add one or more weights by including its stylesheet to the document `\u003chead\u003e`, and drop in icons with an `\u003ci\u003e` tag and the appropriate classes for the weight and the icon:\n\n```html\n\u003c!DOCTYPE html\u003e\n\u003chtml\u003e\n  \u003chead\u003e\n    \u003clink\n      rel=\"stylesheet\"\n      type=\"text/css\"\n      href=\"https://cdn.jsdelivr.net/npm/@phosphor-icons/web@2.1.2/src/bold/style.css\"\n    /\u003e\n  \u003c/head\u003e\n  \u003cbody\u003e\n    \u003ci class=\"ph-bold ph-smiley\"\u003e\u003c/i\u003e\n    \u003ci class=\"ph-bold ph-heart\" style=\"color: hotpink\"\u003e\u003c/i\u003e\n    \u003ci class=\"ph-bold ph-cube\"\u003e\u003c/i\u003e\n  \u003c/body\u003e\n\u003c/html\u003e\n```\n\n\u003e [!NOTE]\n\u003e You can import as many or as few weights as needed. Only imported weights will match and render as icons.\n\n### Weights\n\nPhosphor Icons come in 6 weights: `regular`, `thin`, `light`, `bold`, `fill`, and `duotone`. In order to use a weight, you must include a link to its stylesheet, and use the appropriate weight class on the icon (the `regular` weight uses `.ph` instead of `.ph-regular`):\n\n```html\n\u003clink\n  rel=\"stylesheet\"\n  type=\"text/css\"\n  href=\"https://cdn.jsdelivr.net/npm/@phosphor-icons/web@2.1.2/src/duotone/style.css\"\n/\u003e\n...\n\u003ci class=\"ph-duotone ph-baseball\"\u003e\u003c/i\u003e\n```\n\nThe URL format is `https://cdn.jsdelivr.net/npm/@phosphor-icons/web@\u003cVERSION\u003e/src/\u003cWEIGHT\u003e/style.css`. Other common CDNs may also be used.\n\n#### Using All Weights\n\nIf you intend to use all 6 weights, they can be made available by including the library as a script tag, using the base URL:\n\n```html\n\u003cscript src=\"https://cdn.jsdelivr.net/npm/@phosphor-icons/web@2.1.2\"\u003e\u003c/script\u003e\n...\n\u003ci class=\"ph-light ph-address-book\"\u003e\u003c/i\u003e\n\u003ci class=\"ph ph-sunglasses\"\u003e\u003c/i\u003e\n```\n\n\u003e [!WARNING]\n\u003e Though assets will be cached for subsequent loads, this will bring in around 3MB of fonts and CSS, and may have impact on page load speed.\n\n### Modules\n\nIf your environment supports loading CSS files as modules, icon weights can be imported for effect from the package.\n\n```sh\n$ yarn add @phosphor-icons/web\n```\n\n```js\nimport \"@phosphor-icons/web/light\";\nimport \"@phosphor-icons/web/bold\";\n```\n\n### Styling\n\nSince the icons are just text under the hood, they can be colored and styled with CSS like any other font, including `font-size`, `color`, etc.\n\n```html\n\u003cstyle\u003e\n  .ph-bold {\n    font-size: 48px;\n  }\n\n  .green {\n    color: limegreen;\n  }\n\u003c/style\u003e\n...\n\u003c!-- 96px --\u003e\n\u003ci class=\"ph-bold ph-airplane\"\u003e\u003c/i\u003e\n\u003c!-- 96px and green --\u003e\n\u003ci class=\"ph-bold ph-skull green\"\u003e\u003c/i\u003e\n```\n\n\u003e [!WARNING]\n\u003e Overriding the `font-family`, `font-style`, `font-weight`, `font-variant`, or `text-transform` may break the icons and render unprintable characters. Don't do it. Additionally, all weights use the `:before` pseudoelement to inject the font glyph, so overriding this property in icon classes can break them. The `duotone` weight also uses the `:after` pseudoelement, so it is best not to modify either when styling icons.\n\n\u003c!-- ### Ligatures\n\nAll weights aside from `duotone` support ligatures, meaning that in any text using supported weight classes, writing the name of an icon (without the `ph-` prefix) will convert to the corresponding icon. The largest possible string will be matched, meaning you can use any available weight, and print multiple icons without separating with spaces or other characters if you choose.\n\n```html\n\u003c!DOCTYPE html\u003e\n\u003chtml\u003e\n  \u003chead\u003e\n    \u003clink\n      rel=\"stylesheet\"\n      type=\"text/css\"\n      href=\"https://cdn.jsdelivr.net/npm/@phosphor-icons/web@2.1.2/src/bold/style.css\"\n    /\u003e\n  \u003c/head\u003e\n  \u003cbody\u003e\n    \u003cp class=\"ph-bold\"\u003esword shield\u003c/p\u003e\n  \u003c/body\u003e\n\u003c/html\u003e\n``` --\u003e\n\n\u003c!-- BEGIN_LINKS --\u003e\n## Our Projects\n\n- [@phosphor-icons/homepage](https://github.com/phosphor-icons/homepage) ▲ Phosphor homepage and general info\n- [@phosphor-icons/core](https://github.com/phosphor-icons/core) ▲ Phosphor icon assets and catalog\n- [@phosphor-icons/elm](https://github.com/phosphor-icons/phosphor-elm) ▲ Phosphor icons for Elm\n- [@phosphor-icons/figma](https://github.com/phosphor-icons/figma) ▲ Phosphor icons Figma plugin\n- [@phosphor-icons/flutter](https://github.com/phosphor-icons/flutter) ▲ Phosphor IconData library for Flutter\n- [@phosphor-icons/pack](https://github.com/phosphor-icons/pack) ▲ Phosphor web font stripper to generate minimal icon bundles\n- [@phosphor-icons/penpot](https://github.com/phosphor-icons/penpot) ▲ Phosphor icons Penpot plugin\n- [@phosphor-icons/react](https://github.com/phosphor-icons/react) ▲ Phosphor icon component library for React\n- [@phosphor-icons/sketch](https://github.com/phosphor-icons/sketch) ▲ Phosphor icons Sketch plugin\n- [@phosphor-icons/swift](https://github.com/phosphor-icons/swift) ▲ Phosphor icon component library for SwiftUI\n- [@phosphor-icons/theme](https://github.com/phosphor-icons/theme) ▲ A VS Code (and other IDE) theme with the Phosphor color palette\n- [@phosphor-icons/unplugin](https://github.com/phosphor-icons/unplugin) ▲ A multi-framework bundler plugin for generating Phosphor sprite sheets\n- [@phosphor-icons/vue](https://github.com/phosphor-icons/vue) ▲ Phosphor icon component library for Vue\n- [@phosphor-icons/web](https://github.com/phosphor-icons/web) ▲ Phosphor icons for Vanilla JS\n- [@phosphor-icons/webcomponents](https://github.com/phosphor-icons/webcomponents) ▲ Phosphor icons as Web Components\n\n## Community Projects\n\n- [adamglin0/compose-phosphor-icons](https://github.com/adamglin0/compose-phosphor-icon) ▲ Phosphor icons for Compose Multiplatform\n- [altdsoy/phosphor_icons](https://github.com/altdsoy/phosphor_icons) ▲ Phosphor icons for Phoenix and TailwindCSS\n- [amPerl/egui-phosphor](https://github.com/amperl/egui-phosphor) ▲ Phosphor icons for egui apps (Rust)\n- [babakfp/phosphor-icons-svelte](https://github.com/babakfp/phosphor-icons-svelte) ▲ Phosphor icons for Svelte apps\n- [brettkolodny/phosphor-lustre](https://github.com/brettkolodny/phosphor-lustre) ▲ Phosphor icons for Lustre\n- [cellularmitosis/phosphor-uikit](https://github.com/cellularmitosis/phosphor-uikit) ▲ XCode asset catalog generator for Phosphor icons (Swift/UIKit)\n- [cjohansen/phosphor-clj](https://github.com/cjohansen/phosphor-clj) ▲ Phosphor icons as Hiccup for Clojure and ClojureScript\n- [codeat3/blade-phosphor-icons](https://github.com/codeat3/blade-phosphor-icons) ▲ Phosphor icons in your Laravel Blade views\n- [dreamRs/phosphor-r](https://github.com/dreamRs/phosphoricons) ▲ Phosphor icon wrapper for R documents and applications\n- [duongdev/phosphor-react-native](https://github.com/duongdev/phosphor-react-native) ▲ Phosphor icon component library for React Native\n- [haruaki07/phosphor-svelte](https://github.com/haruaki07/phosphor-svelte) ▲ Phosphor icons for Svelte apps\n- [IgnaceMaes/ember-phosphor-icons](https://github.com/IgnaceMaes/ember-phosphor-icons) ▲ Phosphor icons for Ember apps\n- [iota-uz/icons](https://github.com/iota-uz/icons) ▲ Phosphor icons as Templ components (Go)\n- [jajuma/phosphorhyva](https://github.com/JaJuMa-GmbH/phosphor-hyva) ▲ Phosphor icons for Magento 2 \u0026 Mage-OS with Hyvä Theme\n- [Kitten](https://kitten.small-web.org/reference/#icons) ▲ Phosphor icons integrated by default in Kitten\n- [lucagoslar/phosphor-css](https://github.com/lucagoslar/phosphor-css) ▲ CSS wrapper for Phosphor SVG icons\n- [maful/ruby-phosphor-icons](https://github.com/maful/ruby-phosphor-icons) ▲ Phosphor icons for Ruby and Rails applications\n- [meadowsys/phosphor-svgs](https://github.com/meadowsys/phosphor-svgs) ▲ Phosphor icons as Rust string constants\n- [mwood/tamagui-phosphor-icons](https://github.com/mwood23/tamagui-phosphor-icons) ▲ Phosphor icons for Tamagui\n- [noozo/phosphoricons_elixir](https://github.com/noozo/phosphoricons_elixir) ▲ Phosphor icons as SVG strings for Elixir/Phoenix\n- [oyedejioyewole/nuxt-phosphor-icons](https://github.com/oyedejioyewole/nuxt-phosphor-icons) ▲ Phosphor icons integration for Nuxt\n- [pepaslabs/phosphor-uikit](https://github.com/pepaslabs/phosphor-uikit) ▲ Xcode asset catalog generator for Swift/UIKit\n- [raycast/phosphor-icons](https://www.raycast.com/marinsokol/phosphor-icons) ▲ Phosphor icons Raycast extension\n- [reatlat/eleventy-plugin-phosphoricons](https://github.com/reatlat/eleventy-plugin-phosphoricons) ▲ An Eleventy shortcode plugin to embed icons as inline SVGs\n- [robruiz/wordpress-phosphor-icons-block](https://github.com/robruiz/phosphor-icons-block) ▲ Phosphor icon block for use in WordPress v5.8+\n- [sachaw/solid-phosphor](https://github.com/sachaw/solid-phosphor) ▲ Phosphor icons for SolidJS\n- [SeanMcP/phosphor-astro](https://github.com/SeanMcP/phosphor-astro) ▲ Phosphor icons as Astro components\n- [SorenHolstHansen/phosphor-leptos](https://github.com/SorenHolstHansen/phosphor-leptos) ▲ Phosphor icon component library for Leptos apps (Rust)\n- [vnphanquang/phosphor-icons-tailwindcss](https://github.com/vnphanquang/phosphor-icons-tailwindcss) ▲ TailwindCSS plugin for Phosphor icons\n- [wireui/phosphoricons](https://github.com/wireui/phosphoricons) ▲ Phosphor icons for Laravel\n\nIf you've made a port of Phosphor and you want to see it here, just open a PR [here](https://github.com/phosphor-icons/homepage)!\n\n## License\n\nMIT © [Phosphor Icons](https://github.com/phosphor-icons)\n\u003c!-- END_LINKS --\u003e \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphosphor-icons%2Fweb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphosphor-icons%2Fweb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphosphor-icons%2Fweb/lists"}