
In previous Developer Spotlights, we’ve featured devs who’ve pushed the craft of constructing award-winning web sites. However internet growth is extra than simply translating nice design—Max Barvian is a type of pioneering devs who’ve a deep understanding of the core mechanics of frontend growth. In 2024, he shared one of many coolest CSS-powered, scroll-driven animations with us right here on Codrops. We are able to’t shine the sunshine sufficient on Max, as his work represents the subsequent frontier in internet growth—one which merges deep technical data with artistic experimentation.
Hello! My identify is Max Barvian. I’m a UI engineer at the moment working at Clerk.
Initiatives I’m happy with
NumberFlow
NumberFlow is an animated quantity element for React, Vue, Svelte, and vanilla TS/JS. It was closely impressed by the quantity animations within the fantastic Household app:
I constructed NumberFlow as a customized factor with wrapper elements for every framework. All of the animations are powered by the Net Animations API (WAAPI). It makes use of the FLIP method, registered customized CSS properties, spring-based linear()
timings, new CSS math capabilities, and composited KeyframeEffect
s for higher interruption dealing with.
The response to NumberFlow has been surreal. 𝕏 is at the moment utilizing it for his or her analytics dashboard, and Elon Musk even retweeted this screenshot of it:
barvian.me
When it got here time to rebuild my portfolio final 12 months, my aim was to make some mixture of Godly and the Apple TV residence display. I’d actually wished a web site like that for years, with a grid of undertaking movies that easily transitioned into element pages, however by no means felt assured about pulling it off. Then I discovered the View Transitions API. Regardless of its shortcomings (i.e. no interruption dealing with), it felt like the right software for the job. View Transitions utilizing snapshots of “outdated” views appeared good for the video grid, and meant I wouldn’t have to fret about animating a bunch of components on the similar time. Finally, I had to make use of a number of extra tips to get respectable efficiency in the course of the transitions, however I nonetheless can’t think about having constructed the positioning with the rest. I used to be honored when Googlers Addy Osmani and Una Kravets shared my little web site as a demo for View Transitions.
Musée
I stumbled upon this unimaginable design by Kevin Pham on Dribbble a pair years in the past and instantly fell in love with it. I had wished to experiment with CSS Scroll Snapping and 3D scenes for some time, and this appeared like the right candidate. I ended up utilizing React Three Fiber, Movement for React, and Tailwind to implement it. It’s not good (there’s a pesky bug with cellular Safari on the final slide that I haven’t been in a position to repair), however I’m fairly pleased with the way it turned out. I used to be honored when Guillermo Rauch, Paul Henschel, Matt Perry, and Three.js all reposted it.
Fluid kind initiatives
This work might be probably the most boring on the record however I’m nonetheless pleased with it. I used to be engaged on a Tailwind plugin for CSS clamp()
after I encountered some longstanding accessibility points with fluid kind. I didn’t need to deliver these points into my plugin, so I spent an entire Sunday watching math movies on YouTube and speaking to my physicist brother to determine the way to work round them. I ultimately printed the leads to Smashing Journal with some assist from their nice editors there, and was honored to see Adrian Roselli reference the work in his authentic article. Utopia, a well-liked fluid clamp generator, additionally built-in the findings into their software.
About me
I bought into artistic growth in a seventh grade journalism class, when my instructor made me the webmaster for our faculty newspaper. I requested my mother and father for Dreamweaver that 12 months for Christmas and bought my first freelance consumer a 12 months after that. I’ve since moved on from Dreamweaver 🙂, however I’ve by no means wished to do the rest professionally. I really feel fortunate that I’ve been in a position to make a profession out of my ardour.
Present challenges
At Clerk I’m engaged on constructing the element library we use for our dashboard. It’s been a enjoyable problem to attempt to construct one thing that equally emphasizes UX and DX! I hope to share extra on 𝕏 because it progresses. React Aria Parts has been an enormous inspiration right here.
Instruments
I principally stay in VS Code writing React, Tailwind, and Movement code all day.
Philosophy
Somebody I comply with on 𝕏 thought NumberFlow was a superb instance of a quote by Charlie Munger:
“Take a easy concept and take it critically.”
—Charlie Munger
That’s caught with me over the previous few months, and I feel it’s elevated my enjoyment of initiatives I beforehand would’ve dismissed as too routine or boring.
It’s an honor to be featured on a web site I’ve been studying my complete profession. Thanks so much, Manoela and the Codrops workforce!