Skip to component details
EXEPERTAI LAB
ProductCapabilitiesTrustFAQUI GalleryBlogNews
Sign inOpen app ↗
ProductCapabilitiesTrustFAQUI GalleryBlogNewsSign in
← Browse gallery
Chat·@exepert/ui / ChatComposer

Chat Composer

A multiline input with a submit affordance for conversations.

Open in Playground ↗All components

Variants and states

3 copy-ready examples

Default composer

A ready-to-use composer with a restrained prompt.

Open in Playground ↗
Starting preview…
import { ChatComposer } from "@exepert/ui";
import "@exepert/ui/styles.css";
export default function Example() {
  return (
    <ChatComposer placeholder="Ask about this trace…" onSubmit={() => {}} />
  );
}

Usage

Keep submit close to the field and make the keyboard shortcut discoverable.

Props

  • value: string
  • defaultValue: string
  • placeholder: string
  • onValueChange: function
  • onSubmit: function
  • disabled: boolean

Accessibility

  • Use an accessible name for the text area.
  • Announce submit status without moving focus unexpectedly.

Install

Install the pinned public release, then import the component and stylesheet.

npm install @exepert/ui@0.1.0

import { ChatComposer } from "@exepert/ui";

import "@exepert/ui/styles.css";

EXEPERTAI LAB

Compare supported models, inspect system behaviour, and understand the context around each result.

PrivacyTermsContact

EXEPERT AI is an independent software and AI research lab in Malaysia

Malaysia · hello@exepert.com

Open in Gmail ↗

© 2026 EXEPERT AI. All rights reserved.