ChoisSTANDARD UI컴포넌트 검색 /

Layout

Drawer

semantic HTML

화면 가장자리에서 보조 영역을 엽니다.

stablefreeSince 0.2

Live example

Filters
<button type="button" data-example-action="open-drawer">Open filters</button><dialog data-standard-component="drawer" data-placement="end"><span data-slot="title">Filters</span><label>Status<select><option>All</option><option>Active</option></select></label><button data-slot="footer" type="button" data-example-action="close-drawer">Apply</button></dialog>

Variants and sizes

The pattern inherits theme and density tokens. Use compact, comfortable, or roomy density when the surrounding screen requires it.

compactcomfortableroomy

Public API

ContractValue
Implementationsemantic HTML
Statusstable
Licensefree
Since0.2
HTML contractNative HTML elements and attributes
EventsNative browser events

Accessibility

Dialog와 동일한 modal 포커스 계약을 적용하고 좁은 화면에서도 닫기 버튼을 항상 사용할 수 있게 합니다.

Server template guidance

<!-- Render the semantic HTML on the server. Load enhancement JavaScript only when this interaction is needed. -->