Skip to main content

Component guide

This page collects the interaction language shared by the app and web products. Each group defines its boundary first, then demonstrates its key states through an interactive preview.

Forms and actions​

Button variants

Current button variants and sizes, followed by the proposed action hierarchy.

Form field states

Editing, read-only, required, and error states remain explicit.

Selection controls

Select, checkbox, radio, switch, and slider shown as meaningful settings.

Coverage64%

Date and time

Date and time form one scheduling decision.

Button variants​

Current variants are primary, brand, secondary, secondary-white, secondary-gray, destructive, outline, ghost, and link.

Sizes are sm, default, lg, and xl. Buttons support a loading state. Deletion uses the destructive variant instead of relying on text alone to communicate risk.

Form field states​

Editable, read-only, required, and error states must be explicit. Treat the label, description, control, and validation message as one information group. Validation cannot rely on red alone.

Selection controls​

  • Select chooses one item from a finite list.
  • Checkbox represents an independent include or exclude choice.
  • Radio represents mutually exclusive choices in a group.
  • Switch represents an immediately applied on or off state.
  • Slider selects a continuous value and displays the current number.

Place selection controls inside meaningful setting rows with visible labels and any necessary explanation.

Date and time​

Date and time use a popover plus a specialized picker. When they form one scheduling decision, group them together and show the time zone and format clearly.

Content and navigation​

Tabs

Current tabs and the proposed content-switching treatment.

View visual and interactive states.

General tabs

Used for three peer content areas.

Review the overall project state.

Accordion

Current accordion and a more focused disclosure proposal.

When should Accordion be used?⌄

Use it for supporting content and progressive disclosure; never hide the primary task.

How should it move?⌄

Animate only to explain expansion and respect reduced motion.

Dropdown and Popover

Dropdown handles actions, popover preserves context, and tooltip adds supporting information.

Supporting information cannot replace a visible label.

Tabs switch peer content in one context. Accordions contain supporting disclosure. Dropdowns contain actions, popovers contain anchored content, and tooltips add short explanations without replacing visible labels.

Dialogs and sheets​

Dialog

Review or edit content; focus is trapped while open and returns to the trigger when closed.

✦

Keep one task, a clear title, and a predictable next step.

AlertDialog

Reserve it for irreversible or high-risk actions and name the consequence in the confirmation action.

!

Deletion requires confirmation and a clear warning that it cannot be undone.

Sheet

A supporting side workspace that preserves the context of the main page.

≡

Use it for review queues, filters, or supporting settings.

1Trigger2Overlay task3Return focus

Dialogs support ordinary viewing or editing, alert dialogs are reserved for irreversible or high-risk decisions, and sheets provide side workspaces or mobile workflows. Every overlay needs a clear close path and managed focus.

Feedback and asynchronous states​

Toast variants

The global toaster is mounted at the product root.

Toast is for transient results; use an inline alert, page error, or notification center for persistent reading, action, or recovery.

Choose a button to preview a notification

Inline alert and states

Persistent page feedback that does not depend on a toast timeout.

iInfoThis message stays in the current context.
!Loading failedRefresh or choose retry.
Fetching the latest data…

Progress and skeleton

Progress communicates measurable completion; skeletons keep layout stable.

AI processing64%

Empty and retry

Empty, no result, permission, and error states need distinct messages.

♢No notifications yet

Invites and work updates will appear here.

Toasts communicate short-lived outcomes. Use inline alerts or page states when information requires sustained reading, action, or recovery. Empty, no-result, permission, and error states remain distinct, and failures provide a recovery action.

Tables and data patterns​

Table states

The current table wrapper handles horizontal overflow while consumers compose row states.

ComponentLayerStatusCoverage
ButtonPrimitiveStable100%
DialogPrimitiveReview82%
ToastFeedbackNeeds rules68%

Current page: 3

Card and badge system

Cards establish information hierarchy; badges label status while actions keep explicit verbs.

StableReady to use

Keep status separate from the next action and use explicit verbs.

DraftGuidance in progress

Keep status separate from the next action and use explicit verbs.

WarningStates need review

Keep status separate from the next action and use explicit verbs.

Table wrappers provide small-screen overflow, cards establish hierarchy, and badges communicate status only. Interactive content uses a button or link instead of turning a badge into an ambiguous control.

Agent chat and recording​

01Sidebar shell
02Messages
03Prompt input
04Agent run

Portal AI chat · Full sidebar

Combines the current Portal sidebar header, messages, and prompt input with sample data only.

G
GuppyCubed AIWorkspace assistant
From the annual plan, list the tasks to track this quarter.
G

I organized it into three trackable actions:

  1. Confirm partners and service sessions
  2. Collect feedback and impact evidence
  3. Complete the quarter-end summary
◉ Sample source
AI can make mistakes. Check important information.

Message list

User messages retain warm-gray bubbles while assistant responses keep unfilled content, sources, and inline actions.

From the annual plan, list the tasks to track this quarter.
G

I organized it into three trackable actions:

  1. Confirm partners and service sessions
  2. Collect feedback and impact evidence
  3. Complete the quarter-end summary
◉ Sample source

Prompt input

Includes attachment, running, and disabled states.

AI can make mistakes. Check important information.

Agent run

Long tasks show overall progress while tool activity explains only the current step.

Prioritizing tasks2 / 3 · Organizing impact evidence
✓ Read annual plan✓ Organize partners○ Create outcome summary

Conversation history

History supports current conversation, search, new conversations, and more actions.

Conversation history

Mobile Agent Chat

Recreates the centered title, black user bubble, unfilled assistant reply, and rounded composer.

GuppyCubed
From the annual plan, list the tasks to track this quarter.
G

I organized it into three trackable actions:

  1. Confirm partners and service sessions
  2. Collect feedback and impact evidence
  3. Complete the quarter-end summary
◉ Sample source
Message

Mobile Agent Voice

Listening, transcript-ready, and submission states live in one full-screen voice flow.

Impact specialist 1.0
Listening

Say the task you want to give the AI agent

Conversation components cover the sidebar shell, messages, prompt input, agent runs, history, and voice states. Sources lead back to original material, while long tasks preserve overall progress and a recovery path after failure.

Relationship graphs and workflow nodes​

Relationship graph

Select or drag a node to inspect its role in the project.

Relationship workflow

Current step 2/4Connect phases, activities, and evidence.

Project is the root node and every other node explains its relationship. Selection reveals name, type, and relationship, while current, completed, and next steps remain distinguishable at the same time.