Download the PHP package g4b0rdev/filament-solar-icons without Composer
On this page you can find all versions of the php package g4b0rdev/filament-solar-icons. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download g4b0rdev/filament-solar-icons
More information about g4b0rdev/filament-solar-icons
Files in g4b0rdev/filament-solar-icons
Package filament-solar-icons
Short Description Solar icon pack for Filament Icons
License MIT
Informations about the package filament-solar-icons
Filament Solar Icons
A Solar icon set implementation for Filament 5.x, providing the full set of Solar icons integrated with Filament's interface.
[!NOTE] Filament v5 users: use version
^2.0of this package. Version1.xsupports Filament v4 only.[!IMPORTANT] The Solar icon set by 480 Design is licensed under CC BY 4.0. See Icon License section below for attribution requirements.
Index
> Installation..................................................................... > Icon Styles...................................................................... > Using Icons in Custom Enums...................................................... > Custom Enum with Icons......................................................... > Available Icon Style Enums..................................................... > Example: Table Column with Custom Icons........................................ > Example: Form Field with Icon.................................................. > Mixing Icon Styles............................................................. > Override Specific Icons.......................................................... > Override Icon Aliases.......................................................... > Override Individual Icons...................................................... > Override Styles for Specific Aliases........................................... > Override Styles for Specific Icons............................................. > Icon License..................................................................... > CC BY 4.0 Requirements......................................................... > Credits.......................................................................... > License..........................................................................
Installation
Install via Composer:
Register the plugin in your Filament Panel provider:
Icon Styles
Solar icons come in seven styles: bold, broken, duotone, linear, outline, bold-duotone, and line-duotone.
By default, the package uses the outline style. You can change the global style:
Using Icons in Custom Enums
When you need to use Solar icons in custom enums or other contexts where you need the full icon name with the solar- prefix, use the getIconName() method.
This is particularly useful for Filament's HasIcon interface.
Custom Enum with Icons
Example for enum:
Available Icon Style Enums
All seven icon styles have corresponding enums with the getIconName() method:
SolarBold- Bold style iconsSolarBroken- Broken style iconsSolarLinear- Linear style iconsSolarOutline- Outline style iconsSolarBoldDuotone- Bold duotone style iconsSolarLineDuotone- Line duotone style icons
Example: Table Column with Custom Icons
Example: Form Field with Icon
Mixing Icon Styles
You can mix different icon styles in the same component:
Override Specific Icons
Override Icon Aliases
Or override multiple aliases:
Override Individual Icons
Or override multiple icons:
Override Styles for Specific Aliases
Override Styles for Specific Icons
Icon License
Important: The Solar icon set by 480 Design is licensed under CC BY 4.0.
CC BY 4.0 Requirements
When using Solar icons, you must:
- Give appropriate credit to 480 Design
- Provide a link to the license: https://creativecommons.org/licenses/by/4.0/
- Indicate if changes were made to the icons (if applicable)
You may satisfy the attribution requirement by including a notice in your application's credits, about page, or documentation. Example:
Credits
- Solar Icon Set for the icons
- codeat3 for the blade icon pack
- Filament Icons for the base icon system
- G4b0rDev
- All Contributors
License
The MIT License (MIT). Please see License for more information.
All versions of filament-solar-icons with dependencies
filafly/filament-icons Version ^2.2
codeat3/blade-solar-icons Version ^1.4
filament/filament Version ^5.0