You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Migrate tomny.dev from Material UI (MUI v7) to @tomny-dev/uzi, a lightweight React component library. The migrated site should also serve as a live showcase of the uzi framework.
Step 7 — Simplify/remove custom theme.ts (uzi has built-in theming with accent palettes)
Step 8 — Update App.tsx root component (remove CssBaseline, clean up MUI imports)
uzi Showcase (4 steps)
Step 9 — Update About section: introduce yourself as creator of @tomny-dev/uzi; update tech chips to highlight React, Radix UI, CSS modules, TypeScript, Vite
Step 10 — Transform Projects section into a Features showcase with component preview cards (Button variants, Card tones, Pill colors, Modal, Toast), quick-start code snippet (pnpm add @tomny-dev/uzi), and links to GitHub/npm
Step 11 — Add new Components Showcase page: interactive playground with live previews of all 20+ uzi components + copyable code snippets for each
Step 12 — Build, verify production output, check bundle size reduction vs. MUI baseline
Expected Benefits
Smaller bundle: ~6 Radix UI deps vs. MUI's larger footprint
Cleaner API: CSS modules instead of styled-components/Emotion
Live demo: The portfolio site itself showcases what uzi can build
Overview
Migrate tomny.dev from Material UI (MUI v7) to @tomny-dev/uzi, a lightweight React component library. The migrated site should also serve as a live showcase of the uzi framework.
Current Stack
Target Stack
Dependencies to Remove
@mui/material@emotion/react,@emotion/styled@mui/icons-materialstyled-components@mui/styled-engine-scNew Dependency
Component Replacement Map
AppBarTopBaror native<nav>Avatar<Avatar>Chip/Badge<Pill>Card/CardContent<Card>Button<Button>(primary/secondary/outline/ghost)Modal/Dialog<Modal>TextField<Input>+<Label>Select<Select>Checkbox<Checkbox>ThemeProvider+createTheme()<ThemeProvider defaultTheme="system" defaultAccent="blue">Migration Checklist
Core Migration (8 steps)
@tomny-dev/uzidependency and remove MUI packages@mui/icons-material→lucide-react)src/main.tsxtheme.ts(uzi has built-in theming with accent palettes)uzi Showcase (4 steps)
@tomny-dev/uzi; update tech chips to highlight React, Radix UI, CSS modules, TypeScript, Vitepnpm add @tomny-dev/uzi), and links to GitHub/npmExpected Benefits
Key Risks / Notes
sxprops and styled-component patterns → must be replaced with uzi's CSS module approachReference Files
src/main.tsx— App entry point, ThemeProvider wrappersrc/App.tsx— Root component (NavBar + About + Projects)src/theme.ts— MUI theme config (remove or simplify)src/components/NavBar.tsx— AppBar → TopBarsrc/components/About.tsx— Avatar + tech chipssrc/components/Projects.tsx— Card grid showcase