Migrate frontend from Ant Design to Tailwind CSS + shadcn/ui#12
Open
Migrate frontend from Ant Design to Tailwind CSS + shadcn/ui#12
Conversation
|
|
Co-authored-by: nomeguy <85475922+nomeguy@users.noreply.github.com>
…ind + shadcn Co-authored-by: nomeguy <85475922+nomeguy@users.noreply.github.com>
Co-authored-by: nomeguy <85475922+nomeguy@users.noreply.github.com>
…s handling Co-authored-by: nomeguy <85475922+nomeguy@users.noreply.github.com>
Co-authored-by: nomeguy <85475922+nomeguy@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Migrate frontend UI from Ant Design to Tailwind and shadcn
Migrate frontend from Ant Design to Tailwind CSS + shadcn/ui
Jan 18, 2026
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.
Replaces Ant Design component library with Tailwind CSS and shadcn/ui throughout the frontend while maintaining all existing functionality and backend integration.
Dependencies
Removed:
antd,@ant-design/icons- replaced with shadcn/ui components@craco/craco,craco-less- no longer needed for Less compilationmoment- replaced withdate-fnsfor smaller bundle sizeAdded:
tailwindcss(3.4.17) with animate plugin@radix-ui/react-*) - headless component foundationsonner- toast notificationsdate-fns- date manipulationlucide-react- icon libraryUpgraded:
Components
Created 14 shadcn/ui components in
components/ui/:button,input,card,tabledropdown-menu,select,dialog,popoveravatar,calendar,date-picker,confirm-dialog,sonnerMigrated all pages:
App.js- replaced Layout/Menu with custom header using TailwindDatasetListPage.js- shadcn Table with inline ConfirmDialog for deletionsDatasetEditPage.js- shadcn Card/Input/DatePicker/Select with grid layoutSelectLanguageBox.js- shadcn DropdownMenu with Lucide iconsAuthCallback.js- custom loading spinner and error cardSetting.js- Sonner toast replacing Ant message APIImplementation Notes
react-scripts(removed craco)createRootAPIBuild Output
Bundle reduced to 236 kB (gzipped JS) + 6.5 kB (CSS). Build artifacts remain in
web/build/for existing backend static file serving.Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.