Components
    • Animation
    • Barcodes
    • Buttons
    • Charts
    • Common Utilities
    • Conversational UI
    • Data Grid
    • Data Query
    • Data Tools
    • Date Inputs
    • Date Math
    • Dialogs
    • Drawing
    • Dropdowns
    • Editor
    • Excel Export
    • File Saver
    • Form
    • Gantt
    • Gauges
    • Indicators
    • Inputs
    • Labels
    • Layout
    • ListBox
    • ListView
    • Mapbeta
    • Notification
    • PDF Processing
    • PivotGrid
    • Popup
    • Progress Bars
    • Ripple
    • Scheduler
    • ScrollView
    • Sortable
    • TaskBoard
    • Tooltips
    • TreeList
    • TreeView
    • Upload
    Sample Applications
    Styling & Themes
    Common Features
    Project Setup
    Changelog

ButtonProps

Represents the props of the KendoReact Button component. Extends the native button props.

NameTypeDefaultDescription

disabled?

boolean

Specifies if the Button is disabled (see example). Defaults to false.

fillMode?

"null" | "link" | "flat" | "outline" | "solid"

solid

Configures the fillMode of the Button.

The available options are:

  • solid
  • outline
  • flat
  • link
  • nullDoes not set a fillMode className.

icon?

string

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

iconClass?

string

Defines a CSS classor multiple classes separated by spaceswhich are applied to a span element inside the Button (see example). Allows the usage of custom icons.

imageAlt?

string

Defines the alternative text of the image rendered 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 is evaluated with relation to the URL of the web page.

rounded?

"null" | "small" | "medium" | "full" | "large"

medium

Configures the roundness of the Button.

The available options are:

  • small
  • medium
  • large
  • full
  • nullDoes not set a rounded className.

selected?

boolean

Sets the selected state of the Button. Can be used for controlled state.

shape?

"null" | "square" | "rectangle"

rectangle

Configures the shape of the Button.

The available options are:

  • rectangle
  • square
  • nullDoes not set a shape className.

size?

"null" | "small" | "medium" | "large"

medium

Configures the size of the Button.

The available options are:

  • small
  • medium
  • large
  • nullDoes not set a size className.

themeColor?

"null" | "error" | "inverse" | "base" | "success" | "dark" | "light" | "primary" | "secondary" | "tertiary" | "info" | "warning"

base

Configures the themeColor of the Button.

The available options are:

  • base
  • primary
  • secondary
  • tertiary
  • info
  • success
  • warning
  • error
  • dark
  • light
  • inverse
  • nullDoes not set a themeColor className.

togglable?

boolean

Provides visual styling that indicates if the Button is selected (see example). Defaults to false.