Skip to content
FelicityUI

Menu

Command menu with native focus and ruled dropdown surface.

Installation

terminal
npx felicityui add menu --platform react

Usage

example.tsx
import { Button } from "@/components/ui/button"

<Button>Button</Button>

Command menu with native focus and ruled dropdown surface.

FelicityUI uses native HTML, semantic tokens, and ruled surfaces. Install with felicityui add menu --platform react.

API Reference

PropTypeDefaultDescription
classNamestring—Additional classes.

Accessibility

WCAG 2.2 AA

  • Native semantics and keyboard support.
  • Visible focus indicator.
  • Sufficient contrast on semantic token pairs.

Platform notes

React

Native HTML with Felicity semantic tokens. Paper/ink surfaces, copper accent used sparingly, hairline borders, and ruled layouts — not generic SaaS chrome.

  • Server Component compatible unless marked use client.
  • Uses data-slot attributes for anatomy.
  • Focus-visible rings use color.focus.ring.