# [Usage](../../../usage.md) > [Components and standard attributes](../basics.md) > Post icon

---

`postIcon` | `->setPostIcon()`

Sets an icon after the field in `Form` components or after the title/label/name in `Visual` components. Icon system uses MDI (Material Design Icons). And is sufficient to set only the suffix of the icon.  
Example: `account-badge` will transform into `<i class="mdi mdi-account-badge"></i>`

| Types    | Default |
|----------|---------|
| `string` | `null`  |

Trailing MDI icon: after the input in Form fields, after title / label in Visuals. Set only the suffix (`account-badge` → `mdi mdi-account-badge`). When omitted (`null`) no icon renders. Use for affordances (search, password toggle hint, status).
Color via `postIconColor`.

### Example
Blade:
```php
{!! \KFramework\Components\Forms\Input::make()->setName('search')->setPostIcon('magnify') !!}
```
Controller:
```php
Input::make('search')->setPostIcon('magnify');
Button::make('Save')->setPostIcon('check');
```

### Interaction / tips
- Pair with `postIconColor` (../shared_attributes/post_icon_color.md) for coloring.
- Mirrors `preIcon` (../shared_attributes/pre_icon.md) (leading icon); use one or both.
- Icons are decorative; keep `label` (../shared_attributes/label.md) for meaning.
- Update reactively with `updateOnChange` (../shared_attributes/update_on_change.md) / `onLoadChange` (../shared_attributes/on_load_change.md) via `UpdateField::make(...)->setPostIcon(...)`.

See also: [preIcon](pre_icon.md), [postIconColor](post_icon_color.md), [preIconColor](pre_icon_color.md), [label](label.md), [basics](../basics.md), [Input](../forms/input.md).