Skip to content
Chat & AI

Queue

Server Component

Pending messages and todos waiting to run.

Import

tsx
import { Queue } from "@cronus-ui/ui";
bash
npx cronus-ui add queue

Examples

.cronus

No audit fixture declares this family in .cronus yet.

React onlyParity: Not portedParity scoreboard

API Reference

Generated from the component's exported types.

QueueItemProps

Extends LiHTMLAttributes<HTMLLIElement>

Skip QueueItemProps props table
PropTypeDefaultDescription
ref
Ref<HTMLLIElement>—Ref forwarded to the underlying DOM node.
children
ReactNode—Contents of the component.
className
string—Additional class names merged onto the root.

QueueItemIndicatorProps

Extends HTMLAttributes<HTMLSpanElement>

Skip QueueItemIndicatorProps props table
PropTypeDefaultDescription
ref
Ref<HTMLSpanElement>—Ref forwarded to the underlying DOM node.
completed
booleanfalse—
className
string—Additional class names merged onto the root.
children
ReactNode—Contents of the component.
id
string—DOM id of the root element.

QueueItemContentProps

Extends HTMLAttributes<HTMLSpanElement>

Skip QueueItemContentProps props table
PropTypeDefaultDescription
ref
Ref<HTMLSpanElement>—Ref forwarded to the underlying DOM node.
completed
booleanfalse—
className
string—Additional class names merged onto the root.
children
ReactNode—Contents of the component.
id
string—DOM id of the root element.

QueueItemDescriptionProps

Extends HTMLAttributes<HTMLDivElement>

Skip QueueItemDescriptionProps props table
PropTypeDefaultDescription
ref
Ref<HTMLDivElement>—Ref forwarded to the underlying DOM node.
completed
booleanfalse—
className
string—Additional class names merged onto the root.
children
ReactNode—Contents of the component.
id
string—DOM id of the root element.

QueueItemActionsProps

Extends HTMLAttributes<HTMLDivElement>

Skip QueueItemActionsProps props table
PropTypeDefaultDescription
ref
Ref<HTMLDivElement>—Ref forwarded to the underlying DOM node.
className
string—Additional class names merged onto the root.
children
ReactNode—Contents of the component.
id
string—DOM id of the root element.

QueueItemActionProps

Extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, "size">

Skip QueueItemActionProps props table
PropTypeDefaultDescription
ref
Ref<HTMLButtonElement>—Ref forwarded to the underlying DOM node.
type
string—Native type of the underlying element.
disabled
boolean—Disables pointer and keyboard interaction.
onClick
(event: MouseEvent) => void—Click handler.
children
ReactNode—Contents of the component.
className
string—Additional class names merged onto the root.

QueueItemAttachmentProps

Extends HTMLAttributes<HTMLDivElement>

Skip QueueItemAttachmentProps props table
PropTypeDefaultDescription
ref
Ref<HTMLDivElement>—Ref forwarded to the underlying DOM node.
className
string—Additional class names merged onto the root.
children
ReactNode—Contents of the component.
id
string—DOM id of the root element.

QueueItemImageProps

Extends ImgHTMLAttributes<HTMLImageElement>

Skip QueueItemImageProps props table
PropTypeDefaultDescription
ref
Ref<HTMLImageElement>—Ref forwarded to the underlying DOM node.
className
string—Additional class names merged onto the root.
children
ReactNode—Contents of the component.
id
string—DOM id of the root element.

QueueItemFileProps

Extends HTMLAttributes<HTMLSpanElement>

Skip QueueItemFileProps props table
PropTypeDefaultDescription
ref
Ref<HTMLSpanElement>—Ref forwarded to the underlying DOM node.
className
string—Additional class names merged onto the root.
children
ReactNode—Contents of the component.
id
string—DOM id of the root element.

QueueListProps

Extends HTMLAttributes<HTMLDivElement>

Skip QueueListProps props table
PropTypeDefaultDescription
ref
Ref<HTMLDivElement>—Ref forwarded to the underlying DOM node.
className
string—Additional class names merged onto the root.
children
ReactNode—Contents of the component.
id
string—DOM id of the root element.

QueueSectionProps

Extends ComponentProps<typeof Collapsible>

Skip QueueSectionProps props table
PropTypeDefaultDescription
defaultExpanded
booleantrueTaki alias for `defaultOpen`.
open
boolean—Controlled open state.
defaultOpen
boolean—Uncontrolled initial open state.
onOpenChange
(open: boolean) => void—Called when the open state changes.
children
ReactNode—Contents of the component.
disabled
boolean—Disables pointer and keyboard interaction.

QueueSectionTriggerProps

Extends ComponentProps<typeof CollapsibleTrigger>

Skip QueueSectionTriggerProps props table
PropTypeDefaultDescription
asChild
boolean—Render as the child element via Slot.
children
ReactNode—Contents of the component.
className
string—Additional class names merged onto the root.

QueueSectionLabelProps

Extends HTMLAttributes<HTMLSpanElement>

Skip QueueSectionLabelProps props table
PropTypeDefaultDescription
ref
Ref<HTMLSpanElement>—Ref forwarded to the underlying DOM node.
count
number——
label*
string——
icon
ReactNode——
className
string—Additional class names merged onto the root.
children
ReactNode—Contents of the component.
id
string—DOM id of the root element.

QueueSectionContentProps

Extends ComponentProps<typeof CollapsibleContent>

Skip QueueSectionContentProps props table
PropTypeDefaultDescription
forceMount
boolean—Keep the node mounted when closed, for exit animation.
asChild
boolean—Render as the child element via Slot.
children
ReactNode—Contents of the component.
className
string—Additional class names merged onto the root.

QueueProps

Extends HTMLAttributes<HTMLDivElement>

Skip QueueProps props table
PropTypeDefaultDescription
ref
Ref<HTMLDivElement>—Ref forwarded to the underlying DOM node.
className
string—Additional class names merged onto the root.
children
ReactNode—Contents of the component.
id
string—DOM id of the root element.