Skip to content

Compact input for simple flows #48

Description

@enqvida

What kind of request is this

A new component

The problem

The existing input component is large for simple conversations. A compact option would be useful across applications where model selection and a full toolbar are unnecessary.

Compact inputs are a common pattern in chat interfaces such as ChatGPT and Codex. They keep the initial interface simple and expand when more space or controls are needed.

What you'd like

Add a compact variant alongside the existing input component:

Start with a rounded, single-row layout.

Grow as the user types longer messages.

Support expanding into a larger composer for more complex input.

Allow optional attachment, microphone, voice, and send actions.

Work without model selection or a persistent secondary toolbar.

Leave no empty space for unused controls.

This would give developers a compact starting point that can expand into a richer input experience when needed.
Examples:

Image Image

What you're doing instead

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions