Skip to content
Back to skills

Nyxs Menus

ASecurity

How dropdown and options menus must look and behave in the Nyxs app (src/). Use whenever adding or changing a menu, a "⋯" options button, a submenu, a filter or sort menu, a row's context menu, or the icons on such buttons.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 6, 2026
ai-agents

Works with

  • cli

Security analysis

A100/100

Scanned December 6, 2026

npx -y skills add nyxs-code/nyxs-code --skill nyxs-menus --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Nyxs Menus?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Nyxs Menus
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nyxs-code-nyxs-menus/badge)](https://www.skillsdirectory.com/skills/nyxs-code-nyxs-menus)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: nyxs-menus
description: How dropdown and options menus must look and behave in the Nyxs app (src/). Use whenever adding or changing a menu, a "⋯" options button, a submenu, a filter or sort menu, a row's context menu, or the icons on such buttons.
---

# Menus in Nyxs

(A choice among values in a settings row is a `SettingSelect`, see `nyxs-setting-select`; this
skill is for menus of actions and filters.)

## The panel

- Mark it `data-mod-menu` and `role="menu"`; items `role="menuitem"` (`menuitemradio` with
  `aria-checked` for a pick).
- Background `bg-bg-100`, `border border-bg-300`, `shadow-xl`/`shadow-2xl`, corners
  `rounded-[5px]`–`rounded-[8px]` (see `nyxs-corner-radius`), padding `p-1`–`p-1.5`.
- Over a custom theme, `data-mod-menu` gets the theme's glass at **92 % tint at least**
  (`src/index.css`): at the panels' 60 % the text behind mixed with the items. Don't give a menu
  its own translucent background.
- Opened from the sidebar or a list, render it in a portal or `fixed`, so it isn't clipped.

## The items

- One line each: `whitespace-nowrap`, **`text-left`**, label on the left, value or shortcut on
  the right (`justify-between`). A `<button>` centers its text by default: a menu once showed
  "Ordenar por" on two centered lines.
- Make the panel wide enough for the longest label in every language (the organize menu is
  280 px); a value on the right truncates, the label never does.
- A row that opens a submenu shows its current value in `text-text-400` (accent when it differs
  from the default) and a `ChevronRight`; the submenu opens on hover and on click.
- Groups split by `h-px bg-bg-300` separators; a destructive item last, `text-red-400`.
- A row's options menu can take letter shortcuts while it is open (as Claude's: U, R, F, A, D),
  shown on the right in `text-text-500`.

## The buttons that open them

- Options: **`Ellipsis`** (horizontal `···`), never `EllipsisVertical`.
- Filter / organize / manage: **`ListFilter`**, never `SlidersHorizontal`.
- A hover-only button (`opacity-0 group-hover:opacity-100`) stays visible while its menu is open,
  and when it carries state the user set (an active filter's dot).
- Icon-only: `aria-label`, and `data-tooltip` only when the icon isn't obvious (see
  `nyxs-tooltips`).

## Shared pieces

`Dropdown`, `MenuItem`, `MenuSeparator`, `MenuLabel` in `src/components/customize/ui.tsx`;
`RecentsFilterMenu.tsx` for a menu with submenus; `SessionsPage.tsx` (`RowMenu`) for a row menu
with letter shortcuts.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.