> Source: https://laravilt.com/docs/forms/pickers/icon-picker

# IconPicker

Icon selection from Lucide library.

## Basic Usage

```php
<?php

use Laravilt\Forms\Components\IconPicker;

IconPicker::make('icon')
    ->label('Select Icon');
```

## Searchable

```php
<?php

use Laravilt\Forms\Components\IconPicker;

IconPicker::make('menu_icon')
    ->searchable();
```

## Custom Icons

```php
<?php

use Laravilt\Forms\Components\IconPicker;

IconPicker::make('action_icon')
    ->options([
        'Edit' => 'Edit',
        'Trash2' => 'Delete',
        'Eye' => 'View',
    ]);
```

## Vue Component

Uses Lucide icons:

```vue
<script setup>
import * as icons from 'lucide-vue-next'
</script>
```

## API Reference

| Method | Description |
|--------|-------------|
| `searchable()` | Enable search |
| `options()` | Custom icons |
| `columns()` | Grid columns |
