Repository navigation
refactor(ui): swap @ant-design/icons for lucide-react - #37553
Merged
ryan-crabbe-berri merged 2 commits intoAug 20, 2026
Merged
Conversation
The dashboard drew its icons from two libraries at once: lucide-react, which shadcn/ui ships with, and @ant-design/icons, left over from antd. This moves the last 39 files onto lucide and drops the dependency, so the icon set matches the component library everywhere. antd icons sized themselves from the inherited font-size and rendered as role="img" with an aria-label, neither of which a lucide svg does, so the swap carries explicit size classes and gives the two icon-only plugin buttons real accessible names.
ryan-crabbe-berri
enabled auto-merge (squash)
August 19, 2026 23:49
yuneng-berri
approved these changes
Aug 19, 2026
yucheng-berri
approved these changes
Aug 19, 2026
Contributor
Greptile SummaryThe PR completes the dashboard’s migration from Ant Design icons to Lucide, removes the direct icon-package dependency, and improves accessible names for plugin actions.
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains.
|
| Filename | Overview |
|---|---|
| ui/litellm-dashboard/src/components/routing_groups/index.tsx | The prior sizing issue is resolved: the Ant Design Input prefix now uses size-4, and shared Button styles already size the Refresh and Plus SVGs. |
| ui/litellm-dashboard/src/components/Settings/AdminSettings/PluginSettings/PluginSettings.tsx | Migrates plugin action icons and gives icon-only row actions contextual accessible names. |
| ui/litellm-dashboard/package.json | Removes the dashboard’s direct dependency on @ant-design/icons. |
| ui/litellm-dashboard/eslint.config.mjs | Prevents reintroduction of Ant Design icon imports. |
Reviews (2): Last reviewed commit: "fix(ui): size the icons antd hosts inste..." | Re-trigger Greptile
antd Tag and Input render their icon slot without the size rules the shadcn Button and InputGroupAddon apply, so the agent chip Bot and the routing group search prefix kept lucide's 24px default.
Contributor
Author
|
@greptileai re review |
4 of 6 tasks
7 tasks done
This was referenced Aug 24, 2026
3 of 4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TLDR
Problem this solves:
How it solves it:
User Flow
Before: an admin using the dashboard sees two icon styles side by side, and a screen reader user cannot tell the plugin row buttons apart
After: every icon comes from the same set, and the plugin buttons name their row
Relevant issues
Linear ticket
Pre-Submission checklist
uv run pytest tests/test_litellm/<your_test_file>.py -vScreenshots / Proof of Fix
Setup:
cd ui/litellm-dashboard && npm install && npm run dev, then sign in at http://localhost:3000Before (75a290e)
MCP server form tooltip hints
Plugin row actions
Agent wizard and date picker
After (4439958)
MCP server form tooltip hints
Plugin row actions
Agent wizard and date picker
Type
🧹 Refactoring
Caveats (if any)
Final Attestation