Smart Paste
One click turns a copied email into a filled bug report: name, reporter, browser, and priority.
AI · MCP Server and Agent Skills included
Add accessible buttons with predefined styles, icons, toggle states, and themes in a few lines of code. AI assistants set them up for you from the current docs.
Primary, normal, outline, and flat
Button types
Invoice saved
Predefined styles
Icons and toggle buttons
Disabled until the form is valid
Built-in themes
Trusted by the world’s leading companies
Now easier with AI
Coding assistants write the button setup from the current docs, and an AI button fills forms for your users.
01For developers
The Syncfusion MCP server and Agent Skills give assistants in VS Code, Cursor, and JetBrains the current Button docs and patterns.
AI coding assistantMCP Server · Syncfusion React
Add a primary Save button and an outline Cancel button.
search_docs“React Button types and styles” · 2 doc sections
Excerpt: imports and sample data omitted.
+<ButtonComponent isPrimary={true}>Primary</ButtonComponent>
+<ButtonComponent>Normal</ButtonComponent>
+<ButtonComponent cssClass="e-outline">Outline</ButtonComponent>
+<ButtonComponent cssClass="e-flat">Flat</ButtonComponent>
Documented API: isPrimary, cssClass
ResultRendered in your app
AI coding assistantMCP Server · Syncfusion React
Show Approve in green and Delete in red.
search_docs“React Button predefined styles” · 1 doc section
Excerpt: imports and sample data omitted.
+<ButtonComponent cssClass="e-success">Success</ButtonComponent>
+<ButtonComponent cssClass="e-warning">Warning</ButtonComponent>
+<ButtonComponent cssClass="e-danger">Danger</ButtonComponent>
+<ButtonComponent cssClass="e-info">Info</ButtonComponent>
Documented API: cssClass
ResultRendered in your app
AI coding assistantMCP Server · Syncfusion React
Add a play button that toggles between play and pause.
search_docs“React Button icons toggle” · 3 doc sections
Excerpt: imports and sample data omitted.
const [playing, setPlaying] = useState(false);
+<ButtonComponent isToggle={true} cssClass="e-flat"
+iconCss={playing ? 'e-icons e-pause' : 'e-icons e-play'}
+onClick={() => setPlaying(!playing)}>
{playing ? 'Pause' : 'Play'}</ButtonComponent>
Documented API: isToggle, iconCss, iconPosition
ResultRendered in your app
02For your users
The Smart Paste button, built on the Button, reads copied text and fills the matching form fields through your own AI service.
Copied textHi, this is Alice Abraham. The dropdown menu in the navigation bar doesn’t close after I pick an item. It happens only on Chrome. Priority: low.
One click turns a copied email into a filled bug report: name, reporter, browser, and priority.
Performance
Each ButtonComponent renders one native button element styled by CSS classes, so it adds little to your bundle or your DOM.
App.tsx
<ButtonComponent cssClass="e-success" iconCss="e-icons e-check">Approve</ButtonComponent>
Rendered DOM
<button class="e-control e-btn e-lib e-success"> <span class="e-btn-icon e-icons e-check e-icon-left"></span>Approve </button>
Features in depth
Open a demo to try each one, or the docs to see the API.
A toggle button keeps a pressed state for two actions, such as play and pause. A repeat button fires its click event while it is held.
Render a button as an anchor to style a hyperlink with an icon and text, so links and actions look the same.
Choose the normal or small size, stretch a button to the full width of its container, and disable it with the disabled prop.
Tailwind CSS, Bootstrap, Material, Fluent, Fabric, and high-contrast themes in light or dark. Change colors and shapes in Theme Studio or with CSS.
Follows WAI-ARIA button practices and WCAG 2.2, with keyboard support, screen reader labels, and right-to-left layouts.
Get started
With an AI coding assistant
Add Syncfusion React Buttons to my form: a primary Save button, an outline Cancel button, and a red Delete button with a trash icon.
By hand, in three steps
1 · Install
npm install @syncfusion/ej2-react-buttons --save
2 · src/App.css
@import '../node_modules/@syncfusion/ej2-tailwind3-theme/styles/button/index.css';
3 · src/App.tsx
import { ButtonComponent } from '@syncfusion/ej2-react-buttons';
import './App.css';
export default function App() {
return (
<ButtonComponent isPrimary={true} onClick={() => alert('Saved')}>
Save
</ButtonComponent>
);
}
Works withReact 15.5.4 or laterTypeScript and JavaScriptNext.jsRemixGatsbyVitePreactSystem requirements
Customer reviews
“Awesome, enough said”
Easy usability, solving real-life problems, easy to implement. Most of the cases have the operators and settings possibilities you need right away.
“A giant framework with great pricing options”
I have loved the components and options that Syncfusion has; besides, its documentation, demos, and support are excellent.
Customer story · Igniatek
“I would definitely recommend Syncfusion for anyone who is trying to develop something meaningful.”
Somnath Maji, Founder, Igniatek Consultancy
Including the 2026 Devies Award, Capterra Shortlist 2026, Software Advice FrontRunners 2026, and G2 Best Software 2025.
Complete feature list
Showing all 21 features. Each one opens its demo or documentation.
No feature matches that search. Try another word, or open the Button demo.
Related button components:Button GroupProgress ButtonSplit ButtonDropdown MenuToggle Switch
Questions and answers
It is a button for React apps with built-in types, predefined styles, icons, toggle and repeat behavior, two sizes, and themes. It renders a standard HTML button, so it works with forms and assistive technology. Explore the demo
Install @syncfusion/ej2-react-buttons from npm, import the theme CSS, and render ButtonComponent with your label and an onClick handler. Read the getting started guide
Primary, normal, outline, flat, round, and link types, plus success, warning, danger, and info styles. Combine them with icons and either size. See the types and styles
Yes. The Syncfusion MCP server and Agent Skills give assistants in VS Code, Cursor, and JetBrains the current Button docs and patterns, so the code they write uses the documented API. Set up the MCP server
Set iconCss to an icon class, and iconPosition to Left or Right. Leave out the label for an icon-only button. Read about icon buttons
Set isToggle to true. Each click switches the button between its active and normal states, which suits options such as bold or mute. Read about button types
Add the e-small class through cssClass for a compact button. Read about button styles
Yes. Set iconCss without content, and add e-round for a circular icon button. Give it an aria-label so screen readers announce it. Read about icon buttons
Add the e-block class to stretch a button across its container, and set disabled to turn it off. Create a block button
Yes. It follows WAI-ARIA button practices and WCAG 2.2, with keyboard support, screen reader labels, high-contrast themes, and right-to-left layouts. Read about accessibility
It is a commercial component with a 30-day free trial. A free Community License is available for companies and individuals with less than $1 million USD in annual gross revenue, five or fewer developers, and 10 or fewer total employees. Check Community License eligibility
Syncfusion React Button
Every React component, the MCP server, and Agent Skills, free for 30 days.