Classnames
Classnames is a simple Twig function for conditionally joining css class names together in Twig templates, in a way that makes them much more readable. It's like Jed Watson's Classnames but for Twig in Craft.
Free
Package Name
To install this plugin, search for its package name on the Plugin Store and click “Install”.