Options

Configuration Structure

Options: {
a11y: A11yOptions,
enabled: boolean,
label: string,
loadChildren: Function,
cardExpansion: CardExpansionOptions,
clickToExpand: boolean,
canvasStyle: string,
childrenSpacing: number,
containerClassName: string,
contentKey: string,
direction: TreeDirection,
layoutType: TreeLayoutType,
enableAnimation: boolean,
motion: MotionOptions,
spring: MotionSpringPreset,
stagger: MotionStagger,
focus: FocusOptions_2,
clickToFocus: boolean,
dimOpacity: number,
enableBreadcrumb: boolean,
maxZoomNodeSpan: number,
enableSearch: boolean,
enableCommandPalette: boolean,
semanticZoom: SemanticZoomOptions,
compactBelow: number,
dotBelow: number,
enabled: boolean,
enableSelection: TreeSelectionMode,
enableToolbar: boolean,
enableZoomPan: boolean,
groupLeafNodes: boolean,
height: number | string,
highlightOnHover: boolean,
locale: LocaleOptions,
direction: TextDirection,
messages: { ... },
breadcrumbAriaLabel: string,
commandCollapseAll: string,
commandExpandAll: string,
commandFitScreen: string,
commandNoResults: string,
collapseNodeLabel: string,
expandNodeLabel: string,
collapseCardLabel: string,
expandCardLabel: string,
loadingNodeLabel: string,
nodeAriaLabel: Function,
rootAriaLabel: string,
searchAriaLabel: string,
searchMatchCount: Function,
searchPlaceholder: string,
paddingX: number,
paddingY: number,
siblingSpacing: number,
theme: TreeTheme,
viewPortHeight: number,
viewPortWidth: number,
width: number | string,
edgeColor: string,
edgeFlow: EdgeFlowOptions,
color: string,
dashLength: number,
direction: 'toChild' | 'toParent',
followFocus: boolean,
gapLength: number,
speed: number,
width: number,
edgeColorHover: string,
edgeColorMode: EdgeColorMode,
edgeStyle: EdgeStyle,
edgeWidth: number,
fontColor: string,
fontFamily: string,
fontSize: string,
fontWeight: string,
autoNodeHeight: AutoNodeHeightOptions,
enabled: boolean,
extraHeight: number,
maxHeight: number,
minHeight: number,
borderColor: string,
borderColorHover: string,
borderRadius: string,
borderStyle: string,
borderWidth: number,
cardImagePosition: 'left' | 'top',
collapseBadgeEnabled: boolean,
countBadgeBGColor: string,
countBadgeDataKey: string,
countBadgeEnabled: boolean,
countBadgeFontColor: string,
countBadgeFontSize: string,
countBadgeSource: CountBadgeSource,
countBadgeThreshold: number,
enableExpandCollapse: boolean,
externalLabel: ExternalLabelOptions,
align: 'center' | 'left' | 'right',
collisionStrategy: ExternalLabelCollision,
enabled: boolean,
fontColor: string,
fontFamily: string,
fontSize: string,
fontWeight: string,
offsetX: number,
offsetY: number,
rotation: number,
verticalAlign: 'bottom' | 'middle' | 'top',
nodeBGColor: string,
nodeBGColorHover: string,
nodeClassName: string,
nodeHeight: number,
nodeShadow: string,
nodeShadowHover: string,
nodeStyle: string,
nodeTemplate: Function,
nodeWrapper: Function,
nodeWidth: number,
onNodeClick: Function,
enableTooltip: boolean,
tooltipBGColor: string,
tooltipBorderColor: string,
tooltipFontColor: string,
tooltipFontSize: string,
tooltipId: string,
tooltipMaxWidth: number | undefined,
tooltipMinWidth: number,
tooltipPadding: number,
tooltipTemplate: Function,
tooltipOffset: number,
}

width

Default: '100%'

Width of the canvas. Accepts a pixel number or CSS percentage string.

height

Default: 'auto'

Height of the canvas. Use 'auto' to size to content.

direction

Default: 'top'

Controls the direction the tree grows from the root node.

Available Options:

  • top: root at the top, children flow downward (default)
  • bottom: root at the bottom, children flow upward
  • left: root on the left, children flow rightward
  • right: root on the right, children flow leftward
  • radial: root at the centre, each depth on its own ring

layoutType

Default: 'tree'

Where each rank is placed along the growth axis.

