본문으로 건너뛰기
Skillpedia
인터페이스 (UI/UX)48k · #4404

layered-design

하는 일

요소가 의도적으로 겹쳐서 떠 있는 층처럼 보이게 해 깊이감을 줍니다. 종이를 겹겹이 쌓는 것과 비슷하지만, 정돈되고 시각적으로 흥미롭게 만듭니다.

사용하는 경우

  • ✓한 요소(텍스트나 이미지 등)가 다른 요소 위에 나타나길 원할 때.
  • ✓웹사이트나 앱에 깊이감이나 3D 효과를 만들고 싶을 때.
  • ✓격자의 딱딱한 모습을 깨고 시각적 자유도를 높이고 싶을 때.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/design-it/layered-design/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/design-it/layered-design/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“배경 이미지 위에 주요 제목이 있고, 그 이미지 위에 작은 텍스트 카드가 떠 있는 디자인을 만들어 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

요소들을 서로 겹쳐 배치할 수 있는 프로그래밍 기법을 사용합니다. 마치 카드를 쌓는 것과 같습니다. 각 층은 따로 다루며, 돋보이도록 자체 그림자나 테두리를 가질 수 있습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Layered Design

"Stacking context. Interfaces built from overlapping, independent layers."

When to Use

Use this sub-style when the user's request matches the aesthetic described above. This is a child reference of the design-it skill and is not meant to be triggered directly.

Core Principles

  1. Explicit Overlap: Elements intentionally overlap each other to break the grid and show depth.
  2. Clear Stratification: Every layer must be visually distinct via shadow, border, or contrasting color.
  3. Parallax Scrolling: Background layers move slower than foreground layers during interaction/scrolling.

Visual DNA

  • Colors: Monochromatic Brown or Sophisticated Neutral. Layering works best when the background is distinct from the floating elements.
  • Typography: Often large, overlapping text that spans across image and background layers.
  • Spacing: Negative space is required around overlapping elements so they don't feel cluttered.

Web Implementation

  • Heavy use of position: absolute, negative margins, and z-index.
  • CSS Example:
.layer-container {
  position: relative;
  padding: 100px;
}

.layer-bg-image {
  position: absolute;
  top: 0; right: 0;
  width: 60%;
  height: 400px;
  object-fit: cover;
  z-index: 1;
}

.layer-text-box {
  position: relative;
  z-index: 2; /* Sits above the image */
  background: white;
  padding: 40px;
  width: 50%;
  margin-top: 200px; /* Pulls it down over the image */
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  /* Optional: border to define edge */
  border-left: 4px solid var(--cta-highlight);
}

App Implementation

SwiftUI

struct LayeredDesignView: View {
    var body: some View {
        ScrollView {
            ZStack(alignment: .top) {
                // Background Image Layer (Back)
                Image("architectural-bg")
                    .resizable()
                    .aspectRatio(contentMode: .fill)
                    .frame(height: 400)
                    .offset(x: 40, y: 0) // Shifted right
                    .zIndex(1)
                
                // Content Card Layer (Front)
                VStack(alignment: .leading, spacing: 16) {
                    Text("Stacking Context")
                        .font(.largeTitle).bold()
                    Text("This card intentionally overlaps the background image to create depth without relying on a grid.")
                        .foregroundColor(.secondary)
                }
                .padding(40)
                .background(Color.white)
                .shadow(color: Color.black.opacity(0.1), radius: 30, y: 20)
                .offset(x: -40, y: 200) // Shifted left and pulled down
                .zIndex(2)
            }
            .padding(.bottom, 200) // Account for the offset
        }
    }
}
  • ZStack is the foundation of layered design in SwiftUI.
  • Use .offset() to intentionally break the alignment and create overlapping compositions.
  • Explicitly set .zIndex() if your offsets might cause unexpected paint orders.

Flutter

class LayeredDesignScreen extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: SingleChildScrollView(
        child: SizedBox(
          height: 600, // Fixed height stack or use constraints
          child: Stack(
            children: [
              // Background Image Layer
              Positioned(
                top: 0,
                right: -40, // Shifted offscreen right
                width: MediaQuery.of(context).size.width * 0.8,
                height: 400,
                child: Image.asset('assets/architectural-bg.jpg', fit: BoxFit.cover),
              ),
              
              // Content Card Layer
              Positioned(
                top: 250, // Overlaps the bottom of the image
                left: 20, // Overlaps the left of the image
                width: MediaQuery.of(context).size.width * 0.7,
                child: Container(
                  padding: const EdgeInsets.all(40),
                  decoration: BoxDecoration(
                    color: Colors.white,
                    boxShadow: [
                      BoxShadow(color: Colors.black.withOpacity(0.1), blurRadius: 30, offset: const Offset(0, 20))
                    ],
                  ),
                  child: Column(
                    crossAxisAlignment: CrossAxisAlignment.start,

…
자주 묻는 질문

겹치는 층은 왜 사용하나요?

더 역동적이고 현대적인 모습을 만들고, 깊이를 주며, 중요한 요소를 강조하기 위해서입니다.

이 때문에 웹사이트가 느려지나요?

꼭 그렇지는 않습니다. 잘 구현하면 시각 효과일 뿐 성능에 영향을 주지 않습니다. 중요한 것은 요소가 의도적으로 체계적으로 겹치는 것입니다.

이것을 쓰려면 숙련된 디자이너여야 하나요?

아니요, 개념은 단순합니다. 요소를 겹치는 것입니다. 프로그래밍 도구가 이 겹침이 어떻게 그리고 어디서 일어나는지 조절하도록 돕습니다.

상세 정보

작성자의 원본 설명

Web and App implementation guide for Layered Design. Trigger when user wants multiple depth levels, floating panels, and overlapping content.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#4404
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