Skip to content
TheChatArchiveThe Chat Archive
Geminigemini-3.1-pro-preview· GoogleHugging Face Arena WebDev Preferences (2026)

Build a simple pomodoro timer in Material You MD3 design

  1. User

    Build a simple pomodoro timer in Material You MD3 design

  2. Gemini Assistant

    I have built the Pomodoro timer utilizing Material You (Material Design 3) design principles.

    Here are the key features I implemented:

    1. Material You MD3 Theme: Added a full color palette using custom CSS variables (Primary, Secondary, Tertiary, Surface, Error, etc.), mapping perfectly to Tailwind via the @theme directive in Tailwind CSS v4.
    2. Dynamic Circular Timer: Uses SVG with stroke-dashoffset for an accurate and smooth circular countdown representation around the timer text.
    3. MD3 Components:
      • Segmented Mode Switcher: Fully rounded pill design with secondary container colors.
      • Floating Action Buttons: Large main FAB for Play/Pause and secondary FAB for Reset.
      • Top App Bar: Minimal, translucent setup with typography following MD3 sizing.
      • Dialogs/Modals: Uses large 28px corner radiuses (rounded-[28px]), specific MD3 elevation shadows, and a clean configuration layout for the settings panel.
    4. Functionality:
      • Easily toggles between Pomodoro (25m), Short Break (5m), and Long Break (15m).
      • You can update the length of each phase inside the settings menu.
      • Document title updates with the remaining time while counting down.
      • A short beep plays via the Web Audio API when the timer reaches 0.

    The project builds correctly and you can start the timer right away! Let me know if you want to further customize the colors or add features like task management.

    Files built: index.html, src/index.css, src/App.tsx

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.