cnippet/ui
  1. docs
  2. core components
  3. layout

guides

Layout

Structural components for composing surfaces, spacing, and scrollable regions.

Layout components provide the structural building blocks — surfaces, grouping, spacing, and scroll containment.

  • Card — A container for grouping related content and actions.
  • Frame — A bordered surface for framing content, such as a preview or demo.
  • Group — Visually groups a set of related elements together.
  • Preview Card — Shows a preview of content when hovering over a trigger.
  • Scroll Area — A container with a custom, cross-browser scrollbar.
  • Separator — Visually or semantically separates content.