Shadows
Cal.com's shadow system for depth and elevation
Shadows
Our shadow system is designed to create visual hierarchy and depth in the interface. We provide specific shadows for different components and states, ensuring consistent interaction patterns across the application.
Shadow Categories
Component-Specific Shadows
- Dropdown: Used for dropdown menus and popovers
- Button States: Different shadows for default, hover, and active states
- Brand Buttons: Special shadows for brand-colored buttons
State-Based Shadows
- Rested State: Default appearance
- Hover State: Enhanced depth when hovering
- Active State: Pressed appearance
Usage Examples
Dropdowns and Popovers
Solid Gray Buttons
Outline Buttons
Brand Buttons
Shadow Preview
Click on any shadow to copy its Tailwind class name. Each card demonstrates how the shadow appears when applied.
Dropdown
shadow-dropdown
Used for dropdown menus and popovers
Solid Gray Rested
shadow-solid-gray-rested
Default state for solid gray buttons
Solid Gray Hover
shadow-solid-gray-hover
Hover state for solid gray buttons
Solid Gray Active
shadow-solid-gray-active
Active/pressed state for solid gray buttons
Outline Gray Rested
shadow-outline-gray-rested
Default state for outline gray buttons
Outline Gray Hover
shadow-outline-gray-hover
Hover state for outline gray buttons
Outline Gray Active
shadow-outline-gray-active
Active/pressed state for outline gray buttons
Outline Red Rested
shadow-outline-red-rested
Default state for outline red buttons
Outline Red Hover
shadow-outline-red-hover
Hover state for outline red buttons
Outline Red Active
shadow-outline-red-active
Active/pressed state for outline red buttons
Elevation Low
shadow-elevation-low
Subtle elevation for UI elements