Frontend First cover image

React Aria Components

Frontend First

CHAPTER

The Importance of Tailwind in jQuery

The tailwind with arbitrary variants makes all the difference if you did this before you had that it would be painful You wouldn't do it. The switch is renderless, right? So the roots capital S switch that you render from react our your components is the thing getting all of the data attributes But when we build the The toggle we have like a little bit of markup inside,. We do the outside Rounded rectangle and then you do the knob in the inside to move it. And so now if you just tap it It smoothly animates over but if you press it grows to give you feedback right that you've pressed it and then feedback if you've canceled.

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner