Lynx ui sheet

From lynx-family/lynx-ui · View interactive version

Lynx ui sheet is an AI agent skill from the GitHub repository lynx-family/lynx-ui. `lynx-ui-sheet` is a headless Sheet primitive for ReactLynx. It supports bottom-sheet semantics and side-drawer semantics through the same composition model, state model, drag handling, backdrop, and

How to use this skill

Skill file

lynx-ui-sheet SKILL

What It Is

lynx-ui-sheet is a headless Sheet primitive for ReactLynx. It supports bottom-sheet semantics and side-drawer semantics through the same composition model, state model, drag handling, backdrop, and snap-point APIs.

Use it when a UI needs a dismissible panel that slides from an edge of the viewport and may be controlled by refs, external state, snap points, or drag gestures.

Building Blocks

Side Rules

State Model

Styling Rules

Verification

Prompt Formula

Use this formula when asking an agent to build with Sheet:

Side (bottom / top / left / right / start / end) + RTL mode (enableRTL, when logical drawers matter) + State model (defaultShow, controlled show, or ref methods) + Snap-point behavior (fit, pixels, or percentages) + Surface sizing/styling + Close behavior.

Examples:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.