Available Options:

  • tree (default): every node sits at a depth matching its own
  • cluster: all leaves are pinned to the deepest rank, lining up on the outer ring in a radial layout or the bottom row in a cartesian one

Internal nodes keep their natural depth either way. See Radial and Dendrogram Layouts.

contentKey

Default: 'name'

Key in the data object used as the node display label.

siblingSpacing

Default: 50

Horizontal distance between sibling nodes in pixels.

childrenSpacing

Default: 50

Vertical distance between a parent node and its children in pixels.

highlightOnHover

Default: true

Highlight the hovered node and its connecting edges.

containerClassName

Default: 'root'

CSS class name for the root SVG container element.

canvasStyle

Default: ''

Arbitrary CSS injected onto the SVG root container element.

enableToolbar

Default: false

Show the zoom/pan toolbar.

enableAnimation

Default: true

Animate node positions, enter/exit, edges and the camera. With false, renders and reflows land at their final state immediately and node positions are readable synchronously after render().

Available Options:

  • true (default)
  • false

motion

Tuning for the spring-driven reflow. Springs carry velocity, so a toggle that arrives mid-animation redirects instead of restarting. See Motion and Animation.

spring

Options.motion.spring
Default: 'crisp'

Spring feel used for node and camera motion.

Available Options:

  • crisp (default): settles quickly without visible overshoot
  • gentle: softer, for large reflows
  • snappy: faster

stagger

Options.motion.stagger
Default: 'wave'

How a reflow propagates outward from the toggled node.

Available Options:

  • wave (default): nodes are staggered by their graph distance from the pivot, so a subtree unfolds outward
  • none: every node moves together

groupLeafNodes

Default: false

Stack leaf nodes vertically instead of spreading them horizontally.

viewPortWidth

Default: 800

Internal SVG viewport width in pixels.

viewPortHeight

Default: 600

Internal SVG viewport height in pixels.

nodeWidth

Default: 50

Width of each node in pixels. A node's own options.nodeWidth overrides this for that node; edges anchor to each card's own half-size, so mixed-size siblings separate correctly.

nodeHeight

Default: 30

Height of each node in pixels. Overridable per node via options.nodeHeight.

autoNodeHeight

Measure each card's content and size its height to fit, keeping the width fixed. Precedence is explicit per-node height, then measured, then the global nodeHeight. Measurement needs a DOM, so it returns nothing under SSR or jsdom. Cartesian directions only: grouped-leaf and radial layouts stay uniform. See Node Sizing and Expandable Cards.

enabled

Options.autoNodeHeight.enabled
Default: false

Measure content and size each node to fit.

Available Options:

  • false (default)
  • true

minHeight

Options.autoNodeHeight.minHeight
Default: 0

Lower clamp for the measured height in pixels, so short cards keep a baseline. 0 means no floor.

maxHeight

Options.autoNodeHeight.maxHeight
Default: 0

Upper clamp for the measured height in pixels. Taller content is capped and clipped by the node's overflow: hidden. 0 means no cap.

extraHeight

Options.autoNodeHeight.extraHeight
Default: 0

Extra vertical padding added to the measured content height, in pixels.

cardExpansion

A card can expand in place to reveal a detail section, which is separate from expanding a node's children. The expandCard / collapseCard / toggleCard methods work regardless of this option; expansion only grows the card when the height can change, so pair it with autoNodeHeight.

clickToExpand

Options.cardExpansion.clickToExpand
Default: false

Toggle a node's card by clicking anywhere on it rather than only the chevron. Clicks on the expand/collapse button still toggle children.

Available Options:

  • false (default)
  • true

nodeTemplate

Custom function returning an HTML string rendered inside each node.

nodeTemplate: (content) => {
  return `
    <div style='display:flex;justify-content:center;
      align-items:center;text-align:center;height:100%;'>
      ${content}
    </div>
  `;
}

The context passed to the template carries an expanded flag and a lod tier, so a custom card can render its own detail section and its own simplified tiers. See Custom Node Templates.

nodeWrapper

Stamp your own classes and data-* attributes on each node's wrapper <g> without replacing its nodeTemplate content. Return { className, attributes }, or nothing to leave the wrapper untouched. Attributes ApexTree uses for node identity are never overwritten, and a per-node hook set via NestedNode.options.nodeWrapper wins over the global one.

The context carries id, name, data, depth, collapsed, expanded and hasChildren.

