crates/icons/README.md
Icons are a big part of Zed, and they're how we convey hundreds of actions without relying on labeled buttons. When introducing a new icon, it's important to ensure consistency with the existing set, which follows these guidelines:
filled and outlined terminology when introducing icons that will have these two variants.ToolWeb, ReplPlay, DebugStepInto, etc.Most icons are created by sourcing them from Lucide. Then, they're modified, adjusted, cleaned up, and simplified depending on their use and overall fit with Zed.
Sometimes, we may use other sources like Phosphor, but we also design many icons completely from scratch.
To introduce a new icon, add the .svg file to the assets/icon directory and then add its corresponding item to the icons.rs file within the crates directory.
icons.rs file follow the PascalCase name format.Make sure to tag a member of Zed's design team so we can review and adjust any newly introduced icon.