I decided to implement almost all of the UI by just adding & removing CSS classes, and using CSS transitions if I want to animate a transition.