On September 25th, 2024, we released v2 of the Apps SDK. To learn what’s new and how to upgrade, see Migration FAQ and Migration guide.

Shadows

An overview of shadows in the App UI Kit.

The App UI Kit exposes design tokens for shadows. These shadows add subtle elevation to a component, which is mostly noticeable with the light theme, as they blend in with the app's background on a dark theme.

List of shadow tokens

CSS variable
JavaScript variable
Dark theme
Light theme
--ui-kit-box-shadow-faint
boxShadowFaint
--ui-kit-box-shadow-medium
boxShadowMedium
--ui-kit-box-shadow-heavy
boxShadowHeavy