Skip to content
ghostui

Preview

How should your assistant respond?
ConciseDetailedAsk first

Design guidance

Use Choice Group when all answers should be visible. Use Radio Group or Checkbox Group for simple controls with separate labels. Use Combobox when users need to search. Labels, descriptions, images and question validation stay in your application. Leading letter hints follow item order, including wrapped and disabled items. The first 26 choices support A–Z selection while the group has focus; later choices continue with AA/AB visual order hints. Standard radio and checkbox keyboard behavior stays available. Do not put links, buttons or text inputs inside a choice item.

Installation

Install

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

Basic usage

Structures

Examples

Simple answers

A short question with one answer.

Which model came first?
GPT-1GPT-2GPT-3

Multiple answers with a limit

A controlled set of permissions. Selected answers can be removed at the limit.

What can your assistant use?
Search the webFind current sources.Read project filesUse your workspace context.Run codeExecute code in a sandbox.

Choose up to 2. 1 selected.

Description cards

Use Content, Label and Description for a larger answer.

Focused reviewCheck the changed files and direct dependencies.Full reviewReview the project before a major release.

Media cards

Media accepts an image or your own preview. Give images useful alternative text.

Research notes and a source listResearchCollect sources and insights.A document outline with a draftWritingDraft and refine your work.

Without letter hints

Hide the leading hints in a compact settings surface.

ShortLong

Unavailable answers

Disable a specific answer without hiding it.

StandardAdvanced · unavailable

Validation feedback

Connect caller-owned error text with aria-describedby.

ConciseDetailed

Choose a response style to continue.

API reference