Headless UI

You might say

AI installed a component primitive, so why does the popup have no background or border—did the CSS fail to load?

A component library that supplies interaction state, keyboard navigation, and accessibility semantics without forcing a built-in visual theme.When building a custom dropdown or dialog with Tailwind CSS, faking it with plain div elements easily misses Esc dismissal, focus return, and screen-reader states. A headless UI library handles those interaction details while leaving all visual styling to your CSS; looking unstyled at first is expected, not a broken install.
Headless ComponentsUI Primitives

You can say this to an AI Agent

Ready to paste into Cursor, Claude Code, or Codex
Structured AI Agent prompt

Build this dropdown menu with a headless UI primitive instead of faking it with a plain div, and style it with our existing Tailwind tokens. After implementing, verify both the visual layout and keyboard interaction: Tab focus, arrow-key navigation, and focus returning to the trigger after pressing Esc.

Want your Agent to translate plain-language UI ideas automatically?Install free VibeHub Skill →
Oil UI Pro. Push AI’s design skills to the limit. Usability, existing projects and stricter review.
Further reading