Hero 213 - Editor with typed autocomplete popupPro
Copy beside a code editor where a type-aware autocomplete menu cycles through suggestions on a loop, showing the inferred signature of each highlighted item.
About Hero 213
Copy beside a code editor where a type-aware autocomplete menu cycles through suggestions on a loop, showing the inferred signature of each highlighted item.
Hero 213 is a pro hero block for React, built on shadcn/ui and Tailwind CSS with motion animations that respect reduced-motion settings. It ships as 108 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.
- code
- editor
- autocomplete
- typescript
- sdk
Installation
- Add the Chocolate UI registry to your
components.json(see the installation guide). - Run the shadcn CLI:
npx shadcn@latest add @chocolate/hero-213Dependencies installed automatically: lucide-react, motion.
Uses: button, reveal, use-reduced-motion, utils.
Usage
import Hero213 from "@/components/blocks/hero-213"
export default function Page() {
return <Hero213 />
}