--- name: devextreme-button description: > Help developers use the DevExtreme Button component (dxButton) in Angular, React, Vue, jQuery, and ASP.NET Core Controls. Use when someone asks about Button configuration, click handling, icons, styling, button types, form submission, validation, custom templates, or any scenario involving dxButton or DxButton. Trigger phrases: "DevExtreme Button", "dxButton", "DxButton", "how do I handle button click", "button icon", "button type", "button styling", "submit form with button", "custom button template". compatibility: DevExtreme 26.1+. Supports Angular 20+, React 18+, Vue 3, jQuery 3.x or 4.x, and ASP.NET Core Controls. metadata: author: DevExpress version: "26.1" --- # DevExtreme Button Skill A skill for building and configuring the DevExtreme Button UI component (`dxButton`) across Angular, React, Vue, jQuery, and ASP.NET Core Controls. ## When to Use This Skill - Creating a basic or styled Button - Handling click events - Adding icons to a Button - Changing the button type or styling mode - Submitting and validating an HTML form with a Button - Managing Button state (disabled, active, hover, focus) ## Before You Start If the host agent has a structured question-asking tool available, use it to ask these questions one at a time with clear options — for example, Claude Code's `AskUserQuestion` tool or GitHub Copilot's `askQuestions` tool. If no such tool is available, ask the questions directly in the chat response before generating code. > ⚠️ **Always use the DevExtreme Button (`dxButton` / `DxButton`). Never use a plain HTML `