Skip to content
ghostui

Preview

What are you working on?
Product designEngineeringResearchWritingData

Design guidance

Use Tag Group for a compact set of visible options, such as project labels, content filters, assistant capabilities, onboarding preferences or survey answers. It owns collection selection and limits through Ghost Checkbox Group or Radio Group. Each item delegates to TagItem.Selectable; custom entry is the same TagItem.Input owner. The shared TagItem view owns appearance. Tag Group uses its outline variant at the 32px base size; tags inside an input use the smaller filled style. Use Tag Input when users enter or search for values, and Badge for passive metadata. Give the group an accessible name. The application owns the option list, selected values and any selection limit.

Installation

Install

Install fieldset or field as well when using the labelled example compositions.

Basic usage

Structures

Examples

Single selection

Use radio semantics when users choose one starting point.

ResearchDraftReview

Selection limit

Selected tags remain removable when the maximum is reached.

Product designEngineeringResearchWritingData

Choose up to 3. 1 selected.

Custom options

Use TagGroup.Input for the dashed, content-sized custom entry. Enter or the Arrow Up button submits the draft. The example owns option insertion and selection. Custom tags hug their content at rest and grow when hover or keyboard focus reveals the Remove button. Touch devices show the button directly.

BugFeatureResearchDocumentation

Leading plus and check

The plus changes to a check when selected.

ResearchEngineeringWriting

Trailing plus and check

Keep the same state feedback after the label.

ResearchEngineeringWriting

Without icons

Use selection styling alone for compact labels.

ResearchEngineering

More options

Reveal another batch of options with a standard 32px outline Button. The caller owns the list and loading policy; the action does not change selection.

SearchFilesCode

Unavailable tags

Keep unavailable options visible without accepting changes.

ResearchEngineeringData · unavailable

Long labels

Long content wraps within the available width.

Product strategy and discoveryEngineeringAI-assisted research workflows

API reference

See Tag item for standalone selection, icon placement, removal and custom entry.