jQuery Mobile Docs - Gallery of Form Controls

# Mini forms

Home Search

## Mini form elements

All form controls accept a `data-mini="true"` attribute that renders a smaller version of the standard-sized form elements. In the case of grouped buttons, the `data-mini="true"` attribute can be added to the containing controlgroup. Compare mini and normal form elements side-by-side.

Text Input:
Textarea:
Search Input:
Flip switch:
Slider:
Choose as many snacks as you'd like: Cheetos Doritos Fritos Sun Chips
Font styling: b i u
Choose a pet: Cat Dog Hamster Lizard
Layout view: List Grid Gallery
Choose shipping method:
Your state:
Choose shipping method:

### 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