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

SplitButton Appearance

The SplitButton provides predefined appearance options such as different sizes, border radiuses, fill modes and theme colors.

The following example demonstrates all available appearance options of the SplitButton in action.

Example
View Source
Edit In Stackblitz  
Change Theme:

Size

The SplitButton allows you to configure its padding. To achieve this utilize the size property. It accepts values of type ButtonSize or none.

The size option supports the following values:

  • smallSets the padding to 2px and 4px.
  • medium (Default)Sets the padding to 4px and 8px.
  • largeSets the padding to 6px and 12px.
  • noneThe none option removes the built-in sizing. Allows for custom padding.

The following example demonstrates how to define the size of the SplitButton.

Example
View Source
Edit In Stackblitz  
Change Theme:

Roundness

The SplitButton enables you to apply different border radius to the component through the rounded property. It accepts values of type ButtonRounded or none.

The rounded option supports the following values:

  • smallSets the border radius to 1px.
  • medium (Default)Sets the border radius to 2px.
  • largeSets the border radius to 4px.
  • fullSets the border radius to 9999px.
  • noneThe none option removes the built-in roundness. Allows for custom border radius.

The following example demonstrates how to define the roundness of the SplitButton.

Example
View Source
Edit In Stackblitz  
Change Theme:

Fill Mode

The SplitButton allows you to set different fill modes by using the fillMode property. It accepts values of type ButtonFillMode or none.

The fillMode option supports the following values:

  • solid (Default)Sets a background color and solid borders.
  • flatSets transparent background and borders in default state, and background color in focused state.
  • outlineSets a transparent background and solid borders.
  • linkSets transparent background and borders.
  • noneThe none option removes the built-in fill mode styles. Allows for custom background and border styles.

The following example demonstrates how to define the fill mode of the SplitButton.

Example
View Source
Edit In Stackblitz  
Change Theme:

Theme Colors

The SplitButton allows you to set different theme colors by using the themeColor property. It accepts values of type ButtonThemeColor or none.

The themeColor option supports the following values:

  • base (Default)Applies coloring based on the base theme color.
  • primaryApplies coloring based on the primary theme color.
  • secondaryApplies coloring based on the secondary theme color.
  • tertiaryApplies coloring based on the tertiary theme color.
  • infoApplies coloring based on the info theme color.
  • successApplies coloring based on the success theme color.
  • warningApplies coloring based on the warning theme color.
  • errorApplies coloring based on the error theme color.
  • darkApplies coloring based on the dark theme color.
  • lightApplies coloring based on the light theme color.
  • inverseApplies coloring based on the inverse theme color.
  • noneThe none option removes the built-in theme color. Allows for a custom color.

The following example demonstrates how to define the theme color of the SplitButton.

Example
View Source
Edit In Stackblitz  
Change Theme:

In this article

Not finding the help you need?