New to KendoReactStart a free 30-day trial

Inherits the native HTML Button. Represents the properties which can be set to a Button.

Definition

Package:@progress/kendo-react-buttons

Properties

disabled?

boolean

Specifies if the Button is disabled (see example).

Default:

false

icon?

string

Defines the name for an existing icon in a KendoReact theme (see example). The icon renders inside the Button by a span.k-icon element.

Defines a CSS class — or multiple classes separated by spaces — which apply to a span element inside the Button (see example). Allows you to use custom icons.

imageAlt?

string

Defines the alternative text of the image that renders inside the Button component.

imageUrl?

string

Defines a URL which is used as an img element inside the Button (see example). The URL can be relative or absolute. If relative, it evaluates in relation to the URL of the web page.

selected?

boolean

Sets the selected state of the Button. You can use this for controlled mode.

svgIcon?

SVGIcon

Defines the SVG icon that renders inside the Button component.

togglable?

boolean

Provides visual styling that shows if the Button is selected (see example).

Default:

false