Skip to content

Hex1b.Nodes ​

Assembly: Hex1b.dll

Classes ​

AccordionNode ​

Node representing a collapsible accordion with multiple sections. Each section has a header row and optional content area.

csharp
public sealed class AccordionNode : Hex1bNode, ILayoutProvider

AlignNode ​

Render node for . Positions its child based on alignment flags.

csharp
public sealed class AlignNode : Hex1bNode

BackdropNode ​

Render node for . Fills available space, intercepts all input, and optionally renders a background.

csharp
public sealed class BackdropNode : Hex1bNode

BackgroundPanelNode ​

Render node for . Fills its bounds with a background color, then renders the child on top. Everything else (measure, arrange, focus, input) is delegated to the child.

csharp
public sealed class BackgroundPanelNode : Hex1bNode

BarChartNode<T> ​

Render node for . Renders horizontal bars via the Surface API.

csharp
public sealed class BarChartNode<T> : Hex1bNode

BorderNode ​

A node that draws a box border around its child content. Border is not focusable - focus passes through to the child. Implements ILayoutProvider to clip child content to the inner area.

csharp
public sealed class BorderNode : Hex1bNode, ILayoutProvider

BreakdownChartNode<T> ​

Render node for . Renders a proportional segmented bar.

csharp
public sealed class BreakdownChartNode<T> : Hex1bNode

CalendarNode ​

Render node for . Wraps an internally-built that contains interactive day cells. The grid's child s handle focus and click events individually — this node delegates layout, rendering, and focus traversal to the child grid.

csharp
public sealed class CalendarNode : Hex1bNode

ColumnChartNode<T> ​

Render node for . Renders vertical columns via the Surface API.

csharp
public sealed class ColumnChartNode<T> : Hex1bNode

DatePickerNode ​

Render node for . Wraps a trigger and manages the multi-step picker state (year → month → calendar). Delegates layout, rendering, and focus traversal to the child button.

csharp
public sealed class DatePickerNode : Hex1bNode

DonutChartNode<T> ​

Render node for . Renders a donut (or pie) chart using half-block characters for 2× vertical resolution.

csharp
public sealed class DonutChartNode<T> : Hex1bNode

DraggableNode ​

A node that makes its child tree draggable. Registers a drag binding for left mouse button. When dragged, manages the drag-drop operation via .

csharp
public sealed class DraggableNode : Hex1bNode

DrawerNode ​

Render node for . Manages expansion state, measures/arranges content, and handles input.

csharp
public sealed class DrawerNode : Hex1bNode, ILayoutProvider

DroppableNode ​

A node that acts as a drop target for drag-and-drop operations. Not focusable itself — children can be focusable (including ). Drop target state (hover, acceptance) is managed by via .

csharp
public sealed class DroppableNode : Hex1bNode

DropTargetNode ​

A node that marks an insertion point for drag-and-drop within a . Visibility is controlled by the builder callback: when inactive, the builder typically returns a zero-height widget; when active (nearest to cursor), it returns a visual indicator.

csharp
public sealed class DropTargetNode : Hex1bNode

EffectPanelNode ​

A single-child container node that intercepts rendering to apply visual effects. Layout, arrangement, and focus are passed through to the child unchanged. During rendering, the child's output is captured to a temporary , the effect callback modifies it, then the result is composited to the parent.

csharp
public sealed class EffectPanelNode : Hex1bNode

FigletTextNode ​

Render node for . Caches the rendered FIGlet block keyed by the inputs (text, font, layout, wrap width) and emits the result line-by-line during render.

csharp
public sealed class FigletTextNode : Hex1bNode

FloatEntry ​

Represents a reconciled float child with its positioning information.

csharp
public sealed class FloatEntry

FloatLayoutHelper ​

Shared logic for containers that support children. Handles reconciliation, arrangement, rendering, and focus traversal of floated children.

csharp
public static class FloatLayoutHelper

FormNode ​

Render node for . Acts as a panel that delegates layout, rendering, and focus to its content child (a VStack or Grid built internally by the FormWidget). Also tracks form-level state: field values, validation results, and enabled states.

csharp
public sealed class FormNode : Hex1bNode

FormTextFieldNode ​

Render node for . Manages the label, text input, and adornment children.

csharp
public sealed class FormTextFieldNode : Hex1bNode

InfoBarNode ​

A container node for InfoBar that holds the composed widget tree. InfoBar builds a ThemePanel(HStack(...)) tree internally; this node wraps that tree for consistent reconciliation.

csharp
public sealed class InfoBarNode : Hex1bNode

InteractableNode ​

A node that makes its child tree focusable, clickable, and hoverable as a single unit. The node itself is the focus target — children are excluded from the focus ring. Renders no chrome of its own; layout and rendering pass through to the child.

csharp
public sealed class InteractableNode : Hex1bNode

KgpImageNode ​

A node that renders KGP (Kitty Graphics Protocol) images if the terminal supports it, otherwise falls back to rendering a fallback node.

csharp
public sealed class KgpImageNode : Hex1bNode

LayoutNode ​

A node that provides clipping and rendering assistance to its children.

csharp
public sealed class LayoutNode : Hex1bNode, ILayoutProvider

LayoutProviderHelper ​

Provides common clipping logic for layout providers. Handles intersection with parent layout providers automatically.

csharp
public static class LayoutProviderHelper

LegendNode<T> ​

Render node for . Renders a standalone legend with colored swatches and labels.

csharp
public sealed class LegendNode<T> : Hex1bNode

MarkdownNode ​

Render node for . Parses markdown source into an AST, builds a widget tree via , and delegates layout and rendering to the composed child node.

csharp
public sealed class MarkdownNode : Hex1bNode

