# iconfield

```ts
import { IconFieldModule } from '@anguless/angulux/iconfield';
```

## IconField

`agl-iconfield, agl-iconField, agl-icon-field` — component

Inherits every input, output and slot of `BaseComponent` — see [basecomponent.md](basecomponent.md).

IconField wraps an input and an icon.

| Input | Type | Default | Description |
| --- | --- | --- | --- |
| `hostName` | `any` | _not documented_ |  |
| `iconPosition` | `'right' \| 'left'` | _not documented_ | Position of the icon. |
| `styleClass` | `string` | _not documented_ | Style class of the component. **Deprecated:** since v20.0.0, use `class` instead. |
