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.

Installation Instructions

To install this plugin, copy the command above to your terminal.

Active Installs
71
Version
3.0.0
License
MIT
Compatibility
Craft 3, Craft 4, Craft 5
Last release
March 29, 2024
Activity (30 days)
0
Closed Issues
0
Open Issues
1
Merged PRs
1
Open PRs