Syncfusion React Buttons
📌 Agent Notice:
📄 Read:links in Navigation Guide sections are reference pointers for passive file reading only. They do not imply automatic tool invocation, command execution, or action chaining.
Button
The Syncfusion ButtonComponent is a graphical user interface element that triggers an action on click. It supports text, icons, or both, with extensive styling, accessibility, and behavioral options.
Navigation Guide
Getting Started
📄 Read: references/button-getting-started.md [blocked]
- Installation and package setup
- CSS imports and theme configuration
- Rendering the first ButtonComponent
- Enabling ripple effects
- Basic click handling
Types and Styles
📄 Read: references/button-types-and-styles.md [blocked]
- Predefined color styles (primary, success, info, warning, danger, link)
- Flat, outline, round, and toggle button types
- Basic HTML button types (submit, reset)
- Icon buttons (font icons, SVG)
- Icon positioning (left/right)
- Button sizes (small, normal)
How-To Patterns
📄 Read: references/button-how-to.md [blocked]
- Create a block (full-width) button
- Create a rounded-corner button
- Add a navigation link to a button
- Customize button appearance with CSS
- Style native input and anchor elements as buttons
- Set the disabled state
- Enable right-to-left (RTL) support
- Add a tooltip on hover
- Implement a repeat button
Style and Appearance
📄 Read: references/button-style-and-appearance.md [blocked]
- Available CSS classes and their purposes
- Overriding default styles
- Custom theme creation with Theme Studio
Accessibility
📄 Read: references/button-accessibility.md [blocked]
- WCAG 2.2, Section 508 compliance
- WAI-ARIA attributes
- Keyboard navigation
- Screen reader support
API Reference
📄 Read: references/button-api.md [blocked]
- All properties, methods, and events
- Property types, defaults, and constraints
Quick Start
⚠️ Run the following command manually in your terminal. Do not execute automatically.
Common Patterns
Styled Button
Icon Button
Toggle Button
Disabled Button
Block (Full-Width) Button
ButtonGroup
The ButtonGroup is a pure CSS component that groups a series of buttons together in a horizontal (default) or vertical layout. It supports normal button behavior as well as radio-type (single selection) and checkbox-type (multiple selection) behaviors. Buttons can be nested with DropDownButton and SplitButton components.
Navigation Guide
Getting Started
📄 Read: references/buttongroup-getting-started.md [blocked]
- Installation and package setup
- Adding CSS references and theme imports
- Basic ButtonGroup implementation
- Running the application
Types and Styles
📄 Read: references/buttongroup-types-and-styles.md [blocked]
- Outline ButtonGroup (
e-outline) - Predefined color styles (
e-primary,e-success,e-info,e-warning,e-danger) - Mixing styles within a group
Selection and Nesting
📄 Read: references/buttongroup-selection-and-nesting.md [blocked]
- Single selection (radio type)
- Multiple selection (checkbox type)
- Setting initial selected state
- Nesting DropDownButton inside ButtonGroup
- Nesting SplitButton inside ButtonGroup
How-To Guide
📄 Read: references/buttongroup-how-to.md [blocked]
- Add icons to buttons (
iconCss) - Rounded corners (
e-round-corner) - Disable individual or all buttons
- Enable ripple effect
- Enable RTL support
- Vertical orientation (
e-vertical) - Form submit with radio/checkbox ButtonGroup
- Initialize using
createButtonGrouputility function
Style and Appearance
📄 Read: references/buttongroup-style-and-appearance.md [blocked]
- Available CSS classes for customization
- Overriding hover, focus, active states
- Theme Studio integration
Accessibility
📄 Read: references/buttongroup-accessibility.md [blocked]
- WCAG 2.2, Section 508 compliance
- Keyboard navigation shortcuts
- Screen reader support
Quick Start
Required CSS imports in src/App.css:
Common Patterns
Radio (single-select) ButtonGroup
Checkbox (multi-select) ButtonGroup
Vertical ButtonGroup
Key Props
DropDownButton
The Syncfusion DropDownButtonComponent renders a button that toggles a contextual popup menu with a list of action items. It supports icons, separators, templates, animations, accessibility, and extensive customization.
Navigation Guide
Getting Started
📄 Read: references/dropdownbutton-getting-started.md [blocked]
- Installation and package setup
- CSS imports and theme configuration
- Rendering the first DropDownButtonComponent
- Binding data source with
items - Minimal working example
Popup Items and Navigation
📄 Read: references/dropdownbutton-popup-items.md [blocked]
- Adding icons to popup items with
iconCss - Navigation URLs via
urlon items - Separators to group popup items
- Item templates with
beforeItemRender - Popup (target) templates
- Underline characters in item text
Icons and Layout
📄 Read: references/dropdownbutton-icons-and-layout.md [blocked]
- Button icons with
iconCssandiconPosition - Icon-only buttons with
e-caret-hide - Sprite image icons
- Vertical button layout with
e-vertical - Customizing icon size and button width
Appearance and Styling
📄 Read: references/dropdownbutton-appearance-and-styling.md [blocked]
- CSS class overrides (color styles, sizes, states)
- Rounded corners with
e-round-corner - Hide dropdown arrow with
e-caret-hide - Popup width with
popupWidth - Theme Studio customization
- Animation settings for popup open/close
Events and Interactivity
📄 Read: references/dropdownbutton-events-and-interactivity.md [blocked]
- Handling
selectevent on item click beforeOpen/beforeClosefor dynamic caret iconopenevent for custom popup positioning- Disabling the button with
disabled - RTL support with
enableRtl - Opening a dialog on item select
- Dynamic
addItems/removeItemsmethods togglemethod for programmatic open/close
Item Template
📄 Read: references/dropdownbutton-item-template.md [blocked]
itemTemplateproperty for custom item rendering- Rendering links, icons, and rich content inside items
ListView Integration
📄 Read: references/dropdownbutton-listview-integration.md [blocked]
- Using
targetproperty with a ListView element - Grouped popup items with category headers
Accessibility
📄 Read: references/dropdownbutton-accessibility.md [blocked]
- WCAG 2.2, Section 508, ADA compliance
- WAI-ARIA attributes (
role,aria-haspopup,aria-expanded) - Keyboard navigation shortcuts
- Screen reader support
API Reference
📄 Read: references/dropdownbutton-api.md [blocked]
- All properties:
items,cssClass,iconCss,iconPosition,disabled,enableRtl,animationSettings,popupWidth,target,itemTemplate,content,closeActionEvents,createPopupOnClick,enableHtmlSanitizer,enablePersistence,locale - All events:
beforeClose,beforeOpen,beforeItemRender,close,open,select,created - All methods:
addItems,removeItems,toggle,focusIn,destroy,getPersistData - Type definitions:
ItemModel,MenuEventArgs,OpenCloseMenuEventArgs,BeforeOpenCloseMenuEventArgs
Quick Start
Common Patterns
Button with icon and popup icons
Grouped items with separator
Handling item selection
Floating Action Button
The Syncfusion React FabComponent is a circular button that floats above the UI and represents the primary action in an application. It supports flexible positioning, icon + text content, predefined styles, full accessibility compliance, and CSS customization.
Package: @syncfusion/ej2-react-buttons
Navigation Guide
Getting Started
📄 Read: references/floating-action-button-getting-started.md [blocked]
- Installing
@syncfusion/ej2-react-buttons - CSS theme imports for Tailwind3
- Minimal
FabComponentsetup - Using
targetto position relative to a container - Handling the click event
Icons and Content
📄 Read: references/floating-action-button-icons.md [blocked]
iconCssprop for icon-only FABcontentprop for text labeliconPositionfor icon-left vs icon-right layout- Combined icon + text examples
Positions
📄 Read: references/floating-action-button-positions.md [blocked]
positionprop with all nine predefined values (TopLeft → BottomRight)targetprop to scope FAB to a container- Custom CSS position using
cssClass
Styles and Appearance
📄 Read: references/floating-action-button-styles.md [blocked]
- Predefined
cssClassvalues:e-primary,e-outline,e-info,e-success,e-warning,e-danger - CSS class override reference table
- Show text on hover with CSS transition
- Outline color customization
Events
📄 Read: references/floating-action-button-events.md [blocked]
onClickevent for click handlingcreatedevent for post-render initialization
Accessibility
📄 Read: references/floating-action-button-accessibility.md [blocked]
- WCAG 2.2 / Section 508 compliance
- WAI-ARIA attributes (
aria-label,aria-disabled,role="button") - Keyboard navigation (Enter, Space, Tab, Escape)
- RTL support via
enableRtl - Screen reader support
API Reference
📄 Read: references/floating-action-button-api.md [blocked]
- All properties:
content,cssClass,disabled,enableHtmlSanitizer,enablePersistence,enableRtl,iconCss,iconPosition,isPrimary,isToggle,position,target,visible - Methods:
click(),destroy(),focusIn(),getPersistData(),refreshPosition() - Events:
created,onClick
Quick Start
⚠️ Run the following command manually in your terminal. Do not execute automatically.
Common Patterns
Icon-Only FAB (most common)
FAB with Click Handler
FAB with Custom Style
Key Props at a Glance
Speed Dial
The Syncfusion SpeedDialComponent is a floating action button (FAB) that reveals a set of contextual action items when clicked or hovered. It supports Linear and Radial display modes, flexible positioning, templates, animations, modal overlay, and full accessibility.
Navigation Guide
Getting Started
📄 Read: references/speeddial-getting-started.md [blocked]
- Installation and package setup
- CSS imports and theme configuration
- Rendering the first SpeedDialComponent
- Basic items configuration
- Target element setup
Items Configuration
📄 Read: references/speeddial-items.md [blocked]
- SpeedDialItemModel fields (text, iconCss, id, title, disabled)
- Icon only, text only, icon with text combinations
- Disabling individual items
- Animation effects (Fade, Zoom, etc.)
- Item templates overview
Display Modes
📄 Read: references/speeddial-display-modes.md [blocked]
- Linear mode (default) and direction values (Up, Down, Left, Right, Auto)
- Radial mode overview and usage
Radial Menu
📄 Read: references/speeddial-radial-menu.md [blocked]
- Setting mode to Radial
- radialSettings: direction (Clockwise, AntiClockwise, Auto)
- startAngle and endAngle configuration
- offset to control item distance from button
Positions and Visibility Control
📄 Read: references/speeddial-positions.md [blocked]
- Position values (TopLeft, TopCenter, TopRight, MiddleLeft, MiddleCenter, MiddleRight, BottomLeft, BottomCenter, BottomRight)
- Target element relative positioning
- opensOnHover for hover-based open behavior
- Programmatic show() and hide() methods
- refreshPosition() after layout changes
Styles and Appearance
📄 Read: references/speeddial-styles.md [blocked]
- openIconCss and closeIconCss for button icons
- content property for text button
- Predefined cssClass values (e-primary, e-outline, e-info, e-success, e-warning, e-danger)
- disabled and visible properties
- Tooltip via title attribute
- Custom CSS overrides
Templates
📄 Read: references/speeddial-template.md [blocked]
- itemTemplate for custom item rendering
- popupTemplate for full popup customization
- JSX function template pattern
Events
📄 Read: references/speeddial-events.md [blocked]
- clicked, created, beforeOpen, onOpen, beforeClose, onClose, beforeItemRender
- Event argument types: SpeedDialItemEventArgs, SpeedDialBeforeOpenCloseEventArgs, SpeedDialOpenCloseEventArgs
- Cancel pattern for beforeOpen and beforeClose
Modal
📄 Read: references/speeddial-modal.md [blocked]
- Enabling modal overlay
- Interaction blocking behavior
- Close on backdrop click
Accessibility
📄 Read: references/speeddial-accessibility.md [blocked]
- WCAG 2.2, Section 508 compliance
- WAI-ARIA attributes (role, aria-expanded, aria-label, etc.)
- Keyboard navigation shortcuts
- Screen reader support
- RTL support via enableRtl
API Reference
📄 Read: references/speeddial-api.md [blocked]
- All properties, methods, and events with types and defaults
Quick Start
⚠️ Run the following command manually in your terminal. Do not execute automatically.
Common Patterns
Icon-only items with tooltip
Radial mode
Handle item click
Modal with overlay
Programmatic open/close
Implementing the Syncfusion React ProgressButton
The ProgressButtonComponent from @syncfusion/ej2-react-splitbuttons provides a button that
visualises the progression of a background operation — complete with an animated spinner, a
background progress bar fill, and content/style hooks at every stage of the operation.
Navigation Guide
Quick Start
Common Patterns
Progress bar + hidden spinner
Custom spinner (right, small, templated)
Slide animation with centered spinner
Start / stop programmatic control
Lifecycle events
Reference Files
Switch
The Syncfusion SwitchComponent is a graphical toggle control that switches between checked (on) and unchecked (off) states. It is part of the @syncfusion/ej2-react-buttons package and supports text labels, size variants, disabled state, form submission, RTL, programmatic control, and full CSS customization.
Navigation Guide
Getting Started
📄 Read: references/getting-started.md [blocked]
- Package installation and npm setup
- CSS theme imports
- Basic
SwitchComponentrendering - Checked state initialization
- Running the application
Features and Configuration
📄 Read: references/features.md [blocked]
onLabel/offLabeltext labelsdisabledpropertynameandvaluefor form submissioncssClassfor custom stylingenableRtlfor right-to-left supportenablePersistenceto persist state across reloadshtmlAttributesfor additional HTML attributeslocalefor localization
Events and Methods
📄 Read: references/events-and-methods.md [blocked]
changeevent andChangeEventArgsbeforeChangeevent to cancel state transitionscreatedlifecycle eventtoggle()method for programmatic state controlclick(),focusIn(), anddestroy()methods- Using
refto call methods imperatively
How-To Recipes
📄 Read: references/how-to.md [blocked]
- Change switch size (small vs default)
- Prevent state change using
beforeChange - Set text labels (ON/OFF)
- Enable ripple on label click
- Enable RTL layout
- Set disabled state
- Submit name and value in a form
- Programmatic toggle via
toggle()method
Style and Appearance
📄 Read: references/style-and-appearance.md [blocked]
- CSS class reference table
- Customizing bar and handle shape
- Customizing switch colors
- Small size variant
- Using Theme Studio
API Reference
📄 Read: references/api.md [blocked]
- All properties with types and defaults
- All methods with return types
- All events with argument interfaces
ChangeEventArgsandBeforeChangeEventArgs
Quick Start
Install the package first:
Common Patterns
Switch with ON/OFF text labels
Note: Text labels are not supported in Material themes.
Handle state changes
Disabled switch
Small size switch
Programmatic toggle
Form submission with name and value
Key Props at a Glance
SplitButton
A comprehensive skill for implementing the SplitButton component in React applications. The SplitButton combines a primary action button with a dropdown menu for secondary actions.
Components Covered
A button that displays a primary action and a dropdown menu of secondary actions.
Common Use Cases:
- Save variants: Save, Save As, Save All
- Send variants: Send, Schedule Send, Send All
- Download variants: Download, Download All, Export
- Share options: Share, Share Link, Share Email
- Print options: Print, Print Preview, Print Settings
Documentation
Getting Started
📄 Read: references/getting-started.md [blocked]
- Installation and package setup
- Basic SplitButton implementation
- CSS imports and themes
- First working example
- Module setup (standalone and module-based)
Types and Styles
📄 Read: references/types-and-styles.md [blocked]
- Button styles (primary, success, info, warning, danger, link)
- Button types (flat, outline, round)
- Icon positioning (left, right, top, bottom)
- Size variations (small, medium, large)
- Styled anchor elements
- RTL support
SplitButton Features
📄 Read: references/splitbutton-features.md [blocked]
- Dropdown menu items
- Icon and text combinations
- Disabled state
- Event handling (click, select, before open)
- Dynamic item manipulation
- Keyboard navigation
- Tooltips and titles
API Reference
📄 Read: references/api-reference.md [blocked]
- Complete properties documentation
- Methods and their usage
- Event handlers and callbacks
- Model interfaces
- Type definitions
- Quick reference tables
Customization
📄 Read: references/customization.md [blocked]
- Custom CSS classes
- Theming and color schemes
- Custom icons and fonts
- Custom templates for items
- Responsive design
- Animation and transitions
- Item separators and grouping
Accessibility
📄 Read: references/accessibility.md [blocked]
- WCAG 2.1 compliance
- Keyboard navigation patterns
- ARIA attributes
- Screen reader support
- Focus management
- Accessible labels and descriptions
Quick Start
Basic SplitButton
SplitButton with Icons
SplitButton with Event Handling
SplitButton with Dynamic Items
SplitButton with Custom Template
Common Patterns
Save Variant Pattern
Download Pattern
Share Pattern
State Management Pattern
Key Properties Overview
Next Steps
- Installation & Setup → Read getting-started.md [blocked]
- Styling Options → Read types-and-styles.md [blocked]
- Features → Read splitbutton-features.md [blocked]
- Complete API → Read api-reference.md [blocked]
- Advanced Customization → Read customization.md [blocked]
- Accessibility → Read accessibility.md [blocked]
Troubleshooting Quick Links
- Items not showing? → Check references/getting-started.md#css-imports [blocked]
- Events not firing? → Check references/splitbutton-features.md#event-handling [blocked]
- Styling issues? → Check references/types-and-styles.md [blocked]
- Accessibility concerns? → Check references/accessibility.md [blocked]
Resources
- Official Documentation: Syncfusion React SplitButton
- API Reference: Syncfusion SplitButton API
- Live Demos: Syncfusion React Demos
RadioButton
A skill for implementing the Syncfusion React RadioButtonComponent — a graphical UI element that lets users select exactly one option from a group. Supports checked/unchecked states, label positioning, small size, form integration, RTL, disabled state, and full CSS customization.
Navigation Guide
Getting Started
📄 Read: references/getting-started.md [blocked]
- Package installation and CSS import
- Basic
RadioButtonComponentrendering - Grouping radio buttons with
nameprop - Quick Vite + React project setup
- Enabling ripple effect
Label and Size
📄 Read: references/label-and-size.md [blocked]
- Adding captions with the
labelproperty - Positioning labels before/after with
labelPosition - Applying small size with
cssClass="e-small" - Default vs. compact size variants
Features and State
📄 Read: references/features-and-state.md [blocked]
- Setting checked/unchecked state with
checked - Disabling a RadioButton with
disabled - Grouping and form submission with
nameandvalue - RTL layout with
enableRtl - Handling state change via the
changeevent - Listening to component lifecycle with
created
Style and Appearance
📄 Read: references/style-and-appearance.md [blocked]
- Overriding default CSS classes
- Creating semantic color variants (primary, success, warning, etc.)
- Using
cssClassfor custom styles - Theme Studio integration for global theming
- CSS class reference table
Accessibility
📄 Read: references/accessibility.md [blocked]
- WCAG 2.2 and Section 508 compliance
- WAI-ARIA attributes (
role,aria-checked,aria-disabled) - Keyboard navigation shortcuts
- Screen reader support
API Reference
📄 Read: references/api.md [blocked]
- All properties:
checked,disabled,label,labelPosition,name,value,cssClass,enableRtl,enablePersistence,enableHtmlSanitizer,htmlAttributes,locale - Methods:
click(),destroy(),focusIn(),getSelectedValue() - Events:
change(ChangeArgs),created
Quick Start
Common Patterns
Controlled state with change handler
Form submission with name/value
Disabled option in a group
Small compact size
RTL support
Key Props Summary
Decision Guide
- User picks one of many options → Use
nameto group +valuefor each option - Pre-select a default → Set
checked={true}on the desired option - Read which option is selected → Use
changeevent (args.value) or callgetSelectedValue() - Prevent selection of an option → Use
disabled={true} - Dense UI layout → Add
cssClass="e-small" - RTL language UI → Use
enableRtl={true} - Custom color/branding → Use
cssClasswith custom CSS rules (see style-and-appearance.md)
Chips
The Syncfusion React Chips (ChipListComponent) component renders compact, interactive elements representing inputs, attributes, or actions. It supports single/multiple selection, deletion, drag-and-drop, avatars, icons, templates, and rich styling.
Navigation Guide
Getting Started
📄 Read: references/getting-started.md [blocked]
- Installation and package setup (
@syncfusion/ej2-react-buttons) - CSS/theme imports
- Rendering a basic chip or chip list
- Single chip vs. chip list with
ChipsDirective/ChipDirective - Running the application
Types and Selection
📄 Read: references/types-and-selection.md [blocked]
- Four chip types: Input, Choice, Filter, Action
- Single selection (
selection="Single") — choice chips - Multiple selection (
selection="Multiple") — filter chips - Deletable chips (
enableDelete) - Pre-selecting chips with
selectedChips - Click events (
onClick) for action chips
Customization
📄 Read: references/customization.md [blocked]
- Predefined styles:
e-primary,e-success,e-info,e-warning,e-danger - Leading icon (
leadingIconCss,leadingIconUrl) - Avatar image (
avatarIconCss) and avatar text (avatarText) - Trailing icon (
trailingIconCss,trailingIconUrl) - Outline chip (
cssClass="e-outline") - Custom chip template (
templateprop) htmlAttributesfor custom HTML attributes
Drag and Drop
📄 Read: references/drag-and-drop.md [blocked]
- Enabling drag and drop (
allowDragAndDrop) - Restricting drag area (
dragArea) - Drag events:
dragStart,dragging,dragStop - Cross-container drag and drop
Style Customization
📄 Read: references/style.md [blocked]
- CSS overrides for chip text, icon, delete button
- Outline chip border styling
- Selected chip background and color
- Avatar text background styling
- Chip height/size customization
Accessibility
📄 Read: references/accessibility.md [blocked]
- WCAG 2.2, Section 508, ADA compliance
- WAI-ARIA attributes (
role,aria-selected,aria-disabled, etc.) - Keyboard navigation shortcuts
- RTL support, screen reader support
API Reference
📄 Read: references/api.md [blocked]
- All properties:
text,chips,selection,enableDelete,cssClass,selectedChips,enabled,enableRtl,enablePersistence,allowDragAndDrop,dragArea,htmlAttributes,leadingIconCss,leadingIconUrl,avatarIconCss,avatarText,trailingIconCss,trailingIconUrl - Methods:
add(),remove(),find(),getSelectedChips(),select(),destroy() - Events:
click,beforeClick,created,delete,deleted,dragStart,dragging,dragStop
Quick Start
CSS (App.css):


