The IconPicker component allows users to choose an icon from a wide collection. It provides an integrated dialog with search, category filters, and preview, making it easy to find and select the right icon for UI elements like buttons, menus, dashboards, and forms.
1. Basic Properties
- Name β Unique identifier for the component (e.g.,
IconPicker1
). - Label β Text displayed above the picker field (e.g.,
Icon
). - Default icon β Pre-selected icon when the component loads (e.g.,
People
). - Placeholder β Text shown when no icon is selected.
2. Icon Picker Dialog

When the search icon (π) is clicked, the Icon Picker dialog opens. It includes:
- Search bar β Allows searching by icon name (e.g.,
alarm
,add
,user
). - Filter panel β Lets users filter icons by style:
- Filled
- Outlined
- Rounded
- Two-tone
- Sharp
- Result grid β Displays a large list of matching icons with their names.
- Preview panel β Shows the selected icon in different sizes and states for visual confirmation.
- Ok / Close buttons β Confirm or cancel the selection.
3. Events
- onChange β Triggered whenever a new icon is selected.
- Example usage: update a menu itemβs icon or dynamically change a buttonβs symbol.
4. Validations
- Required β Ensures that the user must select an icon.
- Can also be extended with custom validation rules (e.g., specific icons allowed only in certain contexts).
π See Common Properties β Validations.
5. States
- Read only β Displays the field but prevents changes.
- Disabled β Grays out the field and disables selection.
- Hidden β Hides the field but keeps it usable in logic.
- Auto focus β Automatically focuses the field on page load.
- Required β Forces the user to select an icon before proceeding.
6. Color
The color of the selected icon can be set:
- primary
- secondary
- (or custom colors via styles).
7. Layout
Responsive grid support for placing the component inside forms or dashboards.
π See Common Properties β Layout.
8. Style
Custom styling can be applied for:
- Icon size
- Spacing
- Margins and paddings
- Alignment
π See Common Properties β Style.
9. Business Use Cases
- Custom dashboards β Users select icons for their own widgets.
- Dynamic menus β Admins assign icons to navigation items.
- Forms and actions β Add visual cues (e.g., download, upload, warning).
- Brand personalization β Choose icons matching company identity.
β The IconPicker component provides a rich user interface for selecting icons, with search, filtering, and preview functionality. It simplifies UI customization and ensures consistent icon usage across applications.