Julien Thibeaut
Design Engineer
Web Exploding Menu
April 2024
I've recreated the 'exploding menu' effect, inspired by the Pinterest mobile app, for the web. The painting is 'Two Friends on the Shore of Long Island' by Devin Leonardi

Unlock code snippet
Enter your email to access all code snippets and subscribe to my newsletter for updates.
import { useState } from "react";import Button from "./ui/Button";// Nice try! I promise I won't send you a tons of spam emailsconst INIT = "INIT";const SUBMITTING = "SUBMITTING";const ERROR = "ERROR";const SUCCESS = "SUCCESS";const formStates = [INIT, SUBMITTING, ERROR, SUCCESS] as const;function NewsletterForm() {return (<form><input type="email" placeholder="Enter your email" /><Button type="submit">Subscribe</Button></form>);}}