Queue
A comprehensive queue component system for displaying message lists, todos, and collapsible task sections in AI applications.
- How do I set up the project?
- What is the roadmap for Q4?
- Update the default logo to this png.

- Please generate a changelog.
- Add dark mode support.
- Optimize database queries.
- Set up CI/CD pipeline.
- Write project documentationComplete the README and API docs
- Implement authentication
- Fix bug #42Resolve crash on settings page
- Refactor queue logicUnify queue and todo state management
- Add unit testsIncrease test coverage for hooks
Installation
Copy
If you prefer using jsrepo, please install via the command below:
Copy
Usage
Copy
Examples
With Descriptions
Copy
With Actions
Copy
With Attachments
Copy
Component API
Queue
| Prop | Type | Default | Description |
|---|---|---|---|
class | string | - | Additional CSS classes to apply to the container |
children | Snippet | - | Child components |
...restProps | HTMLAttributes<HTMLDivElement> | - | All other div props are supported |
QueueSection
| Prop | Type | Default | Description |
|---|---|---|---|
defaultOpen | boolean | true | Whether the section is open by default |
class | string | - | Additional CSS classes |
children | Snippet | - | Child components |
...restProps | CollapsibleProps | - | All other Collapsible props are supported |
QueueItem
| Prop | Type | Default | Description |
|---|---|---|---|
class | string | - | Additional CSS classes |
children | Snippet | - | Child components |
...restProps | HTMLLiAttributes | - | All other li props |
QueueItemIndicator
| Prop | Type | Default | Description |
|---|---|---|---|
completed | boolean | false | Whether the item is completed |
class | string | - | Additional CSS classes |
QueueItemContent
| Prop | Type | Default | Description |
|---|---|---|---|
completed | boolean | false | Whether the item is completed |
class | string | - | Additional CSS classes |
children | Snippet | - | Content to display |
Features
- Collapsible sections for organizing items into groups
- Completed/pending states with visual indicators
- Hover-revealed actions for clean UI
- Attachment support for images and files
- Scrollable lists with max height
- Smooth animations for expand/collapse
- Keyboard accessible with proper ARIA labels
- Responsive design that adapts to different screen sizes
- Seamless light/dark theme integration