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 KeyframeEffects 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!









