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

Chip Appearance

The chip 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 Chip in action.

Example
View Source
Change Theme:

Size

The Chip allows you to set different height and padding. To achieve this utilize the size property. It accepts values of type ChipSize or none.

The size option supports the following values:

  • small—Sets the padding to 3px.
  • medium (Default)—Sets the padding to 4px.
  • large—Sets the padding to 5px.
  • none—The none option removes the built-in sizing. Allows for custom padding.

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

Example
View Source
Change Theme:

Roundness

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

The rounded option supports the following values:

  • 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.
  • nonenone—The nonenone option removes the built-in roundness. Allows for custom border radius.

The following example demonstrates how to define the border radius of the Chip.

Example
View Source
Change Theme:

Fill Mode

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

The fillMode option supports the following values:

  • solid (Default)—Sets a background color and solid borders.
  • outline—Sets a transparent background and solid borders.
  • none—The 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 Chip.

Example
View Source
Change Theme:

Theme Colors

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

The themeColor option supports the following values:

  • base (Default)—Applies coloring based on the base theme color.
  • info—Applies coloring based on the info theme color.
  • success—Applies coloring based on the success theme color.
  • warning—Applies coloring based on the warning theme color.
  • error—Applies coloring based on the error theme color.
  • none—The 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 Chip.

Example
View Source
Change Theme:

In this article

Not finding the help you need?