Dashboard app featuring draggable cards with theme toggle (light/dark).
- Frontend: React, Vite, React Router
- Styling: Tailwind CSS
- Animation: framer-motion
- Dashboard with a grid of cards.
- Customizable and draggable cards and simple pages displaying contents.
- Cards automatically compact down to columns.
- Light/Dark theme toggle.
React App
src/
├─ main.tsx
├─ App.tsx
├─ index.css
├─ components/
│ ├─ Button.tsx
│ ├─ Card.tsx
│ ├─ Dashboard.tsx
│ ├─ Navbar.tsx
│ └─ SettingCard.tsx
├─ contexts/
│ └─ AppSettingContext.tsx
├─ data/
│ └─ data.ts
├─ layouts/
│ ├─ SimpleCard.tsx
│ └─ VerticalCard.tsx
├─ pages/
│ ├─ AboutPage.tsx
│ └─ PostPage.tsx
npm install- For running both React App and Server
npm run dev
- Run the React app (Vite)
- Vite will print the dev URL. (
➜ Local: http://localhost:5173/) - Open the printed URL in your browser.
- Feature-oriented folder structure scales better as the app grows
- Used Tailwind to keep consistent styles
- Small, reusable components simplify UI changes (Button, Card) and layouts
- Utilizing React Context - context can provide a shared and centralized state that tracks(dark/light theme)
- Make it responsive to render well on all screen sizes and resolutions.
- Add adjustable reading width slider.
- Portfolio: https://slyncrafty.github.io/


