How to add or change a full page of the Nyxs app (a section in the main area, like Sessions, Scheduled, Projects or Plugins). Use when adding a new Section, a page reached from the sidebar or a menu, or changing one of the existing full pages' header, tabs, search or list.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Nyxs App Pages?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/nyxs-code-nyxs-app-pages)
---
name: nyxs-app-pages
description: How to add or change a full page of the Nyxs app (a section in the main area, like Sessions, Scheduled, Projects or Plugins). Use when adding a new Section, a page reached from the sidebar or a menu, or changing one of the existing full pages' header, tabs, search or list.
---
# Full pages
A page is a `Section` (`src/lib/sections.ts`) drawn in `App.tsx`'s `<main>` instead of the chat:
`projects`, `routines` (Scheduled), `customize` (Plugins), `sessions` (View all)…
## Adding one
1. Add the id to `Section` and its English label to `SECTION_LABELS` (`sections.ts`).
2. Add it to the sidebar's `inCode` list (`Sidebar.tsx`): the sections where the sidebar shows
its nav and sessions. Forgetting it left the sidebar empty on the new page.
3. Lazy-load the page in `App.tsx` with `lazyRetry(() => import(...))` and add its branch next to
`section === "routines"`, inside `<Suspense fallback={null}>`.
4. Open it with `navigate(navSnapshot({ section: "<id>", settingsOpen: false, settingsSection:
undefined }))` so back/forward work.
5. Opening a session from the page goes back to the chat (`resumeSession` sets the section to
`code`).
## Layout (as Claude's pages)
- `flex-1 overflow-y-auto custom-scrollbar` > `max-w-[960px] mx-auto px-8 pt-14 pb-16`.
- Title: `<h1 className="text-[28px] font-serif text-text-100 mb-6">`.
- Toolbar: `PillTabs` on the left; on the right a search icon that becomes a `SearchBox`
(`w-56`), filter/sort `Dropdown`s, and the main action as a dark button
(`h-8 rounded-md bg-text-100 text-bg-0 text-[14px] font-medium`, with a `Plus`). All from
`src/components/customize/ui.tsx`.
- Rows: full width, `rounded-[8px] px-3 py-3.5 hover:bg-bg-200`, title left, muted metadata right
that gives way to a `···` button on hover (see `nyxs-menus`).
- Empty and no-match states: one centered line, `text-[13px] text-text-400`.
## The theme
The theme's backdrop is only drawn behind the chat (`ModBackdrop hidden={section !== "code"}`):
pages show the plain app background. That is intended; don't paint the backdrop on a page.
## Texts and tests
All texts in a namespace of their own in the 10 locales (`nyxs-i18n`). A component test renders
the page with plain props and handlers (`SessionsPage.test.tsx`).