NEURALNG
NAVIGATIONBETA

PanelMenu

An inline Accordion + Tree hierarchy with deterministic Signal expansion, deep keyboard navigation and complete visual ownership.

✓ Recursive data✓ Projected composition✓ Headless ready

GET STARTED

Import

Import the canonical standalone component. Legacy Component-suffixed exports remain compatibility aliases.

app.ts TypeScript
import { NeuralPanelMenu, type NeuralPanelMenuEntry } from '@neural-ng/core/panel-menu';

@Component({ imports: [NeuralPanelMenu] })

Data-driven hierarchy

Stable keys control expansion without mutating the immutable source array. Leaves emit selection; branches emit toggle state.

No interaction yet.

Multiple roots and deep branches

multiple keeps several root panels open. Nested branches preserve their independent state.

Projected composition

Use item and separator components when the hierarchy belongs directly in the template.

Disabled and link states

Disabled branches and leaves stay perceivable but cannot toggle or emit. Leaf entries may render native anchors through href, target and rel.

Unstyled and typed classes

Headless mode retains tree semantics, focus, expansion and animation structure while Tailwind owns every visible choice.

Component boundary

PanelMenu is always inline. Menu owns flat command lists, while Drawer owns an edge-based layout container that may contain a PanelMenu.