Node that renders the current screen from a NavigatorState. The navigator delegates all rendering and input to the current child.

csharp
[Experimental("HEX1B001")]
public sealed class NavigatorNode : Hex1bNode

NotificationCardNode ​

Render node for . Displays a notification with title, optional body, action buttons, and timeout progress bar. Composes child ButtonNode for dismiss and SplitButtonNode for actions.

csharp
public sealed class NotificationCardNode : Hex1bNode

NotificationIconNode ​

Render node for NotificationIconWidget. Displays a bell icon with notification count and toggles the panel on click.

csharp
public sealed class NotificationIconNode : Hex1bNode

NotificationPanelNode ​

Render node for . Displays floating notifications and a drawer panel.

csharp
public sealed class NotificationPanelNode : Hex1bNode

PaddingNode ​

A node that adds invisible padding around its child content. Subtracts padding from constraints during measure and offsets the child during arrange.

csharp
public sealed class PaddingNode : Hex1bNode

PastableNode ​

A transparent container node that intercepts bracketed paste events. Renders no chrome — layout and rendering pass through to the child.

csharp
public sealed class PastableNode : Hex1bNode

RescueNode ​

A node that catches exceptions and displays a fallback when errors occur. Implements ILayoutProvider to ensure child content is clipped to bounds.

csharp
public sealed class RescueNode : Hex1bNode, ILayoutProvider

ResponsiveNode ​

A node that displays the first child whose condition evaluates to true. Conditions are evaluated during layout with the available size from parent constraints.

csharp
public sealed class ResponsiveNode : Hex1bNode

ScatterChartNode<T> ​

Node that renders a scatter plot using braille characters for sub-cell dot plotting.

csharp
public class ScatterChartNode<T> : Hex1bNode

ScrollbarNode ​

A standalone scrollbar node that handles thumb dragging and track clicking.

csharp
public sealed class ScrollbarNode : Hex1bNode

ScrollPanelNode ​

A node that provides scrolling capability for content that exceeds the available space. Only supports one direction at a time (vertical or horizontal). Implements ILayoutProvider to clip content that exceeds the visible viewport.

csharp
public sealed class ScrollPanelNode : Hex1bNode, ILayoutProvider

SelectionPanelNode ​

Render node for . Implements a terminal-style copy mode over the wrapped child.

csharp
public sealed class SelectionPanelNode : Hex1bNode

SeparatorNode ​

A node that draws a horizontal or vertical separator line. The orientation is either explicitly set or inferred from the parent layout axis. Customize appearance using via ThemePanel.

csharp
public sealed class SeparatorNode : Hex1bNode

SixelNode ​

Renders Sixel graphics when the effective presentation supports them, otherwise renders a fallback node.

csharp
[Experimental("HEX1B_SIXEL", UrlFormat = "https://github.com/hex1b/hex1b/blob/main/docs/experimental/sixel.md")]
public sealed class SixelNode : Hex1bNode

StatePanelNode ​

A layout-invisible identity anchor node. Uses a state object's reference identity as its lookup key, enabling identity-based reconciliation instead of positional. Layout, arrangement, rendering, and focus are all passed through to the single child.

csharp
public sealed class StatePanelNode : Hex1bNode

SurfaceNode ​

Render node for . Renders layered surfaces with compositing.

csharp
public sealed class SurfaceNode : Hex1bNode

TabBarNode ​

Node representing a horizontal tab bar with overflow support. Renders tabs, arrow buttons for scrolling, and a dropdown for quick navigation.

csharp
public sealed class TabBarNode : Hex1bNode

TabItemNode ​

Node representing a single tab item in a TabBar. Used internally by TabBarNode to render individual tabs.

csharp
public sealed class TabItemNode : Hex1bNode

TableNode<TRow> ​

Node for rendering a table with columns, rows, and optional header/footer. Implements ILayoutProvider to clip scrollable content area.

csharp
public class TableNode<TRow> : Hex1bNode, ILayoutProvider, IDisposable

TabPanelNode ​

Node representing a complete tabbed panel with tab bar and content area.

csharp
public sealed class TabPanelNode : Hex1bNode, ILayoutProvider

TerminalNode ​

Render node for displaying an embedded terminal session.

csharp
public sealed class TerminalNode : Hex1bNode

ThemePanelNode ​

A node that applies theme customizations to its child subtree. ThemePanel is not focusable - focus passes through to the child.

csharp
public sealed class ThemePanelNode : Hex1bNode

TimeSeriesChartNode<T> ​

Node that renders a time series chart using braille characters for line drawing.

csharp
public class TimeSeriesChartNode<T> : Hex1bNode

ValidationMessageNode ​

Render node for . Displays the validation error message when present.

csharp
public sealed class ValidationMessageNode : Hex1bNode

WindowNode ​

Render node for . A floating window with title bar, close button, and content area.

csharp
public sealed class WindowNode : Hex1bNode, ILayoutProvider

WindowPanelNode ​

Render node for . A container that hosts floating windows rendered on top of main content.

csharp
public sealed class WindowPanelNode : Hex1bNode, IWindowHost, ILayoutProvider

Interfaces ​

IChildLayoutProvider ​

Interface for nodes that provide layout/clipping context for their children.

csharp
public interface IChildLayoutProvider

ILayoutProvider ​

Interface for nodes that provide layout/clipping services to descendants. Child nodes can query their ancestor layout node to determine rendering behavior. Layout providers can be nested, with each consulting its parent for proper clipping.

csharp
public interface ILayoutProvider

Enums ​

PickerStep ​

The current step in the date picker drill-down flow.

csharp
public enum PickerStep

Released under the MIT License.