DevExtreme v24.2 is now available.

Explore our newest features/capabilities and share your thoughts with us.

Your search did not match any results.

React Button - Predefined Types

The Button component supports several predefined color schemes. To apply a scheme, set the type property to one of the following values:

  • "normal"
  • "success"
  • "default"
  • "danger"
DevExtreme Accessibility Compliance
DevExtreme component libraries meet a variety of WCAG and Section 508 compliance standards. To assess this demo’s accessibility level, click the Run AXE® Validation button to launch the AXE® web accessibility evaluation tool.
All trademarks or registered trademarks are property of their respective owners. AXE® Terms of Use
The overall accessibility level of your application depends on the Button features used.
To give you the ability to edit code on the fly, the demo uses SystemJS. For this reason, launching the demo takes some time. We strongly recommend that you do not use this approach in real projects.
Backend API

To further customize the Button, use the stylingMode property. This property affects the fill and borders, and accepts the following values:

  • "contained"
  • "outlined"
  • "text"

To get started with the DevExtreme Button component, refer to the following tutorial for step-by-step instructions: Getting Started with Button.