DevExtreme React - Customize the Appearance

The Button widget provides five predefined appearances controlled by the type option. The type can be "normal", "default", "back", "danger" or "success". Choose the proper type depending on the commands that the Button performs.

View Demo

Apart from plain text, the Button can display an icon. DevExtreme provides built-in icons that change their appearance depending on the platform. Certainly, you can use an external icon library or even standalone icons. To specify the icon, set the icon option.

View Demo

If you need to define the Button content completely, implement a template for it using the template option as shown in the following example.

See Also