cpn-basic-layout

Implement UDesign Layout components with Header, Sider, Content, and Footer in React.

1|Updated Apr 14, 2026
One-click install
npx skills add https://github.com/UCloud-FE/udesign-cli --skill cpn-basic-layout
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: cpn-basic-layout
Source: https://github.com/UCloud-FE/udesign-cli/tree/main/skills/cpn-basic-layout
Command: npx skills add https://github.com/UCloud-FE/udesign-cli --skill cpn-basic-layout

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Designing page layouts with a consistent header, sidebar, content region, and footer in React can be repetitive and error-prone. This skill provides a clear pattern to assemble the UI using UDesign Layout components.

Core Features & Use Cases

  • Simple, reusable Layout composition using Layout.Header, Layout.Sider, Layout.Content, and Layout.Footer.
  • Encourages consistent styling and responsive behavior across enterprise dashboards.
  • Use Case: Scaffold a complete admin UI with a stable layout as a starting point for pages.

Quick Start

Initialize a simple Layout example and render Header, Sider, Content, and Footer to see the component in action.

Frequently Asked Questions about cpn-basic-layout

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a React page layout with a header, sidebar, content, and footer?▼

Building a React page layout involves composing UDesign Layout components like Layout.Header, Layout.Sider, Layout.Content, and Layout.Footer to establish a consistent UI structure for enterprise dashboards.

What is the best way to scaffold an admin UI layout in React?▼

The best way to scaffold an admin UI layout is using UDesign Layout components to assemble a stable page structure with a header, sider, content, and footer as a starting point for your pages.

Can I use external UI libraries like antd with UDesign Layout components?▼

No, you cannot use external libraries like antd, @alicloud, or @aliyun with UDesign Layout components. You must adhere to global style rules and use pure JavaScript (JSX) for implementation.

How do I ensure consistent styling and responsive behavior across enterprise dashboards in React?▼

To ensure consistent styling and responsive behavior across enterprise dashboards, use the reusable UDesign Layout composition pattern which provides a clear structure for assembling your user interface components.

Why does my UDesign Layout implementation require pure JavaScript instead of external dependencies?▼

Your UDesign Layout implementation requires pure JavaScript (JSX) because the component system enforces global style rules and prohibits external libraries like @alicloud, @aliyun, or antd to maintain UI consistency.