Icon Button Test

A flexible button component that accepts any PrimeIcons class as an attribute.

Basic Usage

The icon button requires the icon attribute with a PrimeIcons class name:

Common Icons

Examples of commonly used icons in applications:

Navigation Icons

Icons for navigation and directional controls:

Media Controls

Icons for media playback and controls:

Event Handling

Click a button to see the click event in the console:

Click the button to see events...

Dynamic Icon Changes

The icon can be changed dynamically by updating the attribute: