Nexus DSdocs

Radius, borders & shadows

Three independent appearance axes, each a runtime mode swapped through the theme picker (bottom-right). Corner radius, border width, and elevation move separately — set the Radius, Border, and Shadow controls and watch each specimen below re-render on its own axis.

Radius

Nine radius utilities. Eight react to the active Radius mode; full stays pinned at 9999px. Swap the mode and the rest re-round.

base
sm
md
lg
xl
2xl
3xl
4xl
full
Modemd value (px)
square0
subtle4
smooth8
round12
extra-round16

Border widths

The picker offers three distinct border-width designs. The box below sets its width from the runtime --nx-borderwidth-thick var, so it thickens or thins as you swap the Border control.

Modethin (px)default (px)thick (px)
normal0.512
fine0.50.51
strong123
border-width: var(--nx-borderwidth-thick)

Shadows

Seven elevation tiers plus an inset shadow, each reacting to the active Shadow mode. Shadows are theme-split — tuned per light and dark, since a drop-shadow that defines a card edge in light vanishes against a near-black dark canvas.

2xs
xs
sm
base
lg
xl
2xl
inner