간격, 레이아웃 및 아이콘
디자인 전반의 시각적 조화를 유지할 수 있도록 간격과 격자 레이아웃 규칙을 만들고 확장 가능한 아이콘 세트를 구성합니다.
간격, 레이아웃 및 아이콘은(는) CoddyKit의 무료 Design Systems & Component Libraries 강의입니다. 이것은 4개 중 2번째 강의입니다. 아래에서 전체 강의를 무료로 읽을 수 있으며, 내장 코드 에디터와 24/7 AI 튜터와 함께 브라우저에서 직접 실습할 수 있습니다. 이 강의는 Design Systems & Component Libraries 학습 경로의 일부이며, 진행 상황이 웹과 CoddyKit 앱에 동기화됩니다. Design Systems & Component Libraries 강의에는 총 4개의 강의가 포함되어 있습니다.
이 강의의 일부는 아직 번역되지 않았으며 영어로 표시됩니다.
Visual Harmony for Users
Ever noticed how some apps just feel "right" to use? Often, it's thanks to thoughtful design choices.
In this lesson, we'll explore three pillars of visual harmony: consistent spacing, effective layout, and clear iconography. These elements work together to create a predictable and pleasant user experience.
The Power of White Space
Spacing, also known as "white space" or "negative space," is the empty area between design elements.
- It improves readability by separating content.
- It guides the user's eye, creating visual hierarchy.
- It reduces cognitive load, making interfaces feel less cluttered.
Think of it as the air around your content!
Building a Spacing System
To achieve consistency, design systems often use a base unit for all spacing values. A common choice is 8 pixels (8px) or 4 pixels (4px).
All margins, paddings, and gaps then become multiples of this base unit (e.g., 8px, 16px, 24px, 32px). This creates a predictable rhythm and ensures elements always align nicely.
/* Example using an 8px base unit */
.card {
padding: 16px; /* 2 * 8px */
margin-bottom: 24px; /* 3 * 8px */
}
.button {
margin-right: 8px; /* 1 * 8px */
}Inner vs. Outer Space
It's crucial to understand the difference between padding and margin.
- Padding is the space inside an element, between its content and its border.
- Margin is the space outside an element, separating it from other elements.
Using them correctly helps control how elements interact visually.
<style>
.box {
border: 1px solid blue;
background-color: lightblue;
width: 100px;
height: 50px;
margin: 10px; /* Space outside the box */
padding: 20px; /* Space inside the box */
}
</style>
<div class="box">Content</div>Structuring Your Content
Layout refers to the arrangement of elements on a page. A good layout makes content easy to scan and understand, guiding users through the information.
It defines how different sections, components, and text blocks are positioned relative to each other, creating a clear visual hierarchy and flow.
The Grid: Your Design Backbone
Grid systems are frameworks that help designers and developers arrange content in a consistent and organized way. They typically divide a page into columns and rows.
A common example is a 12-column grid. This flexible structure allows for many different content arrangements while ensuring everything stays aligned.
<style>
.grid-container {
display: grid;
grid-template-columns: repeat(12, 1fr); /* 12 equal columns */
gap: 16px; /* Gutter between columns */
border: 1px dashed gray;
}
.col-4 {
grid-column: span 4; /* Element spans 4 columns */
background-color: #e0e0e0;
padding: 8px;
}
</style>
<div class="grid-container">
<div class="col-4">Item 1</div>
<div class="col-4">Item 2</div>
<div class="col-4">Item 3</div>
</div>Layouts for Every Screen
A key aspect of modern layouts is responsiveness. This means your design should adapt and look great on any screen size, from small phones to large desktop monitors.
Grid systems and flexible spacing rules are fundamental to building responsive interfaces. They allow elements to rearrange, resize, or stack as the available screen space changes.
Icons: Universal Visual Cues
Icons are small graphical symbols used to represent actions, objects, or ideas. They are powerful tools in a design system because:
- They convey meaning quickly, often faster than text.
- They save screen space, especially on mobile.
- They enhance navigation and user recognition.
A well-chosen icon can speak volumes!
Crisp Icons, Any Size
For icons to look great on any device, they need to be scalable. Two popular formats ensure this:
- SVG (Scalable Vector Graphics): Vector-based, meaning they don't pixelate when scaled. Highly flexible.
- Icon Fonts: Collections of icons delivered as a font. Easy to color and resize with CSS, but limited in complexity.
SVGs are generally preferred for their flexibility and quality.
<!-- Example of an SVG icon -->
<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor">
<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/>
</svg>Spacing & Layout Check
Test your knowledge on how spacing and layout contribute to a good user experience.
Mastering Visual Foundations
In this lesson, we explored how spacing, layout, and iconography are critical for creating visually harmonious and user-friendly interfaces.
- Consistent spacing creates visual rhythm.
- Grid layouts organize content and aid responsiveness.
- Scalable icons provide clear visual cues.
These elements form the bedrock of a strong visual language in any design system.
자주 묻는 질문
“간격, 레이아웃 및 아이콘” 강의는 무료인가요?
네 — “간격, 레이아웃 및 아이콘” 전체 내용을 이 웹사이트에서 무료로 읽을 수 있습니다. 인터랙티브하게 실습하려면(내장 코드 에디터와 24/7 AI 튜터), CoddyKit PRO로 업그레이드하면 Design Systems & Component Libraries 강의 전체를 잠금 해제할 수 있습니다. Design Systems & Component Libraries 강의에는 총 4개의 강의가 포함되어 있습니다.
“간격, 레이아웃 및 아이콘”에서 뭘 배우나요?
디자인 전반의 시각적 조화를 유지할 수 있도록 간격과 격자 레이아웃 규칙을 만들고 확장 가능한 아이콘 세트를 구성합니다. 브라우저에서 직접 실행하는 실습 코드로 Design Systems & Component Libraries을(를) 배우며, 24/7 AI 튜터가 강의를 진행하면서 질문에 답변해줍니다.
Design Systems & Component Libraries을(를) 시작하는 데 경험이 필요한가요?
사전 경험은 필요하지 않습니다. CoddyKit의 Design Systems & Component Libraries은(는) 초급자부터 고급 학습자까지를 위해 구성되어 있으므로, 여기서 시작하거나 처음부터 시작할 수 있으며 자신의 속도대로 진행할 수 있습니다. 이것은 4개 중 2번째 강의입니다.
“간격, 레이아웃 및 아이콘” 강의는 얼마나 걸리나요?
대부분의 CoddyKit 강의는 약 5~10분이 소요됩니다. 각 강의는 간결하고 인터랙티브하여 꾸준한 진행이 가능하며, 웹과 앱에서 중단한 부분부터 바로 시작할 수 있습니다.
이 Design Systems & Component Libraries 강의에서 코드를 작성하고 실행할 수 있나요?
네. 모든 Design Systems & Component Libraries 강의에는 내장 코드 에디터가 포함되어 있으므로, 브라우저에서 바로 실제 코드를 작성하고 실행한 후 즉시 AI 피드백을 받을 수 있습니다 — 로컬 설정이 필요 없습니다.
이 강의의 모든 강의
- 색상 팔레트 및 타이포그래피
- 간격, 레이아웃 및 아이콘
- 시각적 스타일 가이드 만들기
- 다크 모드와 테마를 위한 디자인