DEV Community

Adnene tahri
Adnene tahri

Posted on

How I built a React portfolio template with a LIVE color picker (and why it's a game-changer

🎨 How I built a React portfolio template with a LIVE color picker (and why it's a game-changer)


The problem with most portfolio templates

Every developer needs a portfolio. But most templates are static. You want to change the primary color? You edit CSS, rebuild, redeploy. It's a waste of time.

I've built 10+ portfolios for clients, and I kept running into the same frustration.

So I decided to build something different.


πŸ’‘ The solution: a live color picker

DevShowcase Pro is a React portfolio template with a live color picker. You click on a color, and the entire site updates instantly. No CSS editing. No rebuild. No redeploy.

Live Demo


πŸ› οΈ Tech stack

Technology Purpose
React 18 UI Framework
TypeScript Type safety
Tailwind CSS 4 Styling
Framer Motion Animations
Recharts Data visualization
Vite Build tool

🎯 Key features

🎨 Live color picker (unique)

Users can change the primary color in real time. The preference is saved in localStorage.

πŸŒ“ Dark/Light mode

Smooth toggle with persistence.

πŸ” Smart filtering

Filter projects by category AND search by technology in real time.

πŸ“Š Interactive dashboard

  • Activity graph with Recharts
  • Skills radar chart
  • Key metrics (projects, experience, technologies)

🎬 Smooth animations

Powered by Framer Motion. Buttery transitions that impress clients.

πŸ“± Fully responsive

Perfect on mobile, tablet, and desktop.


πŸ—οΈ Architecture

The template follows a clean, scalable structure:
src/
β”œβ”€β”€ components/ # React components
β”œβ”€β”€ context/ # Theme provider (color picker + dark/light)
β”œβ”€β”€ data/ # portfolio.json (all content)
β”œβ”€β”€ types/ # TypeScript interfaces
└── styles/ # Tailwind CSS

text

All content is centralized in portfolio.json. Edit it once, and everything updates.


πŸš€ Deployment

The template is optimized for Vercel and Netlify:

  • Build command: npm run build
  • Output directory: dist
  • Environment variables: GEMINI_API_KEY (optional)

πŸ“¦ What's included

βœ… Complete source code

βœ… Live color picker (unique)

βœ… Dark/light mode with persistence

βœ… Smart filtering

βœ… Interactive dashboard with Recharts

βœ… Fully responsive design

βœ… EmailJS contact form ready

βœ… Full documentation

βœ… 30 days email support

βœ… Lifetime updates


πŸ‘¨β€πŸ’» Try it yourself

Live Demo: devshowcase-pro.vercel.app

Get the template: payhip.com/b/9elSR


πŸ’¬ Feedback

I'd love to hear your thoughts! Have you built a portfolio template before? What features would you add?


Built with ❀️ by Smartsniper31

Top comments (0)