nodeWrapper: ({ id, depth, collapsed }) => ({
  className: collapsed ? 'is-collapsed' : '',
  attributes: { 'data-depth': depth, 'data-menu-target': id },
})

Stamping happens on the SVG group outside the foreignObject, so it is free of the Safari foreignObject CSS constraints that apply to nodeTemplate. Attach delegated listeners on the container to react to them.

loadChildren

Load a node's children on first expand. Mark the node hasChildren: true with no children, and expanding it shows a spinner while this function settles, then splices the returned nodes in and reflows.

The context carries the node's id, name and raw data.

loadChildren: async ({ id }) => {
  const res = await fetch(`/api/reports/${id}`)
  return res.json()
}

Return an empty array for a node that turned out to have none, and its expand affordance is dropped. A rejected promise leaves the node collapsed so the user can retry. See Lazy Children.

nodeBGColor

Default: '#FFFFFF'

Default background color of nodes.

nodeBGColorHover

Default: '#FFFFFF'

Background color of nodes on hover.

nodeClassName

Default: 'apextree-node'

CSS class name added to every node element.

nodeStyle

Default: ''

Inline CSS string applied to each node element.

onNodeClick

Callback fired when the user clicks a node. Receives the raw node data object.

onNodeClick: (node) => {
  console.log('Clicked:', node);
}

borderWidth

Default: 1

Border width of nodes in pixels.

borderStyle

Default: 'solid'

CSS border-style for nodes.

borderRadius

Default: '5px'

CSS border-radius for nodes.

borderColor

Default: '#BCBCBC'

Border color of nodes in their default state.

borderColorHover

Default: '#5C6BC0'

Border color of nodes on hover.

enableExpandCollapse

Default: true

Show expand/collapse buttons on nodes that have children.

expandCollapseButtonBGColor

Default: '#FFFFFF'

Background color of the expand/collapse button.

expandCollapseButtonSize

Default: 15

Diameter of the expand/collapse button in pixels. Purely visual: the button carries an invisible hit area of max(size + 4, 24), so shrinking it never drops the tap target below the WCAG 2.2 SC 2.5.8 minimum of 24px. The chrome grows 15% on hover about its own centre while the hit area stays put.

expandCollapseButtonIconColor

Default: '#475467'

Color of the +/- glyph inside the expand/collapse button. Set this alongside expandCollapseButtonBGColor when theming, or the glyph can end up invisible against the button fill. Also settable as the --apex-tree-expand-btn-icon CSS variable.

expandCollapseButtonHaloColor

Default: ''

Color of an opaque ring drawn just outside the expand/collapse button, so it punches a clean hole through the node border and the incoming edge instead of merging into them. Set it to whatever is painted behind the nodes, usually the page or container background. Empty disables the halo, because the library cannot know that color. Also settable as the --apex-tree-expand-btn-halo CSS variable.

expandCollapseButtonBorderColor

Default: '#E4E7EC'

Border color of the expand/collapse button.

collapseBadgeEnabled

Default: true

Show the collapse-count badge on collapsed nodes.

collapseBadgeBGColor

Default: '#5C6BC0'

Background color of the collapse-count badge.

collapseBadgeFontColor

Default: '#FFFFFF'

Font color of the collapse-count badge.

collapseBadgeFontSize

Default: '12px'

Font size of the collapse-count badge.

collapseBadgeThreshold

Default: 1

Minimum number of hidden children required before the badge appears.

countBadgeEnabled

Default: false

Show a count badge in the top-right corner of every node, whether it is expanded or collapsed. Unlike the collapse badge, which only appears on a collapsed node, this one is always visible.

Available Options:

  • false (default)
  • true

countBadgeSource

Default: 'descendants'

What the count badge number represents.

Available Options:

  • descendants (default): every node beneath this one
  • children: direct children only
  • data: a value read from the node's own data at countBadgeDataKey

countBadgeDataKey

Default: 'count'

Per-node field read for the badge number when countBadgeSource is 'data'. The value is coerced with Number(...); non-numeric or missing values render no badge.

countBadgeThreshold

Default: 1

Minimum count required before the badge appears, which hides zero and low counts.

countBadgeBGColor

Default: '#EEF2FF'

Background color of the count badge.

countBadgeFontColor

Default: '#3730A3'

Font color of the count badge.

countBadgeFontSize

Default: '12px'

Font size of the count badge. Accepts a CSS length.

groupLeafNodesSpacing

Default: 10

