• Introduction
  • Getting Started
  • Vue 2 End of Support
  • Vue Wrappers End of Life
  • Native Components
    • Animation
    • Buttons
    • Chartsupdated
    • Conversational UI
    • Data Tools
    • Date Inputs
    • Dialogs
    • Drawing
    • Dropdowns
    • Editor
    • Excel Export
    • File Saver
    • Form
    • Gauges
    • Gridupdated
    • Icons
    • Indicators
    • Inputsupdated
    • Labels
    • Layout
    • ListBox
    • ListView
    • Notification
    • PDF Processing
    • Popup
    • Progress Bars
    • Scheduler
    • ScrollView
    • Tooltip
    • TreeList
    • TreeView
    • Upload
  • Wrapper Components
  • Sample Applications
  • Styling & Themes
  • Common Features
  • Project Setup
  • Knowledge Base
  • Changelog
  • FAQ
  • Troubleshooting
New to Kendo UI for Vue? Start a free 30-day trial

ButtonProps

Represents the props of the Kendo UI for Vue Button component. Extends the native button props.

NameTypeDefaultDescription

accessKey?

string

Sets the accessKey property of the Button.

ariaLabel?

string

Sets the aria-label of the Button.

ariaPressed?

boolean

Sets the aria-pressed attribute of the Button.

dir?

string

Sets the direction of the Button.

disabled?

boolean

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

fillMode?

string

solid

Configures the fillMode of the Button.

The available options are:

  • solid
  • outline
  • flat
  • link
  • null—Does not set a fillMode className.

icon?

string

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

iconClass?

string

Defines a CSS class—or multiple classes separated by spaces—which are applied to a span element inside the Button (see example). Allows the usage of custom icons.

id?

string

Sets the id property of the Button.

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.

look?

string

Deprecated. Use fillMode prop instead.

The available values are: flat | outline

  • clear

primary?

boolean

Adds visual weight to the Button and makes it primary (see example). Deprecated. Use themeColor prop instead.

role?

string

Sets the role attribute of the Button.

rounded?

string

medium

Configures the roundness of the Button.

The available options are:

  • small
  • medium
  • large
  • circle
  • full
  • null—Does not set a rounded className.

selected?

boolean

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

shape?

string

Configures the shape of the Button.

The available options are:

  • rectangle
  • square
  • null—Does not set a shape class.

size?

string

medium

Configures the size of the Button.

The available options are:

  • small
  • medium
  • large
  • null—Does not set a size className.

svgIcon?

SVGIcon

Defines an SVGIcon to be rendered within the button.

tabIndex?

number

Sets the tabIndex property of the Button.

themeColor?

string

base

Configures the themeColor of the Button.

The available options are:

  • base
  • primary
  • secondary
  • tertiary
  • info
  • success
  • warning
  • dark
  • light
  • inverse
  • null—Does not set a themeColor className.

title?

string

Sets the aria-label of the Button.

togglable?

boolean

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

type?

string

Sets the type property of the Button.