Chat UI
Interfaccia chat
Una chat UI unisce messaggi, nomi dei mittenti, un campo di testo per scrivere, stati di invio e allegati. Mostra anche modi per correggere gli errori.
V.Which pattern are you building?
YouA compact picker with search.
Un esempio vero
Una chat IA separa i messaggi dell'utente da quelli dell'assistente. Mostra le risposte in streaming, indica le fonti e offre i pulsanti Interrompi e Riprova.
Parti principali
- 01Trigger or task context
- 02Primary control surface
- 03Feedback, focus, and dismissal
Usalo quando
Usalo quando alternare i turni in chat è il modo più chiaro per completare il compito.
Non usarlo quando
Non nascondere mai passaggi fissi, errori, autorizzazioni o azioni che non possono essere annullate all'interno di chat vaghe.
Nome usato nel codice
message list + composer + status Prima di spedire
Before release, check the page structure, keyboard access, visible focus, contrast, and zoom. Also check loading, empty, error, success, cancel, and reduced-motion states.
Outcome: Complete the task with Interfaccia chat (Chat UI). User context: Una chat IA separa i messaggi dell'utente da quelli dell'assistente. Mostra le risposte in streaming, indica le fonti e offre i pulsanti Interrompi e Riprova. Recommended pattern: Interfaccia chat (Chat UI). Why it fits: Usalo quando alternare i turni in chat è il modo più chiaro per completare il compito. Do not use it when: Non nascondere mai passaggi fissi, errori, autorizzazioni o azioni che non possono essere annullate all'interno di chat vaghe. Product requirements: Define the default, loading, empty, error, success, and recovery states. Keep user input. Give clear feedback after every action. Accessibility and resilience: Use semantic HTML, full keyboard access, and visible focus. Make the layout work when zoomed and support reduced motion. Follow the project’s current rules. Do not add a new UI library unless the project already uses it. Acceptance criteria: The main task works with keyboard only and at 320px width. Focus and status changes are announced. Check loading, failure, retry, cancel, and reduced-motion paths. Evidence and limits (evidence boundary): Nessun singolo standard ufficiale controlla l'intero termine. Il suo significato può cambiare tra team, piattaforme o framework. Unknowns to confirm: Product wording, data source, analytics events, supported devices and languages, and platform limits.
Controlla questa richiesta
Review how Interfaccia chat (Chat UI) is used now. Definition: Una chat UI unisce messaggi, nomi dei mittenti, un campo di testo per scrivere, stati di invio e allegati. Mostra anche modi per correggere gli errori. Release checks: Before release, check the page structure, keyboard access, visible focus, contrast, and zoom. Also check loading, empty, error, success, cancel, and reduced-motion states. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.