Skip to content
Menu

Overlays

Account Menu Flyout

Account Menu Flyout: A profile summary button that opens into an account menu of labeled rows, with a small curved indicator line that straightens when the menu is open.

Using Account Menu Flyout

Use this flyout to group profile information and account actions behind one compact profile button.

Account Menu Flyout uses the card preview frame with a light/dark theme setting.

Supply a name and email, choose the panel alignment, and connect each selected row to the matching account destination through the selection callback.

The menu is an interface component. Authentication, billing changes and navigation must be implemented by your application; displaying a plan badge does not verify a subscription.

Customize the preview

These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.

ControlTypeDefaultPreview limits
nametextEugene AnUp to 40 characters
plantextProUp to 20 characters
alignselectendOptions: start, end
accentcolor#38BDF8No additional limit in the metadata.
Which frameworks are available for Account Menu Flyout?

Account Menu Flyout is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.

What does Account Menu Flyout depend on?

The React metadata lists these npm dependencies beyond React: motion, clsx, tailwind-merge.

What accessibility details are visible in Account Menu Flyout?

The React source for Account Menu Flyout includes: native elements (button); attributes and handlers (aria-activedescendant, aria-expanded, aria-haspopup, aria-hidden, aria-label, onKeyDown, tabIndex); explicit roles (menu, menuitem, separator); key comparisons (ArrowDown, ArrowUp, End, Enter, Escape, Home, Space, Tab). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

How does Account Menu Flyout handle reduced motion?

Account Menu Flyout reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: duration: reduced ? 0.08 : 0.16; reduced ? { duration: 0 } : { type: "spring", stiffness: 560, damping: 38 }; reduced ? { opacity: 0 } : { opacity: 0, scale: 0.93 }. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.

Connect your agent

Related open components