버튼
표면 위로 살짝 돌출되어 있으며, 포인터를 올리면 떠오르고 누르면 가라앉는 버튼입니다.
이 페이지의 내용
버튼은 반 픽셀 두께의 윤곽선을 두른 작고 살짝 돌출된 표면입니다. 포인터를 올리면 반 픽셀만큼 떠오르고 누르면 오목한 영역으로 들어갑니다. 색상 변화 없이도 빛과 깊이로 상태를 구분할 수 있습니다. 동작을 실행하는 <button>과 버튼처럼 보여야 하는 탐색 링크 <a>에 .btn을 적용합니다.
버튼
<button type="button" class="btn">Cancel</button><button type="button" class="btn btn-primary">Save changes</button><> <button type="button" className="btn">Cancel</button> <button type="button" className="btn btn-primary">Save changes</button></><button type="button" class="btn">Cancel</button><button type="button" class="btn btn-primary">Save changes</button><template> <button type="button" class="btn">Cancel</button> <button type="button" class="btn btn-primary">Save changes</button></template>#변형
기본 버튼은 moonstone 표면을 사용합니다. 동작의 중요도에 따라 변형을 선택합니다.
btn-primary는 moonstone 표면에 잉크색 레이블을, obsidian 표면에 진주색 레이블을 표시합니다. 화면마다 핵심 동작 하나에 사용합니다.btn-quiet는 상호작용하기 전까지 표면이 드러나지 않습니다. 도구 모음, 헤더, 요소가 빽빽한 행에 사용합니다.btn-danger는 돌출된 표면을 유지하고 레이블에는 위험을 나타내는 글자색을 적용합니다.btn-brand는 표면에 색을 입혀 강조하는 유일한 변형으로, 브랜드 인디고를 사용합니다. 홈페이지의 주요 행동 유도나 업그레이드처럼 강조할 동작에 화면당 최대 하나만 사용합니다. 버튼의 표면, 테두리, 빛 번짐 효과에는--color-brand를 바탕으로 혼합한 색을 사용하므로 브랜드 색상을 따릅니다.
변형
<button type="button" class="btn">Default</button><button type="button" class="btn btn-primary">Primary</button><button type="button" class="btn btn-quiet">Quiet</button><button type="button" class="btn btn-danger">Delete</button><button type="button" class="btn btn-brand">Get started</button><> <button type="button" className="btn">Default</button> <button type="button" className="btn btn-primary">Primary</button> <button type="button" className="btn btn-quiet">Quiet</button> <button type="button" className="btn btn-danger">Delete</button> <button type="button" className="btn btn-brand">Get started</button></><button type="button" class="btn">Default</button><button type="button" class="btn btn-primary">Primary</button><button type="button" class="btn btn-quiet">Quiet</button><button type="button" class="btn btn-danger">Delete</button><button type="button" class="btn btn-brand">Get started</button><template> <button type="button" class="btn">Default</button> <button type="button" class="btn btn-primary">Primary</button> <button type="button" class="btn btn-quiet">Quiet</button> <button type="button" class="btn btn-danger">Delete</button> <button type="button" class="btn btn-brand">Get started</button></template>#파괴적 작업
btn-danger만 적용하면 돌출된 표면을 유지하면서 레이블에만 위험 색상을 써서 강조를 낮춥니다. 여러 동작 중 하나로 삭제를 제공할 때 사용합니다. btn-primary를 함께 적용하면 파괴적 작업을 확정하는 버튼이 됩니다. 브랜드 버튼이 브랜드 색상으로 채워지듯 이 버튼은 위험 색상으로 채워집니다. 색상을 채운 형태는 대화 상자에서 작업을 확정하는 버튼처럼 마지막 단계에만 사용합니다. 레이블에는 실행할 동작을 명시합니다.
파괴적 작업
<button type="button" class="btn btn-danger">Delete</button><button type="button" class="btn btn-primary btn-danger">Delete project</button><button type="button" class="btn btn-primary btn-danger" disabled>Delete project</button><> <button type="button" className="btn btn-danger">Delete</button> <button type="button" className="btn btn-primary btn-danger">Delete project</button> <button type="button" className="btn btn-primary btn-danger" disabled>Delete project</button></><button type="button" class="btn btn-danger">Delete</button><button type="button" class="btn btn-primary btn-danger">Delete project</button><button type="button" class="btn btn-primary btn-danger" disabled>Delete project</button><template> <button type="button" class="btn btn-danger">Delete</button> <button type="button" class="btn btn-primary btn-danger">Delete project</button> <button type="button" class="btn btn-primary btn-danger" disabled>Delete project</button></template>#크기
기본 높이는 38px입니다. 요소가 빽빽한 UI에는 32px, 강조할 동작에는 44px 높이를 사용합니다. 안쪽 여백, 레이블 크기, 아이콘 크기, 모서리 반경은 함께 달라집니다. 터치 화면에서도 모든 크기의 버튼은 높이와 모양을 그대로 유지하며, 버튼 둘레의 보이지 않는 조작 영역이 44px까지 넓어집니다. 따라서 버튼과 필드를 한 줄에 놓아도 높이가 어긋나지 않습니다.
크기
<button type="button" class="btn btn-sm">Small</button><button type="button" class="btn">Medium</button><button type="button" class="btn btn-lg">Large</button><> <button type="button" className="btn btn-sm">Small</button> <button type="button" className="btn">Medium</button> <button type="button" className="btn btn-lg">Large</button></><button type="button" class="btn btn-sm">Small</button><button type="button" class="btn">Medium</button><button type="button" class="btn btn-lg">Large</button><template> <button type="button" class="btn btn-sm">Small</button> <button type="button" class="btn">Medium</button> <button type="button" class="btn btn-lg">Large</button></template>#아이콘이 있는 버튼
아이콘 자체에 icon을 적용합니다. 버튼이 아이콘 크기를 정합니다. 기본은 16px, 작은 버튼은 14px, 큰 버튼은 18px이며 선 두께는 그림이 가진 값을 그대로 따릅니다. btn-square를 적용하면 정사각형 버튼이 됩니다. aria-label로 접근 가능한 이름을 지정합니다.
아이콘이 있는 버튼
<button type="button" class="btn btn-primary"> <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"> <path d="M3 8L13 8" /><path d="M8 3L8 13" /> </svg> New project</button><button type="button" class="btn btn-square" aria-label="Search"> <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"> <circle cx="7" cy="7" r="4.5" /><path d="M10.182 10.182L14 14" /> </svg></button><button type="button" class="btn btn-quiet btn-square" aria-label="More"> <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"> <circle cx="3.5" cy="8" r="1.05" fill="currentColor" stroke="none" /><circle cx="8" cy="8" r="1.05" fill="currentColor" stroke="none" /><circle cx="12.5" cy="8" r="1.05" fill="currentColor" stroke="none" /> </svg></button>import PlusIcon from '@master/icons-react/native/16/soft/plus'import SearchIcon from '@master/icons-react/native/16/soft/search'import MoreHorizontalIcon from '@master/icons-react/native/16/soft/more-horizontal'<> <button type="button" className="btn btn-primary"> <PlusIcon className="icon" /> New project </button> <button type="button" className="btn btn-square" aria-label="Search"> <SearchIcon className="icon" /> </button> <button type="button" className="btn btn-quiet btn-square" aria-label="More"> <MoreHorizontalIcon className="icon" /> </button></><script> import PlusIcon from '@master/icons-svelte/native/16/soft/plus' import SearchIcon from '@master/icons-svelte/native/16/soft/search' import MoreHorizontalIcon from '@master/icons-svelte/native/16/soft/more-horizontal'</script><button type="button" class="btn btn-primary"><PlusIcon class="icon" /> New project</button><button type="button" class="btn btn-square" aria-label="Search"> <SearchIcon class="icon" /></button><button type="button" class="btn btn-quiet btn-square" aria-label="More"> <MoreHorizontalIcon class="icon" /></button><script setup>import PlusIcon from '@master/icons-vue/native/16/soft/plus'import SearchIcon from '@master/icons-vue/native/16/soft/search'import MoreHorizontalIcon from '@master/icons-vue/native/16/soft/more-horizontal'</script><template> <button type="button" class="btn btn-primary"><PlusIcon class="icon" /> New project</button> <button type="button" class="btn btn-square" aria-label="Search"> <SearchIcon class="icon" /> </button> <button type="button" class="btn btn-quiet btn-square" aria-label="More"> <MoreHorizontalIcon class="icon" /> </button></template>#캡슐형
btn-pill은 양 끝을 완전히 둥글게 만듭니다. 둥근 끝은 평평한 끝보다 좁아 보이므로 인라인 방향의 여백도 조금 늘어납니다.
캡슐형
<button type="button" class="btn btn-pill">Follow</button><button type="button" class="btn btn-primary btn-pill">Subscribe</button><> <button type="button" className="btn btn-pill">Follow</button> <button type="button" className="btn btn-primary btn-pill">Subscribe</button></><button type="button" class="btn btn-pill">Follow</button><button type="button" class="btn btn-primary btn-pill">Subscribe</button><template> <button type="button" class="btn btn-pill">Follow</button> <button type="button" class="btn btn-primary btn-pill">Subscribe</button></template>#토글
aria-pressed="true"를 지정한 btn-quiet 버튼은 오목한 영역에 들어간 상태를 유지합니다. 이 속성은 직접 작성한 스크립트로 갱신하세요. btn-quiet 버튼 바로 뒤에 배치한 메뉴나 팝오버가 열려 있는 동안에는 스크립트 없이도 버튼이 눌린 상태를 유지합니다.
토글
<button type="button" class="btn btn-quiet btn-square" aria-label="Bold" aria-pressed="true"> <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"> <path d="M4.6667 3H8.3333C12.3333 3 12.3333 7.6667 8.3333 7.6667H4.6667M4.6667 3V13H9C13.3333 13 13.3333 7.6667 9 7.6667" /> </svg></button><button type="button" class="btn btn-quiet btn-square" aria-label="Italic" aria-pressed="false"> <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"> <path d="M6.6667 3L12.6667 3" /><path d="M3.3333 13L9.3333 13" /><path d="M9.6667 3L6.3333 13" stroke-linecap="butt" /> </svg></button>import BoldIcon from '@master/icons-react/native/16/soft/bold'import ItalicIcon from '@master/icons-react/native/16/soft/italic'<> <button type="button" className="btn btn-quiet btn-square" aria-label="Bold" aria-pressed="true"> <BoldIcon className="icon" /> </button> <button type="button" className="btn btn-quiet btn-square" aria-label="Italic" aria-pressed="false"> <ItalicIcon className="icon" /> </button></><script> import BoldIcon from '@master/icons-svelte/native/16/soft/bold' import ItalicIcon from '@master/icons-svelte/native/16/soft/italic'</script><button type="button" class="btn btn-quiet btn-square" aria-label="Bold" aria-pressed="true"> <BoldIcon class="icon" /></button><button type="button" class="btn btn-quiet btn-square" aria-label="Italic" aria-pressed="false"> <ItalicIcon class="icon" /></button><script setup>import BoldIcon from '@master/icons-vue/native/16/soft/bold'import ItalicIcon from '@master/icons-vue/native/16/soft/italic'</script><template> <button type="button" class="btn btn-quiet btn-square" aria-label="Bold" aria-pressed="true"> <BoldIcon class="icon" /> </button> <button type="button" class="btn btn-quiet btn-square" aria-label="Italic" aria-pressed="false"> <ItalicIcon class="icon" /> </button></template>#그룹
btn-group은 관련 동작을 하나의 외곽 형태로 묶습니다. 각 버튼은 고유한 표면을 유지합니다. 그룹은 맞닿는 모서리를 직각으로 만들고, 이웃한 버튼의 윤곽선을 겹쳐 경계가 한 줄로 보이게 합니다. 그룹 안의 버튼은 개별적으로 떠오르지 않아 전체 형태가 유지됩니다. 그룹에 role="group"과 레이블을 지정합니다.
그룹
<div class="btn-group" role="group" aria-label="History"> <button type="button" class="btn">Undo</button> <button type="button" class="btn">Redo</button></div><div class="btn-group" role="group" aria-label="Deploy"> <button type="button" class="btn btn-primary">Deploy</button> <button type="button" class="btn btn-primary btn-square" aria-label="Deploy options"> <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"> <path d="M6 3.5L10.3586 7.8586A0.2 0.2 0 0 1 10.3586 8.1414L6 12.5" transform="rotate(90 8 8)" /> </svg> </button></div>import ChevronDownIcon from '@master/icons-react/native/16/soft/chevron-down'<> <div className="btn-group" role="group" aria-label="History"> <button type="button" className="btn">Undo</button> <button type="button" className="btn">Redo</button> </div> <div className="btn-group" role="group" aria-label="Deploy"> <button type="button" className="btn btn-primary">Deploy</button> <button type="button" className="btn btn-primary btn-square" aria-label="Deploy options"> <ChevronDownIcon className="icon" /> </button> </div></><script> import ChevronDownIcon from '@master/icons-svelte/native/16/soft/chevron-down'</script><div class="btn-group" role="group" aria-label="History"> <button type="button" class="btn">Undo</button> <button type="button" class="btn">Redo</button></div><div class="btn-group" role="group" aria-label="Deploy"> <button type="button" class="btn btn-primary">Deploy</button> <button type="button" class="btn btn-primary btn-square" aria-label="Deploy options"> <ChevronDownIcon class="icon" /> </button></div><script setup>import ChevronDownIcon from '@master/icons-vue/native/16/soft/chevron-down'</script><template> <div class="btn-group" role="group" aria-label="History"> <button type="button" class="btn">Undo</button> <button type="button" class="btn">Redo</button> </div> <div class="btn-group" role="group" aria-label="Deploy"> <button type="button" class="btn btn-primary">Deploy</button> <button type="button" class="btn btn-primary btn-square" aria-label="Deploy options"> <ChevronDownIcon class="icon" /> </button> </div></template>분할 버튼에서 두 번째 버튼은 보통 메뉴를 엽니다. 두 번째 버튼에 popovertarget을 추가하면 메뉴가 해당 버튼에 맞춰 배치됩니다.
#페이지네이션
강조를 낮춘 정사각형 버튼을 한 줄로 배치해 페이지 링크를 구성합니다. 현재 페이지 버튼에는 aria-current="page"가 적용되며, 눌린 토글처럼 오목한 영역에 들어간 상태를 유지합니다.
페이지네이션
<nav class="flex items-center gap(2)" aria-label="Pagination"> <a class="btn btn-quiet btn-square btn-sm" href="#page-1" aria-label="Previous page"> <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"> <path d="M6 3.5L10.3586 7.8586A0.2 0.2 0 0 1 10.3586 8.1414L6 12.5" transform="rotate(180 8 8)" /> </svg> </a> <a class="btn btn-quiet btn-square btn-sm" href="#page-1">1</a> <a class="btn btn-quiet btn-square btn-sm" href="#page-2" aria-current="page">2</a> <a class="btn btn-quiet btn-square btn-sm" href="#page-3">3</a> <a class="btn btn-quiet btn-square btn-sm" href="#page-3" aria-label="Next page"> <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"> <path d="M6 3.5L10.3586 7.8586A0.2 0.2 0 0 1 10.3586 8.1414L6 12.5" /> </svg> </a></nav>import ChevronLeftIcon from '@master/icons-react/native/16/soft/chevron-left'import ChevronRightIcon from '@master/icons-react/native/16/soft/chevron-right'<nav className="flex items-center gap(2)" aria-label="Pagination"> <a className="btn btn-quiet btn-square btn-sm" href="#page-1" aria-label="Previous page"> <ChevronLeftIcon className="icon" /> </a> <a className="btn btn-quiet btn-square btn-sm" href="#page-1">1</a> <a className="btn btn-quiet btn-square btn-sm" href="#page-2" aria-current="page">2</a> <a className="btn btn-quiet btn-square btn-sm" href="#page-3">3</a> <a className="btn btn-quiet btn-square btn-sm" href="#page-3" aria-label="Next page"> <ChevronRightIcon className="icon" /> </a></nav><script> import ChevronLeftIcon from '@master/icons-svelte/native/16/soft/chevron-left' import ChevronRightIcon from '@master/icons-svelte/native/16/soft/chevron-right'</script><nav class="flex items-center gap(2)" aria-label="Pagination"> <a class="btn btn-quiet btn-square btn-sm" href="#page-1" aria-label="Previous page"> <ChevronLeftIcon class="icon" /> </a> <a class="btn btn-quiet btn-square btn-sm" href="#page-1">1</a> <a class="btn btn-quiet btn-square btn-sm" href="#page-2" aria-current="page">2</a> <a class="btn btn-quiet btn-square btn-sm" href="#page-3">3</a> <a class="btn btn-quiet btn-square btn-sm" href="#page-3" aria-label="Next page"> <ChevronRightIcon class="icon" /> </a></nav><script setup>import ChevronLeftIcon from '@master/icons-vue/native/16/soft/chevron-left'import ChevronRightIcon from '@master/icons-vue/native/16/soft/chevron-right'</script><template> <nav class="flex items-center gap(2)" aria-label="Pagination"> <a class="btn btn-quiet btn-square btn-sm" href="#page-1" aria-label="Previous page"> <ChevronLeftIcon class="icon" /> </a> <a class="btn btn-quiet btn-square btn-sm" href="#page-1">1</a> <a class="btn btn-quiet btn-square btn-sm" href="#page-2" aria-current="page">2</a> <a class="btn btn-quiet btn-square btn-sm" href="#page-3">3</a> <a class="btn btn-quiet btn-square btn-sm" href="#page-3" aria-label="Next page"> <ChevronRightIcon class="icon" /> </a> </nav></template>#처리 중
동작을 실행하는 동안 aria-busy="true"를 설정합니다. 버튼은 레이블과 표면을 유지한 채 떠오르는 동작을 멈추고, 아이콘과 같은 크기의 인라인 스피너를 표시합니다. 현재 처리 중인 작업을 알 수 있도록 레이블을 바꾸고, 핸들러에서 추가 실행 요청을 무시합니다.
처리 중
<button type="button" class="btn" aria-busy="true"> <span class="spinner spinner-inline" aria-hidden="true"></span> Saving…</button><button type="button" class="btn btn-primary" aria-busy="true"> <span class="spinner spinner-inline" aria-hidden="true"></span> Publishing…</button><> <button type="button" className="btn" aria-busy="true"> <span className="spinner spinner-inline" aria-hidden="true"></span> Saving… </button> <button type="button" className="btn btn-primary" aria-busy="true"> <span className="spinner spinner-inline" aria-hidden="true"></span> Publishing… </button></><button type="button" class="btn" aria-busy="true"> <span class="spinner spinner-inline" aria-hidden="true"></span> Saving…</button><button type="button" class="btn btn-primary" aria-busy="true"> <span class="spinner spinner-inline" aria-hidden="true"></span> Publishing…</button><template> <button type="button" class="btn" aria-busy="true"> <span class="spinner spinner-inline" aria-hidden="true"></span> Saving… </button> <button type="button" class="btn btn-primary" aria-busy="true"> <span class="spinner spinner-inline" aria-hidden="true"></span> Publishing… </button></template>#비활성화
비활성화된 버튼은 주변 표면으로 가라앉아 바닥이 평평한 홈처럼 보이며, 레이블에는 비활성 상태를 나타내는 글자색을 사용합니다. 링크는 비활성화할 수 없으므로 aria-disabled="true"를 적용하고 href 속성을 제거합니다. 비활성화된 이유가 분명하지 않다면 버튼 옆에 텍스트로 밝히고 aria-describedby로 연결합니다. 비활성화된 버튼의 툴팁은 키보드나 손가락으로 열 수 없습니다.
비활성화
<div class="flex flex-col items-center gap-xs"> <div class="flex flex-wrap justify-center gap-sm"> <button type="button" class="btn" disabled>Default</button> <button type="button" class="btn btn-primary" disabled aria-describedby="publish-reason"> Publish </button> </div> <p class="m(0) text-sm fg-text-muted" id="publish-reason">Add a title before you publish.</p></div><div className="flex flex-col items-center gap-xs"> <div className="flex flex-wrap justify-center gap-sm"> <button type="button" className="btn" disabled>Default</button> <button type="button" className="btn btn-primary" disabled aria-describedby="publish-reason"> Publish </button> </div> <p className="m(0) text-sm fg-text-muted" id="publish-reason">Add a title before you publish.</p></div><div class="flex flex-col items-center gap-xs"> <div class="flex flex-wrap justify-center gap-sm"> <button type="button" class="btn" disabled>Default</button> <button type="button" class="btn btn-primary" disabled aria-describedby="publish-reason"> Publish </button> </div> <p class="m(0) text-sm fg-text-muted" id="publish-reason">Add a title before you publish.</p></div><template> <div class="flex flex-col items-center gap-xs"> <div class="flex flex-wrap justify-center gap-sm"> <button type="button" class="btn" disabled>Default</button> <button type="button" class="btn btn-primary" disabled aria-describedby="publish-reason"> Publish </button> </div> <p class="m(0) text-sm fg-text-muted" id="publish-reason">Add a title before you publish.</p> </div></template>#개별 인스턴스 조정
utilities 레이어가 components 뒤에 오므로 유틸리티가 컴포넌트 스타일보다 우선합니다.
전체 너비
<button type="button" class="btn btn-primary btn-lg w-full">Continue</button><button type="button" className="btn btn-primary btn-lg w-full">Continue</button><button type="button" class="btn btn-primary btn-lg w-full">Continue</button><template> <button type="button" class="btn btn-primary btn-lg w-full">Continue</button></template>#클래스
| 클래스 | 설명 |
|---|---|
btn | 볼록한 표면의 기본 버튼 |
btn-primary | 화면의 주 동작에 사용합니다. moonstone에서는 잉크색, obsidian에서는 진주색으로 채웁니다. 삭제처럼 데이터를 없애는 동작을 확인할 때는 btn-danger를 함께 적용해 위험 색상으로 채웁니다.적용할 클래스는 btn입니다 |
btn-quiet | 툴바, 헤더, 촘촘한 행에 사용합니다. 상호작용할 때만 표면이 드러납니다.적용할 클래스는 btn입니다 |
btn-brand | --color-brand로 채우는 유일한 색상 강조 컨트롤입니다. 화면마다 최대 하나만 사용합니다.적용할 클래스는 btn입니다 |
btn-danger | 파괴적 동작의 레이블에 적용하는 위험 전경색적용할 클래스는 btn입니다 |
btn-sm | 높이는 32px이며 기본값은 38px입니다.적용할 클래스는 btn입니다 |
btn-lg | 높이는 44px이며 기본값은 38px입니다.적용할 클래스는 btn입니다 |
btn-square | 아이콘 하나를 담는 정사각형 버튼입니다. 접근 가능한 이름이 필요합니다적용할 클래스는 btn입니다 |
btn-pill | 완전히 둥근 양끝적용할 클래스는 btn입니다 |
btn-hang-start | 윤곽선이 없는 바나 헤더의 시작에 있는 quiet 버튼에 사용합니다. 버튼 상자가 패딩 안으로 들어가 글리프가 콘텐츠의 시작 가장자리에 맞춰집니다적용할 클래스는 btn입니다 |
btn-hang-end | 끝에서도 같습니다. 글리프가 콘텐츠의 끝 가장자리에 맞춰집니다적용할 클래스는 btn입니다 |
btn-group | 버튼들을 하나의 형태로 연결하는 컨테이너 |
#사용자 지정 속성
| 속성 | 기본값 | 설명 |
|---|---|---|
--btn-height | 2.375rem | 최소 블록 크기 |
--btn-padding-x | 1rem | 인라인 방향 패딩 |
--btn-gap | .5rem | 아이콘과 레이블 사이 간격 |
--btn-font-size | .84375rem | 레이블 크기 |
--btn-radius | var(--radius-control) | 버튼의 모서리 반경은 10px이며, 작은 버튼은 8px, 큰 버튼은 12px입니다. |
--icon-size | 1rem | 버튼 안의 아이콘 크기 |