ํƒ์ƒ‰

์ปดํฌ๋„ŒํŠธ

๋น„๊ต

์ด๋ฆ„์„ ๋ถ™์ธ ๋‘ ์กฐ๊ฑด์—์„œ ๊ฐ™์€ ๋Œ€์ƒ์„ ๋น„๊ตํ•ฉ๋‹ˆ๋‹ค.

๋‘ ์กฐ๊ฑด

Stacked below 40rem

@media (width < 40rem)
01
02
@media (width โ‰ฅ 40rem)
01
02
Each stage is captioned with the condition it shows.

์ „์ฒด ์ฒ™๋„

๊ฐ’์ด ๋‘˜๋ณด๋‹ค ๋งŽ์€ ์ฒ™๋„๋Š” ํ•œ ์Šคํ…Œ์ด์ง€์˜ ๋ ˆ์ด๋ธ” ์žˆ๋Š” ๊ฒฌ๋ณธ ๊ฒฉ์ž๋กœ ํ‘œ์‹œํ•ฉ๋‹ˆ๋‹ค.

shadow-xs
Quiet separation

Small controls, table rows, and subtle raised states.

shadow-sm
Standard surface

Cards, reusable panels, and quiet product surfaces.

shadow-md
Temporary lift

Hover lift, floating toolbars, and command surfaces.

shadow-lg
Detached overlay

Dropdowns, popovers, toasts, and menus.

shadow-xl
Workflow interruption

Drawers, dialogs, and focused panels.

shadow-2xl
Blocking layer

Modals and spotlight surfaces above a dimmed page.

shadow-inset
Sunken well

Inputs, tracks, pressed states, and recessed wells.

์‚ฌ์šฉ ์œ„์น˜: ์ƒ‰์ƒ ๊ฐ€์ด๋“œ.

์‚ฌ์šฉ๋ฒ•๊ณผ ์ธํ„ฐํŽ˜์ด์Šค

DemoComparison์€ ํ•ญ๋ชฉ๋งˆ๋‹ค ์กฐ๊ฑด ์ด๋ฆ„์„ ํ‘œ์‹œํ•˜๋Š” figcaption๊ณผ ๋Œ€์ƒ์„ ๋‹ด๋Š” ui-stage๊ฐ€ ์žˆ๋Š” figure๋ฅผ ๋‘์–ด div.ui-compare๋ฅผ ๋ Œ๋”๋งํ•ฉ๋‹ˆ๋‹ค. frame="none"์ธ ํŠธ๋ ˆ์ด์— ๋ฐฐ์น˜ํ•˜๋ฉด ์Šคํ…Œ์ด์ง€๊ฐ€ ํŠธ๋ ˆ์ด์— ๋ฐ”๋กœ ๋†“์ž…๋‹ˆ๋‹ค.

<Demo title="Stacked below 40rem" frame="none">  <DemoComparison items={[    { label: '@media (width < 40rem)', children: <Stacked /> },    { label: '@media (width โ‰ฅ 40rem)', children: <Side /> },  ]} /></Demo>
<div class="ui-compare">  <figure><figcaption>@media (width &lt; 40rem)</figcaption><div class="ui-stage">โ€ฆ</div></figure>  <figure><figcaption>@media (width โ‰ฅ 40rem)</figcaption><div class="ui-stage">โ€ฆ</div></figure></div>

๋‘ ๋ธŒ๋ผ์šฐ์ €๋„ ๊ฐ™์€ ๋ฐฉ์‹์œผ๋กœ ๋น„๊ตํ•ฉ๋‹ˆ๋‹ค. DemoThemeComparison๊ณผ DemoStyleComparison์€ ๊ฐ figcaption ์•„๋ž˜์— DemoViewport๋ฅผ ๋ฐฐ์น˜ํ•ฉ๋‹ˆ๋‹ค.