# field — Examples

## Default layout

```html
<field-ui label="Email">
  <input-ui type="email" placeholder="you@example.com"></input-ui>
</field-ui>
```

## Inline layout

```html
<field-ui inline label="Search">
  <input-ui type="search" placeholder="Type a command…"></input-ui>
</field-ui>
```

## Any form control

```html
<field-ui label="Priority">
  <select-ui>
    <option value="low">Low</option>
    <option value="med" selected>Medium</option>
    <option value="high">High</option>
  </select-ui>
</field-ui>
```
