Ask AI Halo
An Ask AI pill that dips, springs open into a composer card with a metal edge whose highlight turns once, and sends a shockwave of light across the page from it.
When to use it
- Product or admin pages that want opening the assistant to feel like a moment, once per open rather than as decoration
- Launch pages showing an AI feature, where the page itself reacts to the question being sent
Watch out
- Wrap only the content area in the stage; keep app and browser toolbars outside so the halo never draws on them
- Give the page inside the stage a background color: the bend reads the page as pixels and transparent areas split oddly
- Mark rules, cards and chips with data-halo-line (data-halo-line="bg" for 1px dividers drawn with a background) to let them glint; text and icons never light up
- The bend uses SVG filters on HTML; turn it off with layers={{ bend: false }} if a page holds video or very large canvases
- The shortcut is Cmd/Ctrl+J by default; pass shortcut={false} if your app already uses it
- The composer takes its colors from the color-scheme around it (light-dark()), so set color-scheme with your theme, as next-themes and shadcn themes do
Let your agent add it
One copy holds the install command, when to use it, the props and the design rules. Paste it into Claude Code, Cursor or Codex.
This is a Pro block
One license unlocks every Pro block, now and in the future.
One-time $129 with a year of updates, or $19 a month. Use it in unlimited personal and client projects; installed blocks stay yours.
Install with your license
- 1. Add the SunUI Pro registry to
components.json.components.json{ "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } - 2. Put your license key in
.env.local.$ SUNUI_LICENSE_KEY=your-license-key - 3. Install the block.
$ npx shadcn@latest add @sunui-pro/ask-ai-halo
Similar blocks
- Pro
- Pro
- Pro
- Pro
- Pro
- Pro