Spacing between stacked leaf nodes when groupLeafNodes is true, in pixels.

edgeColor

Default: '#A1A1A1'

Color of the connecting lines between nodes.

edgeColorHover

Default: '#5C6BC0'

Color of connecting lines when highlighted on hover.

edgeWidth

Default: 1

Stroke width of connecting lines in pixels.

edgeFlow

Styling for the "active path": a marching dash that flows along the lineage set by graph.setActivePath(ids). Plain SVG plus injected keyframes, and it respects reduced motion by highlighting the path without animating it. See Focus Mode and the Active Path.

color

Options.edgeFlow.color
Default: '#5C6BC0'

Stroke color of an active, flowing edge.

width

Options.edgeFlow.width
Default: 2

Stroke width of an active edge, in pixels.

speed

Options.edgeFlow.speed
Default: 60

Flow speed in SVG units per second, which is how fast the dashes travel.

dashLength

Options.edgeFlow.dashLength
Default: 8

Length of each dash in the marching pattern, in pixels.

gapLength

Options.edgeFlow.gapLength
Default: 6

Gap between dashes in the marching pattern, in pixels.

direction

Options.edgeFlow.direction
Default: 'toChild'

Direction the dashes travel.

Available Options:

  • toChild (default): flows root to leaf
  • toParent: flows leaf to root

followFocus

Options.edgeFlow.followFocus
Default: false

Set the active path to a node's lineage automatically when focus mode spotlights it, and clear it on clearFocus().

Available Options:

  • false (default)
  • true

enableTooltip

Default: false

Show a tooltip on node hover.

tooltipId

Default: 'apextree-tooltip-container'

HTML id for the tooltip container element.

tooltipTemplate

Custom function returning an HTML string for the tooltip content.

tooltipTemplate: (content) => {
  return `
    <div style='display:flex;justify-content:center;
      align-items:center;text-align:center;height:100%;'>
      ${content}
    </div>
  `;
}

tooltipMaxWidth

Maximum width of the tooltip in pixels. undefined means unconstrained.

tooltipMinWidth

Default: 100

Minimum width of the tooltip in pixels.

tooltipPadding

Default: 8

Inner padding of the tooltip in pixels. Set to 0 when using a custom tooltipTemplate.

tooltipOffset

Default: 10

Distance between the tooltip and the cursor in pixels.

tooltipBGColor

Default: '#FFFFFF'

Background color of the tooltip.

tooltipBorderColor

Default: '#BCBCBC'

Border color of the tooltip.

tooltipFontColor

Default: '#000000'

Font color of tooltip text.

tooltipFontSize

Default: '12px'

Font size of tooltip text.

fontColor

Default: '#000000'

CSS color for node text.

fontFamily

Default: ''

CSS font-family for node text. Falls back to the page default when empty.

fontSize

Default: '14px'

CSS font-size for node text.

fontWeight

Default: '400'

CSS font-weight for node text.

a11y

WCAG 2.1 AA accessibility options for the tree chart.

enabled

Options.a11y.enabled

Enable ARIA semantics and keyboard navigation.

label

Options.a11y.label

Override the default aria-label ("Organizational chart") on the root SVG.

theme

Built-in color theme preset for the chart.

Available values: 'light' | 'dark' | 'custom'

Use 'custom' to fully control colors via the individual color options.

enableBreadcrumb

Show a breadcrumb trail above the chart that tracks the currently focused node path.

enableExpandCollapseZoom

Automatically zoom the viewport to fit the visible subtree when a node is expanded or collapsed.

enableSearch

Enable the built-in search bar that highlights matching nodes in the tree.

enableSelection

Enable node selection. Controls the selection mode.

Available values: 'single' | 'multi' | false

  • 'single': only one node can be selected at a time
  • 'multi': multiple nodes can be selected simultaneously
  • false: selection is disabled

focus

Spotlight a single node: everything outside its lineage and visible subtree dims, and the camera springs to frame it. Escape, a re-click, or clearFocus() restores the full view. The dim is applied by paint order rather than opacity on the cards, and it survives a collapse while focused. See Focus Mode and the Active Path.

clickToFocus

Options.focus.clickToFocus
Default: false

Focus a node when its card is clicked. Clicks on the expand/collapse button keep toggling the subtree.

Available Options:

  • false (default)
  • true

dimOpacity

Options.focus.dimOpacity
Default: 0.7

Strength of the dim applied outside the focused lineage and subtree, from 0 (no dim) to 1 (fully hidden).

