파일
첨부 파일, 업로드 파일, 다운로드 파일을 이름이 있는 개별 항목으로 표시합니다.
이 페이지의 내용
파일 컴포넌트는 문서 하나를 하나의 개체로 보여 줍니다. 확장자가 적힌 작은 페이지 옆에는 파일 이름이 있고, 그 아래에는 눈에 덜 띄는 정보가 한 줄 표시됩니다. 맨 끝에는 조작 요소가 하나 있습니다. 파일은 각각 평평한 종이 한 장으로 표시되므로 드롭 영역 아래나 대화 상자 안에 세로로 나열하면 여러 장을 쌓아 놓은 것처럼 항목마다 구분됩니다.
파일
<ul class="flex flex-col gap-xs max-w(400) mx-auto"> <li class="file"> <span class="file-page" aria-hidden="true">pdf</span> <div class="file-body"> <p class="file-name">Q3 infrastructure report.pdf</p> <p class="file-meta">2.4 MB · PDF document</p> </div> <div class="file-end"> <button type="button" class="btn btn-quiet btn-square btn-sm" aria-label="Remove Q3 infrastructure report.pdf"> <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 4L12 12" /><path d="M4 12L12 4" /> </svg> </button> </div> </li> <li class="file"> <img class="file-thumb" src="/demo/moonstone.svg" alt> <div class="file-body"> <p class="file-name">moonstone-cover.png</p> <p class="file-meta">1,920 × 1,200 · 840 KB</p> </div> <div class="file-end"> <button type="button" class="btn btn-quiet btn-square btn-sm" aria-label="Remove moonstone-cover.png"> <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 4L12 12" /><path d="M4 12L12 4" /> </svg> </button> </div> </li> <li class="file"> <span class="file-page" aria-hidden="true">csv</span> <div class="file-body"> <p class="file-name">members-export-2026-11.csv</p> <p class="file-meta">312 rows · 18 KB</p> </div> <div class="file-end"> <button type="button" class="btn btn-quiet btn-square btn-sm" aria-label="Remove members-export-2026-11.csv"> <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 4L12 12" /><path d="M4 12L12 4" /> </svg> </button> </div> </li></ul>import XIcon from '@master/icons-react/native/16/soft/x'<ul className="flex flex-col gap-xs max-w(400) mx-auto"> <li className="file"> <span className="file-page" aria-hidden="true">pdf</span> <div className="file-body"> <p className="file-name">Q3 infrastructure report.pdf</p> <p className="file-meta">2.4 MB · PDF document</p> </div> <div className="file-end"> <button type="button" className="btn btn-quiet btn-square btn-sm" aria-label="Remove Q3 infrastructure report.pdf"> <XIcon className="icon" /> </button> </div> </li> <li className="file"> <img className="file-thumb" src="/demo/moonstone.svg" alt="" /> <div className="file-body"> <p className="file-name">moonstone-cover.png</p> <p className="file-meta">1,920 × 1,200 · 840 KB</p> </div> <div className="file-end"> <button type="button" className="btn btn-quiet btn-square btn-sm" aria-label="Remove moonstone-cover.png"> <XIcon className="icon" /> </button> </div> </li> <li className="file"> <span className="file-page" aria-hidden="true">csv</span> <div className="file-body"> <p className="file-name">members-export-2026-11.csv</p> <p className="file-meta">312 rows · 18 KB</p> </div> <div className="file-end"> <button type="button" className="btn btn-quiet btn-square btn-sm" aria-label="Remove members-export-2026-11.csv"> <XIcon className="icon" /> </button> </div> </li></ul><script> import XIcon from '@master/icons-svelte/native/16/soft/x'</script><ul class="flex flex-col gap-xs max-w(400) mx-auto"> <li class="file"> <span class="file-page" aria-hidden="true">pdf</span> <div class="file-body"> <p class="file-name">Q3 infrastructure report.pdf</p> <p class="file-meta">2.4 MB · PDF document</p> </div> <div class="file-end"> <button type="button" class="btn btn-quiet btn-square btn-sm" aria-label="Remove Q3 infrastructure report.pdf"> <XIcon class="icon" /> </button> </div> </li> <li class="file"> <img class="file-thumb" src="/demo/moonstone.svg" alt> <div class="file-body"> <p class="file-name">moonstone-cover.png</p> <p class="file-meta">1,920 × 1,200 · 840 KB</p> </div> <div class="file-end"> <button type="button" class="btn btn-quiet btn-square btn-sm" aria-label="Remove moonstone-cover.png"> <XIcon class="icon" /> </button> </div> </li> <li class="file"> <span class="file-page" aria-hidden="true">csv</span> <div class="file-body"> <p class="file-name">members-export-2026-11.csv</p> <p class="file-meta">312 rows · 18 KB</p> </div> <div class="file-end"> <button type="button" class="btn btn-quiet btn-square btn-sm" aria-label="Remove members-export-2026-11.csv"> <XIcon class="icon" /> </button> </div> </li></ul><script setup>import XIcon from '@master/icons-vue/native/16/soft/x'</script><template> <ul class="flex flex-col gap-xs max-w(400) mx-auto"> <li class="file"> <span class="file-page" aria-hidden="true">pdf</span> <div class="file-body"> <p class="file-name">Q3 infrastructure report.pdf</p> <p class="file-meta">2.4 MB · PDF document</p> </div> <div class="file-end"> <button type="button" class="btn btn-quiet btn-square btn-sm" aria-label="Remove Q3 infrastructure report.pdf"> <XIcon class="icon" /> </button> </div> </li> <li class="file"> <img class="file-thumb" src="/demo/moonstone.svg" alt> <div class="file-body"> <p class="file-name">moonstone-cover.png</p> <p class="file-meta">1,920 × 1,200 · 840 KB</p> </div> <div class="file-end"> <button type="button" class="btn btn-quiet btn-square btn-sm" aria-label="Remove moonstone-cover.png"> <XIcon class="icon" /> </button> </div> </li> <li class="file"> <span class="file-page" aria-hidden="true">csv</span> <div class="file-body"> <p class="file-name">members-export-2026-11.csv</p> <p class="file-meta">312 rows · 18 KB</p> </div> <div class="file-end"> <button type="button" class="btn btn-quiet btn-square btn-sm" aria-label="Remove members-export-2026-11.csv"> <XIcon class="icon" /> </button> </div> </li> </ul></template>#파일 페이지
file-page는 가로 28, 세로 36인 작은 종이 모양으로, 바탕에서 살짝 떠 있습니다. 아래쪽에 적는 확장자는 어떤 대소문자로 입력해도 대문자로 표시됩니다. 확장자는 네 글자 이내로 입력합니다. 옆의 파일 이름에도 같은 정보가 있으므로 이 페이지에 aria-hidden을 지정해 보조 기술에서 숨깁니다.
접힌 모서리는 브라우저가 그립니다. corner-shape를 적용하면 위쪽 끝 모서리가 사선으로 잘리고, 작은 정사각형에서 그 사선으로 잘라 내고 남은 부분이 접힌 면이 됩니다. corner-shape를 지원하지 않는 브라우저에서는 네 모서리가 둥글고 접힌 부분이 없는 페이지로 표시됩니다.
이미지 파일은 <img>에 적용한 file-thumb으로 페이지를 대신합니다.
#업로드 중
파일 컴포넌트 안에 클래스가 progress file-progress인 네이티브 <progress> 요소를 넣습니다. 그러면 시트 자체가 진행률 표시줄이 됩니다. 표시줄은 텍스트 아래에서 시트 양 끝까지 이어지고, 업로드된 비율만큼 배경에 색이 채워집니다. 채움 영역의 바깥쪽은 시트의 모서리를 따릅니다. value가 없으면 진행률을 알 수 없으므로 같은 색조의 띠가 시트를 가로질러 움직입니다.
file-meta에도 진행률을 적고, 업로드 중에는 파일에 aria-busy="true"를 지정합니다.
업로드 중
<ul class="flex flex-col gap-xs max-w(400) mx-auto"> <li class="file" aria-busy="true"> <span class="file-page" aria-hidden="true">zip</span> <div class="file-body"> <p class="file-name">atlas-build-2026-11-11.zip</p> <p class="file-meta">Uploading · 64% of 182 MB</p> </div> <div class="file-end"> <button type="button" class="btn btn-quiet btn-square btn-sm" aria-label="Cancel the upload of atlas-build-2026-11-11.zip"> <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 4L12 12" /><path d="M4 12L12 4" /> </svg> </button> </div> <progress class="progress file-progress" max="100" value="64" aria-label="Upload of atlas-build-2026-11-11.zip"> 64% </progress> </li> <li class="file" aria-busy="true"> <span class="file-page" aria-hidden="true">mp4</span> <div class="file-body"> <p class="file-name">onboarding-walkthrough.mp4</p> <p class="file-meta">Scanning for viruses…</p> </div> <progress class="progress file-progress" aria-label="Scan of onboarding-walkthrough.mp4"></progress> </li></ul>import XIcon from '@master/icons-react/native/16/soft/x'<ul className="flex flex-col gap-xs max-w(400) mx-auto"> <li className="file" aria-busy="true"> <span className="file-page" aria-hidden="true">zip</span> <div className="file-body"> <p className="file-name">atlas-build-2026-11-11.zip</p> <p className="file-meta">Uploading · 64% of 182 MB</p> </div> <div className="file-end"> <button type="button" className="btn btn-quiet btn-square btn-sm" aria-label="Cancel the upload of atlas-build-2026-11-11.zip"> <XIcon className="icon" /> </button> </div> <progress className="progress file-progress" max="100" value="64" aria-label="Upload of atlas-build-2026-11-11.zip"> 64% </progress> </li> <li className="file" aria-busy="true"> <span className="file-page" aria-hidden="true">mp4</span> <div className="file-body"> <p className="file-name">onboarding-walkthrough.mp4</p> <p className="file-meta">Scanning for viruses…</p> </div> <progress className="progress file-progress" aria-label="Scan of onboarding-walkthrough.mp4"></progress> </li></ul><script> import XIcon from '@master/icons-svelte/native/16/soft/x'</script><ul class="flex flex-col gap-xs max-w(400) mx-auto"> <li class="file" aria-busy="true"> <span class="file-page" aria-hidden="true">zip</span> <div class="file-body"> <p class="file-name">atlas-build-2026-11-11.zip</p> <p class="file-meta">Uploading · 64% of 182 MB</p> </div> <div class="file-end"> <button type="button" class="btn btn-quiet btn-square btn-sm" aria-label="Cancel the upload of atlas-build-2026-11-11.zip"> <XIcon class="icon" /> </button> </div> <progress class="progress file-progress" max="100" value="64" aria-label="Upload of atlas-build-2026-11-11.zip"> 64% </progress> </li> <li class="file" aria-busy="true"> <span class="file-page" aria-hidden="true">mp4</span> <div class="file-body"> <p class="file-name">onboarding-walkthrough.mp4</p> <p class="file-meta">Scanning for viruses…</p> </div> <progress class="progress file-progress" aria-label="Scan of onboarding-walkthrough.mp4"></progress> </li></ul><script setup>import XIcon from '@master/icons-vue/native/16/soft/x'</script><template> <ul class="flex flex-col gap-xs max-w(400) mx-auto"> <li class="file" aria-busy="true"> <span class="file-page" aria-hidden="true">zip</span> <div class="file-body"> <p class="file-name">atlas-build-2026-11-11.zip</p> <p class="file-meta">Uploading · 64% of 182 MB</p> </div> <div class="file-end"> <button type="button" class="btn btn-quiet btn-square btn-sm" aria-label="Cancel the upload of atlas-build-2026-11-11.zip"> <XIcon class="icon" /> </button> </div> <progress class="progress file-progress" max="100" value="64" aria-label="Upload of atlas-build-2026-11-11.zip"> 64% </progress> </li> <li class="file" aria-busy="true"> <span class="file-page" aria-hidden="true">mp4</span> <div class="file-body"> <p class="file-name">onboarding-walkthrough.mp4</p> <p class="file-meta">Scanning for viruses…</p> </div> <progress class="progress file-progress" aria-label="Scan of onboarding-walkthrough.mp4"></progress> </li> </ul></template>#실패
file-failed 클래스는 파일에 위험 상태의 윤곽선을 적용하고 file-meta의 글자색을 위험 상태 색상으로 바꿉니다. 그곳에 실패 원인을 적고, 맨 끝에 문제를 해결할 수 있는 조작 요소를 배치하세요. ARIA에는 목록 항목의 실패를 나타내는 속성이 없으므로 이 상태는 클래스로 지정하고, 실패 사실은 텍스트로 전달합니다. 해당 텍스트에 role="alert"를 적용하면 사용자가 페이지를 보고 있는 동안 발생한 실패를 알릴 수 있습니다.
실패
<div class="file file-failed max-w(400) mx-auto"> <span class="file-page" aria-hidden="true">mov</span> <div class="file-body"> <p class="file-name">walkthrough-final-v2.mov</p> <p class="file-meta" role="alert">Larger than the 100 MB limit</p> </div> <div class="file-end"><button type="button" class="btn btn-sm">Replace</button></div></div><div className="file file-failed max-w(400) mx-auto"> <span className="file-page" aria-hidden="true">mov</span> <div className="file-body"> <p className="file-name">walkthrough-final-v2.mov</p> <p className="file-meta" role="alert">Larger than the 100 MB limit</p> </div> <div className="file-end"><button type="button" className="btn btn-sm">Replace</button></div></div><div class="file file-failed max-w(400) mx-auto"> <span class="file-page" aria-hidden="true">mov</span> <div class="file-body"> <p class="file-name">walkthrough-final-v2.mov</p> <p class="file-meta" role="alert">Larger than the 100 MB limit</p> </div> <div class="file-end"><button type="button" class="btn btn-sm">Replace</button></div></div><template> <div class="file file-failed max-w(400) mx-auto"> <span class="file-page" aria-hidden="true">mov</span> <div class="file-body"> <p class="file-name">walkthrough-final-v2.mov</p> <p class="file-meta" role="alert">Larger than the 100 MB limit</p> </div> <div class="file-end"><button type="button" class="btn btn-sm">Replace</button></div> </div></template>#소형 파일
file-sm은 높이가 32px이고 파일 이름 길이에 맞춰 너비가 정해지는 한 줄짜리 컴포넌트입니다. 메시지 입력창 위에 첨부 파일을 표시하거나 행 안에서 파일을 언급할 때 사용합니다. 작은 버튼과 높이가 같아 같은 행에 배치할 수 있습니다. 페이지가 작아 확장자를 담을 수 없으므로 파일 이름과 옆에 표시되는 정보에서 확장자를 확인할 수 있습니다. 끝의 조작 요소는 포인터 종류와 관계없이 24px이며 시트 가장자리에서 4px 안쪽에 놓입니다. 터치 화면에서는 이 요소를 중심으로 조작 영역의 크기가 44px로 넓어집니다.
소형 파일
<form class="composer max-w(480) mx-auto"> <div class="composer-attachments"> <span class="file file-sm"> <span class="file-page" aria-hidden="true"></span> <span class="file-body"> <span class="file-name">report.pdf</span><span class="file-meta">2.4 MB</span> </span> <span class="file-end"> <button type="button" class="btn btn-quiet btn-square btn-sm" aria-label="Remove report.pdf"> <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 4L12 12" /><path d="M4 12L12 4" /> </svg> </button> </span> </span> <span class="file file-sm"> <img class="file-thumb" src="/demo/moonstone.svg" alt> <span class="file-body"><span class="file-name">cover.png</span></span> <span class="file-end"> <button type="button" class="btn btn-quiet btn-square btn-sm" aria-label="Remove cover.png"> <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 4L12 12" /><path d="M4 12L12 4" /> </svg> </button> </span> </span> </div> <textarea class="composer-field" rows="1" placeholder="Add a note about these files" aria-label="Message"></textarea> <div class="composer-toolbar"> <div class="composer-end"> <button type="submit" class="btn btn-primary btn-sm">Send</button> </div> </div></form>import XIcon from '@master/icons-react/native/16/soft/x'<form className="composer max-w(480) mx-auto"> <div className="composer-attachments"> <span className="file file-sm"> <span className="file-page" aria-hidden="true"></span> <span className="file-body"> <span className="file-name">report.pdf</span><span className="file-meta">2.4 MB</span> </span> <span className="file-end"> <button type="button" className="btn btn-quiet btn-square btn-sm" aria-label="Remove report.pdf"> <XIcon className="icon" /> </button> </span> </span> <span className="file file-sm"> <img className="file-thumb" src="/demo/moonstone.svg" alt="" /> <span className="file-body"><span className="file-name">cover.png</span></span> <span className="file-end"> <button type="button" className="btn btn-quiet btn-square btn-sm" aria-label="Remove cover.png"> <XIcon className="icon" /> </button> </span> </span> </div> <textarea className="composer-field" rows={1} placeholder="Add a note about these files" aria-label="Message">{``}</textarea> <div className="composer-toolbar"> <div className="composer-end"> <button type="submit" className="btn btn-primary btn-sm">Send</button> </div> </div></form><script> import XIcon from '@master/icons-svelte/native/16/soft/x'</script><form class="composer max-w(480) mx-auto"> <div class="composer-attachments"> <span class="file file-sm"> <span class="file-page" aria-hidden="true"></span> <span class="file-body"> <span class="file-name">report.pdf</span><span class="file-meta">2.4 MB</span> </span> <span class="file-end"> <button type="button" class="btn btn-quiet btn-square btn-sm" aria-label="Remove report.pdf"> <XIcon class="icon" /> </button> </span> </span> <span class="file file-sm"> <img class="file-thumb" src="/demo/moonstone.svg" alt> <span class="file-body"><span class="file-name">cover.png</span></span> <span class="file-end"> <button type="button" class="btn btn-quiet btn-square btn-sm" aria-label="Remove cover.png"> <XIcon class="icon" /> </button> </span> </span> </div> <textarea class="composer-field" rows="1" placeholder="Add a note about these files" aria-label="Message"></textarea> <div class="composer-toolbar"> <div class="composer-end"> <button type="submit" class="btn btn-primary btn-sm">Send</button> </div> </div></form><script setup>import XIcon from '@master/icons-vue/native/16/soft/x'</script><template> <form class="composer max-w(480) mx-auto"> <div class="composer-attachments"> <span class="file file-sm"> <span class="file-page" aria-hidden="true"></span> <span class="file-body"> <span class="file-name">report.pdf</span><span class="file-meta">2.4 MB</span> </span> <span class="file-end"> <button type="button" class="btn btn-quiet btn-square btn-sm" aria-label="Remove report.pdf"> <XIcon class="icon" /> </button> </span> </span> <span class="file file-sm"> <img class="file-thumb" src="/demo/moonstone.svg" alt> <span class="file-body"><span class="file-name">cover.png</span></span> <span class="file-end"> <button type="button" class="btn btn-quiet btn-square btn-sm" aria-label="Remove cover.png"> <XIcon class="icon" /> </button> </span> </span> </div> <textarea class="composer-field" rows="1" placeholder="Add a note about these files" aria-label="Message"></textarea> <div class="composer-toolbar"> <div class="composer-end"> <button type="submit" class="btn btn-primary btn-sm">Send</button> </div> </div> </form></template>#열 수 있는 파일
파일 컴포넌트 전체가 링크나 버튼이면 file-interactive 클래스를 추가합니다. 버튼처럼 기본 상태에서는 바탕에서 살짝 떠 있고, 포인터를 올리면 더 올라가며, 누르면 내려갑니다. 링크 내부의 각 부분은 <span> 요소로 구성합니다.
열 수 있는 파일
<div class="grid grid-cols(2) gap-sm max-w(520) mx-auto"> <a class="file file-interactive" href="#" download> <span class="file-page" aria-hidden="true">docx</span> <span class="file-body"> <span class="file-name">Master services agreement.docx</span> <span class="file-meta">48 KB · Download</span> </span> </a> <a class="file file-interactive" href="#" download> <span class="file-page" aria-hidden="true">xlsx</span> <span class="file-body"> <span class="file-name">Pricing schedule.xlsx</span> <span class="file-meta">22 KB · Download</span> </span> </a></div><div className="grid grid-cols(2) gap-sm max-w(520) mx-auto"> <a className="file file-interactive" href="#" download> <span className="file-page" aria-hidden="true">docx</span> <span className="file-body"> <span className="file-name">Master services agreement.docx</span> <span className="file-meta">48 KB · Download</span> </span> </a> <a className="file file-interactive" href="#" download> <span className="file-page" aria-hidden="true">xlsx</span> <span className="file-body"> <span className="file-name">Pricing schedule.xlsx</span> <span className="file-meta">22 KB · Download</span> </span> </a></div><div class="grid grid-cols(2) gap-sm max-w(520) mx-auto"> <a class="file file-interactive" href="#" download> <span class="file-page" aria-hidden="true">docx</span> <span class="file-body"> <span class="file-name">Master services agreement.docx</span> <span class="file-meta">48 KB · Download</span> </span> </a> <a class="file file-interactive" href="#" download> <span class="file-page" aria-hidden="true">xlsx</span> <span class="file-body"> <span class="file-name">Pricing schedule.xlsx</span> <span class="file-meta">22 KB · Download</span> </span> </a></div><template> <div class="grid grid-cols(2) gap-sm max-w(520) mx-auto"> <a class="file file-interactive" href="#" download> <span class="file-page" aria-hidden="true">docx</span> <span class="file-body"> <span class="file-name">Master services agreement.docx</span> <span class="file-meta">48 KB · Download</span> </span> </a> <a class="file file-interactive" href="#" download> <span class="file-page" aria-hidden="true">xlsx</span> <span class="file-body"> <span class="file-name">Pricing schedule.xlsx</span> <span class="file-meta">22 KB · Download</span> </span> </a> </div></template>#접근성
- 파일이 여러 개면
<ul>로 목록을 만들고 각<li>에file클래스를 지정합니다. - 조작 요소의 이름에는 대상 파일을 명시합니다. 예를 들어 "report.pdf 제거"라고 씁니다.
<progress>에 레이블을 지정하고 텍스트에도 백분율을 표시합니다. 배경색은 그 수치를 시각적으로 보여 줍니다.- 긴 파일 이름은 끝부분이 잘립니다. 확장자처럼 끝부분이 중요하다면
title에 전체 이름을 넣습니다.
#클래스
| 클래스 | 설명 |
|---|---|
file | 페이지와 텍스트, 컨트롤을 담는 평평한 표면 |
file-failed | 업로드가 실패하면 윤곽선과 file-meta에 위험 색상을 적용합니다. 실패 이유는 file-meta에 적으세요.적용할 클래스는 file입니다 |
file-sm | 작은 버튼처럼 높이가 32px인 한 줄로, 너비는 파일 이름 길이에 맞춥니다. 작은 문서 모양에는 확장자를 표시할 공간이 없으며, 내부 버튼은 24px 크기로 가장자리에서 4px 안쪽에 배치합니다.적용할 클래스는 file입니다 |
file-interactive | 파일 항목 전체가 링크나 버튼으로 동작합니다. 기본 상태에서는 볼록한 표면으로 표시되고, 호버하면 더 떠오르며, 누르면 내려갑니다적용할 클래스는 file입니다 |
file-page | 하단에 파일 확장자를 대문자로 표시한 28 × 36 크기의 작은 문서 모양 |
file-thumb | 파일이 이미지인 경우 페이지 대신 해당 이미지를 표시합니다. |
file-body | 이름과 그 아래 한 줄의 세부 정보 |
file-name | 한 줄로 표시하고 넘치면 끝을 말줄임표로 처리하는 파일 이름 |
file-meta | 파일 크기, 유형, 업로드 진행률 또는 실패 이유 |
file-end | 끝에 있는 제거, 다시 시도 또는 다운로드 컨트롤 |
file-progress | progress 요소에 progress를 적용하면 막대가 텍스트 뒤에 놓이고, 업로드가 진행된 만큼 표면에 색을 입힙니다. |
#사용자 지정 속성
| 속성 | 기본값 | 설명 |
|---|---|---|
--file-padding | .625rem | 시트 안쪽 여백입니다. 작은 파일에서는 .25rem입니다 |
--file-radius | var(--radius-control-lg) | 시트의 모서리 반경입니다. 작은 파일에는 var(--radius-control-sm)을 사용합니다. |
--file-page-width | 1.75rem | 페이지의 너비입니다. 작은 파일에서는 1rem입니다. |
--file-page-height | 2.25rem | 페이지 높이입니다. 작은 파일에서는 1.25rem입니다. |
--file-fold | .5625rem | 접힌 모서리 크기. 작은 파일 표시에서는 .3125rem입니다. |
#관련 항목
- 드롭 영역파일을 선택하거나 끌어다 놓는 넓은 영역입니다. 네이티브 파일 입력을 사용하므로 스크립트 없이 동작합니다.
- 메시지 입력창메시지나 프롬프트를 작성하는 입력창입니다. 텍스트에 따라 입력란이 늘어나며 그 아래에 도구가 한 줄로 배치됩니다.
- 목록이미지나 아이콘, 텍스트, 끝에 놓이는 요소로 구성된 행을 나열합니다.