Magoo Component UI logo Magoo Component UI
← Catalog

Assistant Hero

assistant-hero organism experimental

A centered landing hero for an AI assistant - a big heading, a large prompt input, and example-prompt chips.

The width preview needs a screen wider than the chosen width — use a larger device (or a desktop browser) to see the desktop and tablet layouts.

Default

How can I help?

Ask a question, draft something, or start from an example below.

Builder

What do you want to build?

Describe an app and it will be scaffolded for you.

Props

NameTypeReq
heading string
subheading string
placeholder string
examples array

Related components

How to use

behavior.js wires the interaction with no network calls: clicking an example chip copies its label into the textarea, focuses it, and dispatches "prompt:pick" with the value; submitting the form (send button or Enter) dispatches "prompt:submit" with the current input value. A host app listens for those events to actually send the prompt. The portable self-init passes no props object.

Use cases

bannerhighlight WCAG AA SEO 40 dir: both ai-generated