XiodUI
HomeDocs
OverviewComponentsStyling & CustomizationChangelog

Components

  • Accordion
  • Agent Steps
  • Alert
  • Alert Dialog
  • Aspect Ratio
  • Autocomplete
  • Avatar
  • Badge
  • Breadcrumb
  • Button
  • Button Group
  • Button Split
  • Calendar
  • Card
  • Carousel
  • Checkbox
  • Circular Progress
  • Collapsible
  • Color Picker
  • Combobox
  • Command
  • Context Menu
  • Copy To Clipboard
  • Corner Badge
  • Dashboard Grid
  • Date Picker
  • Dialog
  • Dot Matrix
  • Draggable
    Updated
  • Drawer
  • Empty
  • Field
  • Fieldset
  • File Upload
    Updated
  • Form
  • Frame
  • Gauge
  • Grid
  • Group
  • Input
  • Input Group
  • Input OTP
  • Input Payment
  • Input Phone
    Updated
  • Input Sensitive
  • Kbd
  • Kinetic Click
  • Label
  • List Box
    Updated
  • Loader
  • Marker
  • Menu
  • Menubar
  • Message
  • Meter
  • Morphic Toast
  • Navigation Menu
  • Number Field
  • Option Picker
  • Orb
  • Pagination
  • Popover
  • Preview Card
    Updated
  • Progress
  • Radio
  • Resizable
  • Ruler Picker
  • Scroll Area
  • Scroll Bar
  • Select
  • Separator
  • Sidebar
  • Skeleton
  • Slider
  • Sortable
  • Switch
  • Table
  • Tabs
  • Text
  • Textarea
  • Timeline
  • Toast
  • Toggle
  • Toggle Group
  • Toolbar
  • Tooltip
  • Waveform
  • Wheel Picker

Loading...

Preview Skeleton

Installation Skeleton

Usage Skeleton

API Reference Skeleton

Sponsors

Support the development of XiodUI and help us build the best component library on Earth.

+++
Sponsor on GitHub

Agent Steps

Previous: AccordionNext: Alert

A live list of the steps an AI agent is taking, with a status for each and collapsible logs.

Preview

Loading Preview...

Installation

bun add xiod-ui

Usage

Imports

1import {2  AgentSteps,3  AgentStep,4  AgentStepIcon,5  AgentStepLabel6} from "xiod-ui/agent-steps";

Anatomy

1<AgentSteps>2  <AgentStep>3    <AgentStepIcon />4    <AgentStepLabel />5  </AgentStep>6</AgentSteps>

API Reference

Detailed documentation of properties and options.

AgentSteps

alias: AgentStepIndicator

Accepts render, plus every native <div> attribute.

PropTypeDefaultDescription
disableShimmer
boolean
false

Whether to turn off the shimmer that sweeps across the text. Used when there are no children.

icon
AccordionAlert
AgentStepIconValue
–

The step's icon: a built-in name such as thinking or searching, or an icon component. Used when there are no children.

interval
number
4000

How long each of the steps is shown, in milliseconds.

label
ReactNode
–

The text of the step shown. Used when there are no children.

labels
Partial<AgentStepsLabels>
–

Replaces the built-in text for this instance. See LabelsProvider to change it everywhere.

showIcon
boolean
true

Whether to show the icon. Used when there are no children.

showSpinner
boolean
false

Whether to show a spinning dashed ring around the icon while the step is running. Used when there are no children.

size
"lg"|"md"|"sm"
md

The size of the component.

status
"completed"|"waiting"|"running"|"failed"
running

The step's status. completed, failed and waiting show their own icon and text style; the shimmer and spinner only run while running. Used when there are no children.

steps
AgentStepItem[] | string[]
–

Steps to show one after another, every interval milliseconds, looping. Take the place of label and icon. Used when there are no children.

AgentStep

Accepts render, plus every native <div> attribute.

PropTypeDefaultDescription
status
"completed"|"waiting"|"running"|"failed"
running

The step's status. completed, failed and waiting show their own icon and text style; the shimmer and spinner only run while running. Used when there are no children.

AgentStepIcon

Accepts render, plus every native <div> attribute.

PropTypeDefaultDescription
icon
AgentStepIconValue
–

The step's icon: a built-in name such as thinking or searching, or an icon component. Used when there are no children.

showSpinner
boolean
false

Whether to show a spinning dashed ring around the icon while the step is running. Used when there are no children.

AgentStepLabel

Accepts render, plus every native <span> attribute.

PropTypeDefaultDescription
labelKey
Key
–

Identifies the label: when it changes, the old label fades out as the new one fades in. Defaults to the text when the label is a string or number, so other labels (elements) change in place unless you set this.

shimmer
boolean
true

Whether the label shows a shimmer sweep while its step is running.