## Documentation

Browse source code

##### On this page

- Default markup

## Autosize

The autosize element will automatically adjust the textarea height and make it easier for users to follow as they type.

## Default markup

Add the autosize element to your input to make it automatically adjust to the length of a text as a user types it.

    <label class="form-label">Autosize example</label>
    <textarea class="form-control" data-toggle="autosize" placeholder="Typing something…"></textarea>