# Blazor Chip Overview

The <a href="https://www.telerik.com/blazor-ui/chip" target="_blank">Blazor Chip component</a> shows a piece of information in a compact form. The chip can be selected, removed or disabled. You can respond to various user interactions through the exposed [events](https://www.telerik.com/blazor-ui/documentation/components/chip/events), and customize the [appearance](https://www.telerik.com/blazor-ui/documentation/components/chip/appearance) of the Telerik Chip for Blazor.

## Creating Blazor Chip

To use a Telerik Chip for Blazor:

1. Add the `TelerikChip` tag.
2. Set the `Selected` parameter to a `boolean`. It supports one-way and two-way binding.
3. Set the `Text` and `Icon` parameters, or define arbitrary `ChildContent` inside the `TelerikChip` tag.

> caption Basic Chip for Blazor

<demo metaUrl="client/chip/overview/" height="250"></demo>

## Events

[The Chip component fires events for clicks, selection and removal. Read more about them here.](https://www.telerik.com/blazor-ui/documentation/components/chip/events)

## Appearance

You can customize the appearance of the Blazor Chip via a variety of built-in customization options. [Read more about the Chip appearance settings...](https://www.telerik.com/blazor-ui/documentation/components/chip/appearance)

> tip To learn more about the appearance, anatomy, and accessibility of the Chip, visit the [Progress Design System Kit documentation](https://www.telerik.com/design-system/docs/components/chip/)—an information portal offering rich component usage guidelines, descriptions of the available style variables, and globalization support details.

## Chip Parameters

The table below lists the Chip parameters. Also check the [Chip API Reference](https://www.telerik.com/blazor-ui/documentation/api/telerik.blazor.components.telerikchip) for all parameters, methods and events.

<style>
    .article table {
        table-layout: auto;
        word-break: normal;
    }
</style>

| Parameter           | Type and Default Value | Description                                                                                                                                                                                                                                                                                                                                                                                                      |
| ------------------- | ---------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `AriaLabel`         | `string`               | Maps to the `aria-label` attribute of the `<div class="k-chip">` element. Use this parameter if the text that labels the component is not visible.                                                                                                                                                                                                                                                               |
| `Class`             | `string`               | An additional CSS class for the `<div class="k-chip">` element. Use it to [customize the component styles and override the theme](https://www.telerik.com/blazor-ui/documentation/styling-and-themes/override-theme-styles).                                                                                                                                                                                     |
| `Disabled`          | `bool`                 | Specifies if the Chip is disabled.                                                                                                                                                                                                                                                                                                                                                                               |
| `Icon`              | `object`               | Use this parameter to render an icon in the chip.                                                                                                                                                                                                                                                                                                                                                                |
| `IconVariant`       | `string`               | Selects the [SVG icon variant](https://www.telerik.com/blazor-ui/documentation/common-features/icons#use-svg-icon-variants).                                                                                                                                                                                                                                                                                     |
| `Id`                | `string`               | Renders as the `id` attribute on the `<select />` element, so you can attach a `<label for="">` to it.                                                                                                                                                                                                                                                                                                           |
| `Removable`         | `bool`                 | Specifies if the chip can be removed by the user. If set to `true` a remove icon will be rendered on each available chip.                                                                                                                                                                                                                                                                                        |
| `RemoveIcon`        | `object`               | Defines the icon that will be rendered if the `Removable` parameter is set to `true`.                                                                                                                                                                                                                                                                                                                            |
| `RemoveIconVariant` | `string`               | Selects the [SVG icon variant](https://www.telerik.com/blazor-ui/documentation/common-features/icons#use-svg-icon-variants) of the remove icon.                                                                                                                                                                                                                                                                  |
| `Selectable`        | `bool` <br/> (`true`)  | Specifies if the Chip can be selected. Overrides the `Selected` parameter value.                                                                                                                                                                                                                                                                                                                                 |
| `Selected`          | `bool`                 | Controls the selected state of the Chip.                                                                                                                                                                                                                                                                                                                                                                         |
| `TabIndex`          | `int`                  | Maps to the `tabindex` attribute of the HTML element. You can use it to customize the order in which the inputs in your form focus with the `Tab` key.                                                                                                                                                                                                                                                           |
| `Text`              | `string`               | The string that is rendered in the Chip. You can set the `Text` parameter even when [using a `RenderFragment` as a `ChildContent` of the Chip](https://www.telerik.com/blazor-ui/documentation/components/chip/overview#creating-blazor-chip). Otherwise `ChipRemoveEventArgs.Text` will be `null` in the [`OnRemove` handler](https://www.telerik.com/blazor-ui/documentation/components/chip/events)#onremove. |

## Next Steps

* [Customize the Chip appearance](https://www.telerik.com/blazor-ui/documentation/components/chip/appearance)
* [Handle Chip events](https://www.telerik.com/blazor-ui/documentation/components/chip/events)

## See Also

* [Live Demo: Chip Overview](https://demos.telerik.com/blazor-ui/chip/overview)
* [Chip API Reference](https://www.telerik.com/blazor-ui/documentation/api/telerik.blazor.components.telerikchip)
