Registry Index

Search the catalog

Type to search items across every indexed registry, or pick a page.

ComponentReactregistry:ui2 dependencies

Prompt Input

prompt-input

A growing composer that sends on Enter and becomes a stop button while streaming.

Live, loading

Starting the live preview…

Rendered from its demo Prompt Input Demo. Runs in a sandboxed frame on a separate origin, in its registry's own theme. Mounted with no props — an item that paints an empty box is given its name as text, and some items need input to show anything.

3 other registries

Similar components

Other registries' take on prompt-input.

1 demo

See it in use

Files this registry ships to demonstrate the item. They are indexed and installable, but they don't count as components of their own.

A worked example of Prompt Input: The composer. Grows with the message, sends on Enter, keeps Shift+Enter for a new line, and turns into a stop button while a reply streams.

@mischief

More from @mischief