The React Chips is a feature-rich component that provides small blocks of text information. Chips can also contain avatars, images, letters, and close icons. They can be used as tags when filtering contacts and mail inbox, selecting single or multiple choices from available options, and providing input to an application.
React Chips are compact elements for representing simple content and can also trigger actions when selected.
Chips can be grouped together as a collection of choices. Choice chips allow users to select from available options.
Filter chips are a collection of chips that allow users to filter the view items based on their choices.
Input chips allow chips to be added or removed. A chip can be created from text provided by the user in an input box or deleted as needed.
You can customize the chip appearance with avatars, close icons, and more using the built-in options.
Easily get started with the React Chips using a few simple lines of TSX code example as demonstrated below. Also explore our React Chips Example that shows you how to render and configure a Chips in React.
import { ChipDirective, ChipListComponent, ChipsDirective } from '@syncfusion/ej2-react-buttons';
import * as React from 'react';
import * as ReactDOM from 'react-dom';
import { SampleBase } from '../common/sample-base';
import './default.css';
export class Default extends SampleBase<{}, {}> {
render() {
return (
<div className="control-section">
<ChipListComponent id="chip-default" >
<ChipsDirective>
<ChipDirective text="Apple" cssClass="e-primary"></ChipDirective>
<ChipDirective text="Microsoft" cssClass="e-info"></ChipDirective>
<ChipDirective text="Google" cssClass="e-success"></ChipDirective>
<ChipDirective text="Tesla" cssClass="e-warning"></ChipDirective>
<ChipDirective text="Intel" cssClass="e-danger"></ChipDirective>
</ChipsDirective>
</ChipListComponent>
</div>
)
}
}
Chips component is also available in Blazor, Vue, Angular, and JavaScript frameworks. Check out the different Chips platforms from the links below,
Syncfusion React Chips provides the following features:
You can find our React Chips demo here.
No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.
A good place to start would be our comprehensive getting started documentation.
Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.