Перейти к основному содержимому

Menus (dropdown, context, menu bar)

Generated from mcp/patterns.registry.json — do not edit by hand; change the registry and run bun run patterns:build.

Index card — the docs below are the canonical explanation; deep-tier pattern pages additionally carry invariants and emulation notes.

Category: UI Components & Design System · Tier: light · Risk: low — frontend only

Dropdown menu, context menu, and menu bar composites built on Bits UI for triggerable and right-click action lists.

When to use: Use when exposing a list of actions from a trigger button, right-click, or an app-level menu bar.

Docs

Code

  • src/lib/components/composites/dropdown-menu/ (GitHub · GitLab)
  • src/lib/components/composites/context-menu/ (GitHub · GitLab)
  • src/lib/components/composites/menu-bar/ (GitHub · GitLab)

Proof


Machine-readable record: ui-menus in mcp/patterns.registry.json.

← Back to Pattern Library

Думаете, этот паттерн можно сделать лучше? Расскажите как.

Оставить отзыв