# Form sizes

Home Search

## Form size comparison

All form controls accept a `data-mini="true"` attribute that renders a smaller version of the enhanced element. In the case of grouped buttons, the `data-mini="true"` attribute can be added to the containing controlgroup.

### Search

Search Input:
Search Input:

### Text

Text Input:
Text Input:

### Textarea

Textarea:
Textarea:

### Switch

Flip switch:
Flip switch:

### Slider

Input slider:
Input slider:

### Select

Shipping method:
Shipping method:

### Checkbox

Apples Oranges Bananas
Apples Oranges Bananas

### Checkbox

B I U
B I U

### Radio buttons

Credit Debit Cash
Credit Debit Cash

### Radio toggle

Design Code
Design Code

### Radio toggle

### More in this section

- Form elements
- Form basics
- Form element gallery
- Mini form element gallery
- Text inputs
- Search inputs
- Slider
- Flip toggle switch
- Radio buttons
- Checkboxes
- Select menus
- Theming forms
- Native form elements
- Submitting forms