I thought I’d share a couple small classes that I had to put together recently for a project.

The goal was to create a list of toggle buttons but that would be laid side by side and then wrap at the end of the line. This allows for a really nice multiple selection component in contrast with having just a long list of checkboxes.