profile-filament-plugin
Configuration
Icons
On this page
Introduction
All the icons used throughout this package are customizable with Filament's icon alias system. Using icon aliases provides a convenient way to customize the icons as needed.
To make referencing the package's icons easier and more consistent, we use the ProfileFilamentIcon enum for each icon we use.
use Filament\Support\Facades\FilamentIcon;
use Rawilk\ProfileFilament\Enums\ProfileFilamentIcon;
FilamentIcon::register([
ProfileFilamentIcon::MfaWebauthn->value => 'pf-passkey',
]):
Available icon aliases
Using class Rawilk\ProfileFilament\Enums\ProfileFilamentIcon
ProfileFilamentIcon::Help- Icon shown beside certain help textsProfileFilamentIcon::LogoutSessionModalIcon- Confirmation modal icon for log out session actionsProfileFilamentIcon::MfaEmail- Email authentication provider management schema icon. Also shown in the sudo challenge formProfileFilamentIcon::MfaTotp- Authenticator app provider management schema icon. Also shown in the sudo challenge formProfileFilamentIcon::MfaRecoveryCodes- Recovery codes provider management schema iconProfileFilamentIcon::MfaWebauthn- WebAuthn provider management schema icon. Also shown in the sudo challenge formProfileFilamentIcon::MfaWebauthnUnsupported- Icon used in the error message when webauthn is not supported in the current browserProfileFilamentIcon::PendingEmailInfo- Icon shows next to the text indicating that an email change is pending for the userProfileFilamentIcon::SessionDesktop- Desktop session iconProfileFilamentIcon::SessionMobile- Mobile session iconProfileFilamentIcon::SudoChallenge- Icon shown above the sudo challenge form