Cirrus allows you to bundle input fields in form groups with other components such as buttons, dropdown menus, or labels using the form-group class. This adds some unique styling to the elements creating a unified design when combining these components together.
Form groups come with their own set of helper classes that adds the grouping behavior to the corresponding supported elements: form-group-btn, form-group-input, and form-group-label.
<divclass="form-group"><inputtype="search"class="form-group-input"placeholder="Search"/><buttonclass="form-group-btn">Go</button></div><divclass="form-group"><labelclass="form-group-label">$</label><inputtype="number"class="form-group-input"placeholder="How much would you like to donate?"/></div>
To display controls like buttons and labels on the right side, just place that component last.
<divclass="form-group"><inputtype="number"class="form-group-input"placeholder="How about now?"/><labelclass="form-group-label">$</label></div>
And of course, more controls can be combined with each other with different sizes. To make things easier, Cirrus is designed to make components to fit with other same sized controls. For instance, any *-small class matches with all components that have the small class.