Skip to main content

ChatLayout

The chat shell. It sets the theme and lays out the thread and the side.

ICU nurses in Texas

ReadyPeople

Find ICU nurses in Texas with at least five years of experience.

I found three candidates who match your search.

Example
<ChatLayout theme="light">
<ChatHeader title="ICU nurses in Texas" running={false} dataSource="person" />
<ChatBody>
<ChatThread>
<UserMessage message={request} />
<Composer disabled={false} running={false} onSubmit={send} />
</ChatThread>
<ChatSide>
<CandidateCard candidate={candidate} />
</ChatSide>
</ChatBody>
</ChatLayout>

Props​

PropType
theme'light' | 'dark' | 'system'Default system.
tokensThemeTokensPassed through to the theme.
classesChatLayoutClassesroot, body, thread, side.
childrenReactNodeUsually ChatBody.
classNamestringAdded on the root element.
styleCSSPropertiesAdded on the root element.

Render it inside SourcingTheme so the Nova tokens apply.