Shadows
Use shadows to create a sense of depth and hierarchy.
Usage in Figma
Section titled “Usage in Figma”Shadows are published from Stylus Design System and should be available by default in the Scribe workspace. Select the hexagon icon in applicable fields to apply shadow tokens.
Usage in code
Section titled “Usage in code”Apply shadows using the shadow-{size} utility classes.
<Component className="shadow-sm" /> // Small shadow<Component className="shadow-md" /> // Medium shadow<Component className="shadow-lg" /> // Large shadowFor more information, see the Tailwind documentation.