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
BlocksPill hero
Copy promptCopy prompt

Customize

First headline line

Text after the pill on the second line

Paragraph under the headline

Small line under the buttons; empty hides it

JSX · copied with Copy prompt

<AnimatedPillHero />

Pill heroNew

Centered hero with a crew of bobbing agent avatars and a headline pill that wipes between words and colours. Respects reduced motion.

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-pill
1{
2 "registries": {
3 "@nextui": {
4 "url": "https://nextui.dev/r/{name}.json",
5 "headers": { "Authorization": "Bearer ${NEXTUI_TOKEN}" }
6 }
7 }
8}

Usage

1import { AnimatedPillHero } from "@/components/blocks/hero-pill";
2
3export function Hero() {
4 return (
5 <AnimatedPillHero
6 title="Where your team and AI"
7 words={[
8 { label: "Plan", color: "oklch(0.62 0.19 255)" },
9 { label: "Ship", color: "oklch(0.6 0.21 300)" },
10 ]}
11 description="One workspace for docs, tasks and agents."
12 primaryAction={{ label: "Get started", href: "/signup" }}
13 secondaryAction={{ label: "Talk to sales", href: "/contact" }}
14 footnote="Free for 14 days"
15 />
16 );
17}

API reference

Edit props live in the preview above, or see all 9 props
PropTypeDefaultDescription
wordsPillWord[]Plan, Build, Write, Ship, LaunchWords the headline pill cycles through, each with a label and accent colour
agentsHeroAgent[]3 sample badgesTilted logo badges above the headline: name, bg, tilt and a 24x24 SVG path
titlestring"Where your team and AI"First headline line
titleSuffixstring"together."Text after the pill on the second line
descriptionstring"Capture context, find answers…"Paragraph under the headline
primaryActionHeroAction{ label: "Start for free" }Main button: label, optional href and onClick
secondaryActionHeroAction{ label: "Book a demo" }Outline button next to the main one
footnotestring"Free for teams up to 5 · No credit card required"Small line under the buttons; empty hides it
classNamestring–Extra classes on the section

Related

All blocks

Grid hero

Moodboard generatorNew

Sign in to see the code

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

Sign in