Free
Pro

Chips / Tags

Chips represent small pieces of information such as tags, categories, or filter values. They support colors, icons, removable state, and active state.

free

Default Chips

Use color to control the chip's color. Supported colors are primary, success, danger, warning, and accent.

DefaultPrimarySuccessDangerWarningAccent

HTML

Sizes

Use size to control the chip size. Options are sm, md (default), and lg.

SmallMediumLarge

HTML

Chips with Icons

Use icon to add an icon from our Icon Pack.

CompletedCriticalInfoFeaturedPending

HTML

Removable Chips

Set [removable]="true" to show a close button. Listen for (removed) to handle removal.

AngularTailwindTypeScriptComponentsUI Library

HTML

Active Chips

Set [active]="true" to highlight the chip with a filled style. Useful for filter selection states.

DefaultActivePrimaryActiveSuccessActive

HTML

Disabled Chips

Set [disabled]="true" to prevent interaction and reduce opacity.

DisabledDisabled Active

HTML

Installation

Run the following command to add this component to your project:

bash

npx base-ui-cli add chips

API Reference

For AI agents

Copy a prompt with the registry name, CLI install, and import — or add the Base UI MCP server.

bash

npx -y base-ui-mcp

Base UI provides standalone components. Import the exact elements you want to use into your component.

typescript (Example)

// Install: npx base-ui-cli add chips
// Paths are relative to aliases.components (default: src/app/components)
import { ChipComponent } from './chips/chip.component';

@Component({
  selector: 'app-your-component',
  imports: [
    ChipComponent
  ],
  template: `...`
})
export class YourComponent {}

API for chips — generated from JSDoc in the library source.

API reference for chips
APIMemberTypeDefaultDescription
base-chipclassstring''Additional host CSS classes (merged via cn()).
base-chipcolorChipColor''
base-chipsizeChipSize'md'
base-chipremovablebooleanfalse
base-chipdisabledbooleanfalse
base-chipiconstring | undefinedundefined
base-chipactivebooleanfalse
base-chipremoveLabelunknown'Remove'
base-chip(removed)voidEmits when removed occurs.
base-chip(clicked)voidEmits when clicked occurs.