nextui.dev
Home
Docs
Saved
Pricing
Components37
  • Forms & inputs7
  • Cards13
  • Buttons, badges & avatars8
  • Feedback & display6
  • Effects3
Agents17
  • Chat inputNew
  • Task checklistNew
  • ReasoningNew
  • Tool callNew
  • Tool approvalNew
  • SourcesNew
  • Agent timelineNew
  • Artifact panelNew
  • Streaming messageNew
  • Conversation shellNew
  • Voice agentNew
  • Voice orbNew
  • Thinking ring
  • Thinking waveNew
  • Thinking sparkle
  • Thinking bot
  • Prompt deckNew
Blocks20
  • Agent chatNew
  • Pill heroNew
  • Grid hero
  • Moodboard generatorNew
  • Waitlist heroNew
  • Intro bannerNew
  • Creative home heroNew
  • Chat heroNew
  • App shelfNew
  • Usage card
  • Design resultsNew
  • Pricing tiers
  • Dashboard home
  • The shiftNew
  • Launch perksNew
  • Testimonials
  • Quote
  • Team
  • Leads tableNew
  • Sign in
Pages10
  • ASCII workspace$49
  • CRM overviewNew
  • Marketing dashboardNew
  • Developer portfolio$49
  • Particle landing$49
  • Particle story$49
  • Statement converter$49
  • AI photo studio$49
  • Group card launch$49
  • Month-end storyNew
Themes9
  • Default
  • Ember
  • Ocean
  • Forest
  • Grape
  • Rose
  • Amber
  • Clay
  • Brutal
Upgrade
nextui.dev

nextui components, blocks and themes you install with one command.

Product

  • Components
  • Blocks
  • Themes
  • Pricing

Resources

  • Docs
  • Roadmap
  • GitHub

Legal

  • License
  • Privacy
  • Terms
  • Refunds

nextUI

[ 200 OK ] · nextUI

© 2026 NEXTUI • All rights reserved.

Upgrade
BlocksChat hero
Copy promptCopy prompt

Customize

Text in the pill above the headline

Headline

Small caps line under the headline

Text on the sources button

Hint next to the send button; empty hides it

JSX · copied with Copy prompt

<OrbitChatHero />

Chat heroNew

AI hero with a polished chatbox whose placeholder types out questions, ringed by app icons orbiting on dashed circles. Paused while off screen.

Installation

Set your access key from API keys as NEXTUI_TOKEN in .env.local and add the @nextui namespace below to components.json once. Then every item installs by name. Each install counts as a copy on a free account.

$pnpm dlx shadcn@latest add @nextui/hero-chat
1{
2 "registries": {
3 "@nextui": {
4 "url": "https://nextui.dev/r/{name}.json",
5 "headers": { "Authorization": "Bearer ${NEXTUI_TOKEN}" }
6 }
7 }
8}

Usage

1"use client";
2
3import { FileText, Wallet } from "lucide-react";
4import { OrbitChatHero } from "@/components/blocks/hero-chat";
5
6export function Hero() {
7 return (
8 <OrbitChatHero
9 badge="Now with Notion"
10 title="Ask anything about your company"
11 prompts={["What did we ship last sprint?", "Who owns the billing service?"]}
12 suggestions={[
13 { icon: FileText, label: "Sprint notes" },
14 { icon: Wallet, label: "Spend this month" },
15 ]}
16 onSubmit={(question) => console.log(question)}
17 onSuggestionClick={(s) => console.log(s.label)}
18 />
19 );
20}

API reference

Edit props live in the preview above, or see all 15 props
PropTypeDefaultDescription
badgestring"40+ live connectors"Text in the pill above the headline
titlestring"AI that works with your data"Headline
subtitlestring"Connect apps, documents and databases"Small caps line under the headline
promptsstring[]4 sample questionsQuestions the placeholder types out in turn
appsOrbitApp[]12 social brandsChips on the orbits: ring (0 to 2), angle, SVG path, label and an optional brand color
sourcesLabelstring"All sources"Text on the sources button
hintstring"Answers cite their sources"Hint next to the send button; empty hides it
suggestionsHeroSuggestion[]3 sample chipsIcon + label chips under the chatbox
highlightsHeroHighlight[]2 sample pointsIcon + text points at the bottom
onSubmit(question: string, event: FormEvent) => void–Called with the typed question
onSuggestionClick(suggestion: HeroSuggestion) => void–A suggestion chip was clicked
onSourcesClick() => void–The sources button was clicked
onAttachClick() => void–The paperclip was clicked
onVoiceClick() => void–The microphone was clicked
classNamestring–Extra classes on the section

Related

All blocks

Pill heroNew

Grid hero

Sign in to see the code

Preview it freely. A free account copies code and prompts a few times a day.

Sign in