New to Kendo UI for Vue? Start a free 30-day trial

Appearance

The SplitButton provides a predefined set of appearance options.

Apart from the default vision of the SplitButton, these alternative styling options enable you to configure each individual aspect of the component's appearance.

The current article provides details about how the component changes when the different configurations of its properties are applied. Here are the sections you can directly access:

Configurator demo

The following example demonstrates configuring different aspects of a SplitButton appearance through a configurator.

Example
View Source
Change Theme:

Size

The size of the SplitButton is controlled through its size property. The values we can pass to the property are as follows:

  • small — Sets the padding to 2px and 8px.
  • medium(Default) — Sets the padding to 4px and 8px.
  • large — Sets the padding to 6px and 8px.
  • null — Passing null to the size property gives us the option to define a custom CSS class that sets the padding of the SplitButton.

The following example demonstrates the usage of each size option:

Example
View Source
Change Theme:

Roundness

The roundness of the SplitButton is controlled through its rounded property. The values we can pass to the property are as follows:

  • small — Sets the border radius to 1px.
  • medium(Default) — Sets the border radius to 2px.
  • large — Sets the border radius to 4px.
  • full — Sets the border radius to 9999px.
  • null — Passing null to the rounded property gives us the option to define a custom CSS class that defines the border-radius of the SplitButton.

The following example demonstrates the usage of each rounded option:

Example
View Source
Change Theme:

Fill Mode

The styling of the SplitButton is controlled through its fillMode property. The values we can pass to the property are as follows:

  • solid (Default) — Sets a background color and solid borders.
  • flat — Sets transparent background and borders in default state, and background color in focused state.
  • outline — Sets a transparent background and solid borders.
  • link — Sets transparent background and borders.
  • null — Passing null to the fillMode property gives us the option to define a custom CSS class that defines the background and border of the SplitButton.

The following example demonstrates the usage of each fillMode option:

Example
View Source
Change Theme:

Theme Colors

The color of the SplitButton is controlled through its themeColor property.

  • base (Default) — The color of the SplitButton will be based on the base theme color.
  • primary — The color of the SplitButton will be based on the primary theme color.
  • secondary — The color of the SplitButton will be based on the secondary theme color.
  • tertiary — The color of the SplitButton will be based on the tertiary theme color.
  • info — The color of the SplitButton will be based on the info theme color.
  • success — The color of the SplitButton will be based on the success theme color.
  • warning — The color of the SplitButton will be based on the warning theme color.
  • error — The color of the SplitButton will be based on the error theme color.
  • dark — The color of the SplitButton will be based on the dark theme color.
  • light — The color of the SplitButton will be based on the light theme color.
  • inverse — The color of the SplitButton will be based on the inverse theme color.
  • null — Passing null to the themeColor property gives us the option to define a custom CSS class that sets the look of the SplitButton.

The following example demonstrates the usage of each themeColor option:

Example
View Source
Change Theme: