Get started on your web projects with our Tailwind CSS Chip (also known as Pills or Tags) which is a compact element that represents 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.
They often come with the capability to be removed or interacted with, allowing users to manipulate the data or selection represented by the chip.
See below our responsive chip component examples styled with Tailwind CSS that you can use for your web or mobile projects.
Create clean and minimal chips using Tailwind CSS rounded and padding utilities. This example shows how to build simple chips with proper spacing and hover states.
Scale your chips appropriately using Tailwind CSS sizing utilities. Create consistent small, medium, and large chips that maintain proper proportions across all devices.
The varying sizes allow web designers to cater to different spatial and functional requirements within an interface.
Style your chips with different visual treatments using Tailwind CSS utilities. Choose between filled, outlined, or ghost styles to match your design needs.
Each chip is contained within a <div>
element and designed with a consistent structure but different visual styles: filled, gradient, outlined, and ghost.
Customize your chips with Tailwind CSS color utilities. Use bg-slate-800
, bg-slate-200
, bg-blue-500
, bg-green-500
, bg-red-500
, and bg-amber-500
to represent different states or categories.
Add visual context to your chips using Tailwind CSS flex and spacing utilities. Combine icons with text to create more informative and engaging chips.
Create interactive chips using Tailwind CSS transition utilities. Add smooth remove animations and click handlers for better user interaction.
The example offers users the ability to remove or dismiss the chip from the UI, typically used in scenarios where users can select and then opt to remove choices, such as tags, filters, or selections.
Build user-focused chips using Tailwind CSS flex and image utilities. Perfect for displaying user selections or assignments with profile pictures.
Design pill-shaped chips using Tailwind CSS rounded utilities. Create fully rounded chips that work great for tags or status indicators.