# Input [component-header:sl-input] Inputs collect data from the user. ```html preview ``` ?> This component doesn't work with standard forms. Use [``](/components/form.md) instead. ## Examples ### Labels Use the `label` attribute to give the input an accessible label. ```html preview
``` ### Placeholder Use the `placeholder` attribute to add a placeholder. ```html preview ``` ### Size Use the `size` attribute to change an input's size. ```html preview

``` ### Pill Use the `pill` prop to give inputs rounded edges. ```html preview

``` ### Prefix & Suffix Icons Use the `prefix` and `suffix` slots to add icons. ```html preview

``` ### Clearable Add the `clearable` prop to add a clear button when the input has content. ```html preview

``` ### Toggle Password Add the `toggle-password` prop to add a toggle button that will show the password when activated. ```html preview

``` ### Disabled Use the `disabled` attribute to disable an input. ```html preview

``` [component-metadata:sl-input]