An open API service indexing awesome lists of open source software.

https://github.com/codewithdennis/filament-lucide-icons

A Filament plugin that integrates Lucide icons, allowing you to use them seamlessly across Filament forms, tables, actions, and more.
https://github.com/codewithdennis/filament-lucide-icons

filament-plugin filamentphp filamentphp-4 filamentphp-plugin lucide lucide-icon lucide-icons

Last synced: 4 months ago
JSON representation

A Filament plugin that integrates Lucide icons, allowing you to use them seamlessly across Filament forms, tables, actions, and more.

Awesome Lists containing this project

README

          

# Filament Lucide Icons

[![Latest Version on Packagist](https://img.shields.io/packagist/v/codewithdennis/filament-lucide-icons.svg?style=flat-square)](https://packagist.org/packages/codewithdennis/filament-lucide-icons)
[![GitHub Code Style Action Status](https://img.shields.io/github/actions/workflow/status/codewithdennis/filament-lucide-icons/pint.yml?branch=4.x&label=code%20style&style=flat-square)](https://github.com/codewithdennis/filament-lucide-icons/actions?query=workflow%3A"Fix+PHP+code+styling"+branch%3A4.x)
[![Total Downloads](https://img.shields.io/packagist/dt/codewithdennis/filament-lucide-icons.svg?style=flat-square)](https://packagist.org/packages/codewithdennis/filament-lucide-icons)

A Filament `4.x` plugin that integrates **1647** [Lucide icons](https://lucide.dev/icons/), allowing you to use them seamlessly across Filament forms, tables, actions, and more.

![thumbnail](thumbnail.png)

## Installation

You can install the package via composer:

```bash
composer require codewithdennis/filament-lucide-icons
```

## Usage

```php
use CodeWithDennis\FilamentLucideIcons\Enums\LucideIcon;
```

```php
public static function configure(Schema $schema): Schema
{
return $schema
->components([
Forms\Components\TextInput::make('email')
->prefixIcon(LucideIcon::Mail)
->email()
->required();
]);
```

```php
final class UserResource extends Resource
{
protected static string|BackedEnum|null $navigationIcon = LucideIcon::UsersRound;
}
```

## Contributing

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

## Credits

- [CodeWithDennis](https://github.com/CodeWithDennis)
- [Mallardduck](https://github.com/mallardduck/blade-lucide-icons)
- [Lucide](https://lucide.dev/icons/)
- [All Contributors](../../contributors)

## License

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.