New to Kendo UI for VueStart a free 30-day trial

ButtonGroupProps

Represents the props of the Kendo UI for Vue ButtonGroup component.

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.

className?

string

Sets the className of the ButtonGroup component.

dir?

string

Sets the direction of the ButtonGroup (more information).

The available options are:

  • rtl
  • ltr
  • auto

disabled?

boolean

By default, the ButtonGroup is enabled (see example). To disable the whole group of buttons, set its disabled attribute to true. To disable a specific button, set its own disabled attribute to true and leave the disabled attribute of the ButtonGroup undefined.

If you define the disabled attribute of the ButtonGroup, it will take precedence over the disabled attributes of the underlying buttons and they will be ignored.

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.

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.

width?

string

Sets the width of the ButtonGroup.

If the width of the ButtonGroup is set:

  • The buttons resize automatically to fill the full width of the group wrapper.
  • The buttons acquire the same width.
Not finding the help you need?
Contact Support