Tailwind CSS Chip - React

Get started on your web projects with our Tailwind CSS Chip which is a compact elements that represent an input, attribute, or action. This element appears dynamically as a group of multiple interactive elements and allows users to enter information, make selections, filter content, or trigger actions.

See below our simple Chip component example that you can use for your Tailwind CSS and React project. The example also comes in different styles and colors, so you can adapt it easily to your needs.


chip

Chip Variants

The Chip component comes with 4 different variants that you can change it using the variant prop.

chip filled
chip gradient
chip outlined
chip ghost

Chip Sizes

The Chip component comes with 3 different sizes that you can change it using the variant prop.

chip small
chip medium
chip large

Chip Colors

The Chip component comes with 19 different colors that you can change it using the color prop.

blue
red
green
amber
pink
indigo
purple
teal
cyan

Chip with Icon

You can add an icon at the beginning of Chip component using the icon prop.

account
account
account
account

Pills Chip

You can pass tailwind css classes for the Chip component using the className prop this helps to do any sort of customization for the chip.

pills chip
pills chip
pills chip
pills chip

Chip with Status

This chip element example is perfect if you want to announce the status of a particular item, process, or person.

Online
Offline

Chip with Checkbox

Use this example to represent selectable items or options in a compact manner.

Online
Offline

Chip Dismissible

The Chip component is a dismissible component that you can control it using the dismissible and show props.

Dismissible

Custom Chip Animation

You can modify the open/close state animation for Chip component using the animate prop.

Custom Animation

Chip with Avatar

Use the example below for a chip containing an avatar.

candice wu

Candice Wu

Edit this page on Github