semanticZoom

Render simplified node content as the tree is zoomed out. Node geometry is fixed across tiers: the layout is computed once and crossing a threshold only swaps what renders inside each node's box, so nothing moves and the camera is untouched. See Semantic Zoom.

enabled

Options.semanticZoom.enabled
Default: false

Re-tier node content by how wide a node appears on screen.

Available Options:

  • false (default)
  • true

compactBelow

Options.semanticZoom.compactBelow
Default: 90

On-screen node width in CSS pixels at or below which a node drops from the full tier to 'compact' (name and role). Must be greater than dotBelow.

dotBelow

Options.semanticZoom.dotBelow
Default: 42

On-screen node width in CSS pixels below which a node drops to 'dot', a color slab carrying just the name.

enableCommandPalette

Default: false

Add a command palette overlay opened with Cmd/Ctrl + K. Type to jump to a node by fuzzy label match, or run a quick action: expand all, collapse all, fit to screen. A plain DOM overlay, keyboard-navigable, dismissed with Escape. See Command Palette.

Available Options:

  • false (default)
  • true

edgeColorMode

Determines how connecting edge colors are resolved.

Available values: 'default' | 'node'

  • 'default': edges use edgeColor / edgeColorHover
  • 'node': edges inherit the color of the source node

edgeStyle

Shape of the connecting lines between nodes.

Available values: 'curved' | 'orthogonal' | 'straight'

nodeShadow

CSS box-shadow value applied to each node in its default state.

nodeShadowHover

CSS box-shadow value applied to each node on hover.

expandCollapseOnNodeClick

Default: false

Toggle a node's expansion when its body is clicked, in addition to the dedicated +/- button. The cursor becomes a pointer on clickable nodes, and the toggle fires before onNodeClick so the user callback sees the post-toggle node state.

Available Options:

  • false (default)
  • true

enableZoomPan

Default: true

Allow mouse-wheel zoom and drag-to-pan on the canvas. Set to false to lock the viewport and hide the toolbar's zoom buttons.

Available Options:

  • true (default)
  • false

maxZoomNodeSpan

Default: 8

Caps how far the camera zooms in when it re-fits after an expand or collapse, so a view of a few remaining nodes does not balloon to fill the canvas. The fitted view always spans at least this many node widths and heights, centred on the visible nodes. Larger means less zoom-in; 0 disables the cap and fits tightly.

The cap never shrinks the chart below 1:1, so a chart narrower than maxZoomNodeSpan node widths (a small card, a dashboard tile) keeps its tight fit instead of being scaled down on every collapse. Only affects the auto-fit path, so it needs enableExpandCollapseZoom; focus mode keeps its own tighter framing.

paddingX

Default: 100

Horizontal padding around the rendered tree, in pixels. Adds breathing room between the leftmost/rightmost nodes (and any external labels that extend past them) and the SVG viewBox edge.

paddingY

Default: 100

Vertical padding around the rendered tree, in pixels. Useful when leaf nodes have rotated externalLabel content that extends past the marker bounds.

externalLabel

Render the node's label as an SVG <text> element positioned outside the node bounds instead of inside the nodeTemplate. The node box still renders (background, border, border-radius), so pair with a small nodeWidth / nodeHeight and borderRadius: '50%' for a marker-style look with a floating label.

When externalLabel.enabled resolves to true for a node, the in-node template is suppressed for that node. Each field can also be set per-node via NestedNode.options.externalLabel, layered onto the global config.

enabled

Options.externalLabel.enabled
Default: false

Render the label outside the node bounds. When false, the in-node nodeTemplate is used as before.

Available Options:

  • false (default)
  • true

align

Options.externalLabel.align
Default: 'center'

Horizontal placement of the label relative to the node.

Available Options:

  • 'center' (default): label is centered on the node horizontally
  • 'left': label sits to the left of the node (text is right-anchored)
  • 'right': label sits to the right of the node (text is left-anchored)

verticalAlign

Options.externalLabel.verticalAlign
Default: 'middle'

Vertical placement of the label relative to the node.

Available Options:

  • 'middle' (default): label is centered on the node vertically
  • 'top': label sits above the node (text is bottom-anchored)
  • 'bottom': label sits below the node (text is top-anchored)

offsetX

Options.externalLabel.offsetX
Default: 0

Additional horizontal pixel offset applied after externalLabel.align.

offsetY

