🐴 Alex Trost
banner
trost.codes
🐴 Alex Trost
@trost.codes
💫 I make a weekly web dev news show: The Callback
🌈 I lead DevX @ Prismic.io
🐴 Created Frontend.Horse
💙 he/him

trost.codes
New Haven, CT
Let's build an interactive keyboard switch component.
September 18, 2025 at 3:05 PM
Here's the full hero section from my upcoming Prismic course... this one took the longest out of everything. It has to be *just right*.

The loose keycaps are in a group and I just scale the group up to make them fly away. Lots of fun tricks in this one!
August 4, 2025 at 10:26 PM
Here's the keycap color changer we're building in my upcoming Prismic course.

I kept the animation simpler for this one, but I think it's still pretty fun to play with.

Made with Three.js and @gsap-greensock.bsky.social. 3d model by the wonderful @leifs.website
August 1, 2025 at 3:14 PM
Explosion on scroll.

We cover this in the upcoming course. Animating all the switches and keycaps is pretty involved, but worth it for the effect!

Three.js, React Three Fiber, GSAP
July 31, 2025 at 6:41 PM
If you're making a fun keyboard site you need a fun little loader, right?
July 29, 2025 at 6:13 PM
Here's a sneak peek of a component from my upcoming YouTube course! I'll give you 5 guesses as to what we're building this site to sell...

Stack is Next.js, Prismic, GSAP, React three fiber. Lots of fun 3d interactions in this one - coming soon!
July 29, 2025 at 12:41 AM
I hate carousels, but I love this effect. It's so cool what adding some white space can do for an effect.
January 13, 2025 at 12:09 AM