NEURALNG
MISCBETA

Tag

A compact classification and status primitive with semantic severities, icons, controlled removal and complete visual ownership.

Text-first semanticsControlled removalHeadless ready

GET STARTED

Import

Import the canonical standalone class from the granular Tag entry point.

app.ts TypeScript
import {
  NeuralTag,
  type NeuralTagRemove,
} from '@neural-ng/core/tag';

@Component({ imports: [NeuralTag] })

Basic usage

Use value for plain classifications. Rounded pills are the default, while rectangular tags remain one input away.

AngularSignalsHeadless

Semantic severities

Primary follows the runtime palette. Secondary and semantic states follow the active surface and color mode.

PrimarySecondaryNeutralInfoSuccessWarningError

Sizes and shapes

Human-readable size values are independent from the rounded shape.

SmallMediumLargeSquare corners

Icons and projected content

iconClass handles the common case. Omit value to project arbitrary Angular markup.

AngularVerifiedProjectedcontent

Controlled removal

Tag emits intent without mutating the owning collection. This keeps filters and server state deterministic.

AngularSignalsAccessibility

No tag removed.

Removal states

Disabled tags remain visible and classified but cannot emit removal. The removal icon is replaceable.

AvailableLockedCustom remove icon

Unstyled and typed slots

Structural hooks and removal behavior remain while Tailwind owns every visible decision.

Agentic

Tag versus Badge

Use Tag

For categories, filters and textual lifecycle states that identify what an item is.

Use Badge

For compact counts, dots and indicators attached to another control or identity.