Options.externalLabel.offsetY
Default: 0

Additional vertical pixel offset applied after externalLabel.verticalAlign.

rotation

Options.externalLabel.rotation
Default: 0

Rotation in degrees, applied around the label anchor. Use 90 for top-to-bottom vertical labels and -90 for bottom-to-top.

collisionStrategy

Options.externalLabel.collisionStrategy
Default: 'none'

How to thin external labels that would overlap in a dense radial layout. Inner rings have little arc length, so labels on crowded rings collide. Only applies to direction: 'radial' and is ignored for cartesian layouts; the spacing threshold is derived from the label fontSize.

Available Options:

  • none (default): render every label, which may overlap when dense
  • hide: hide labels that lack tangential room on their ring, keeping a maximal, evenly spaced subset; well-separated labels always survive
  • leaves: additionally drop every inner-node label, labelling only leaves, then still thinning crowded leaves by arc length

fontColor

Options.externalLabel.fontColor

Override the global fontColor for the external label only.

fontFamily

Options.externalLabel.fontFamily

Override the global fontFamily for the external label only.

fontSize

Options.externalLabel.fontSize

Override the global fontSize for the external label only.

fontWeight

Options.externalLabel.fontWeight

Override the global fontWeight for the external label only.

cardImagePosition

Default: 'left'

Where the built-in org-card places the avatar. Custom nodeTemplates receive this through the template context.

Available values: 'left' | 'top'

  • 'left' (default): avatar beside the text
  • 'top': avatar centered above the text (below it for direction: 'bottom', so it sits on the parent-facing edge)

locale

Localization and text-direction options. Defaults to { direction: 'ltr' }, which reproduces the pre-localization output exactly. See the Localization and RTL guide for worked examples.

direction

Options.locale.direction
Default: 'ltr'

Text and layout direction.

Available values: 'ltr' | 'rtl' | 'auto'

  • 'ltr' (default): left-to-right
  • 'rtl': mirrors the tree horizontally and sets dir="rtl" on the container, so node text and the search/breadcrumb chrome flow right-to-left. Tuned for the vertical 'top' and 'bottom' growth directions.
  • 'auto': defers to the document or element's inherited direction

This is separate from the top-level direction option, which sets the tree's growth direction.

messages

Options.locale.messages

Overrides for user-facing strings. Accepts a partial set; unset keys keep their English defaults. Plain labels are strings; strings that embed runtime data are functions.

rootAriaLabel

Options.locale.messages.rootAriaLabel

Root SVG aria-label. The legacy a11y.label option still overrides this.

searchPlaceholder

Options.locale.messages.searchPlaceholder

Placeholder text for the search input.

searchAriaLabel

Options.locale.messages.searchAriaLabel

aria-label for the search input.

searchMatchCount

Options.locale.messages.searchMatchCount

Function that builds the search match-count text from the match count, so each locale controls its own pluralization.

breadcrumbAriaLabel

Options.locale.messages.breadcrumbAriaLabel

aria-label for the breadcrumb <nav>.

expandNodeLabel

Options.locale.messages.expandNodeLabel

aria-label for the expand button.

collapseNodeLabel

Options.locale.messages.collapseNodeLabel

aria-label for the collapse button.

nodeAriaLabel

Options.locale.messages.nodeAriaLabel

Function that builds each node's aria-label from a context object (name, level, position, total, and optional state), so translators can produce a grammatically correct label.

loadingNodeLabel

Options.locale.messages.loadingNodeLabel

Expand-button aria-label while a node's children are lazy-loading.

expandCardLabel

Options.locale.messages.expandCardLabel

aria-label for the chevron that expands a node's card.

collapseCardLabel

Options.locale.messages.collapseCardLabel

aria-label for the chevron that collapses a node's card.

commandPaletteAriaLabel

Options.locale.messages.commandPaletteAriaLabel

aria-label for the command-palette dialog.

commandPalettePlaceholder

Options.locale.messages.commandPalettePlaceholder

Placeholder text for the command-palette input.

commandExpandAll

Options.locale.messages.commandExpandAll

Label for the command-palette "expand all" action.

commandCollapseAll

Options.locale.messages.commandCollapseAll

Label for the command-palette "collapse all" action.

commandFitScreen

Options.locale.messages.commandFitScreen

Label for the command-palette "fit to screen" action.

commandNoResults

Options.locale.messages.commandNoResults

Empty-state text shown when a command-palette query matches nothing.