···11---
22title: Shadow
33description: Use elevation to create a sense of depth in the UI.
44----44+---
55+66+import { Shadow } from "../../examples/foundations/shadow";
77+88+## Usage
99+1010+To use the shadow, you can use the `shadow` object.
1111+1212+```tsx
1313+import { shadow } from "@/components/theme/shadow.stylex";
1414+1515+const styles = stylex.create({
1616+ example: {
1717+ boxShadow: shadow["sm"],
1818+ },
1919+});
2020+```
2121+2222+## Scale
2323+2424+The following is the default scale of shadow.
2525+It can be customized by editing the `shadow` object in the `shadow.stylex.tsx` file.
2626+2727+<Shadow />