mcpField
N
nested-container-frames

nested-container-frames

github.com/mengtoDesign & UI7.1k1.4k installsUpdated 3d ago
Repository

About nested-container-frames

A design skill for building page layouts from nested containers with visible outer bounds and inset inner frames. It helps designers structure hero, feature, proof, and CTA areas while keeping frames readable and avoiding excessive card nesting.

Key features

  1. 01Centered outer page container
  2. 02Visible boundary lines and corner markers
  3. 03Inset inner frames with consistent padding
  4. 04Distinct styling for each container level
  5. 05Frame hierarchy for page modules

Use cases

  1. 01Structuring a hero and supporting page sections
  2. 02Separating content modules without heavy cards

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/mengto/skills --skill nested-container-frames

After installing, type/nested-container-framesin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

demo/
index.html
PROMPT.md
source.json

Details

From the project README

Nested Container Frames Skill

Use When

  • A layout needs a container-in-container system with visible outer bounds, inset inner frames, and layered page structure.

Workflow

  1. Define an outer centered container that controls the global page width.
  2. Add visible vertical boundary lines and small corner markers to establish the frame.
  3. Place inner containers inset from the outer edges using consistent padding.
  4. Give each inner level its own background, border, radius, and spacing rhythm.
  5. Use the frame hierarchy to separate hero, feature, proof, and CTA modules without adding heavy cards.

Guardrails

  • Do not nest cards inside cards until the layout feels boxed in.
  • Do not let frame lines overpower content readability.

Comments

Markdown supported