Skip to content
ghostui

Preview

Design guidance

Use an anchored panel for related content, settings or a short form. Give the panel a title. Keep long content in a scrollable child region so the arrow, title and actions remain visible. Use Tooltip for a brief noninteractive hint.

Installation

Install

Basic usage

Structures

Examples

Share conversation

Change link access and copy the current example link. Feedback follows the actual clipboard result.

Top

Choose a preferred side; Base UI avoids viewport collisions.

Right

Use the same arrow and surface on each side.

Bottom

The arrow remains attached when positioning changes.

Left

Keep sufficient room for the panel.

Comment form

Submit a local comment through Field, Textarea and Button; Escape or Close dismisses the panel.

Constrained members

Only the member list scrolls; the arrow, header and copy action remain outside it.

Controlled open

The caller owns the open value and onOpenChange callback.

API reference

Advanced handles, detached triggers and additional parts follow Base UI Popover.