Skip to content

Shadows

Shadow utilities add or remove box shadows: shadow-sm for subtle depth, shadow for regular elevation and shadow-lg for floating elements, while shadow-none removes a component's default shadow. Use stronger shadows for elements that sit above others, such as menus, dialogs and floating buttons.

1Shadow sizes

shadow-none, shadow-sm, shadow and shadow-lg.

shadow-none
shadow-sm
shadow
shadow-lg

2Floating card

shadow-lg and rounded-4 lift a profile card off the page.

Chloe Larsen
Kai Quinn
Marketing Lead

3Subtle input shadow

shadow-sm on a search field gives it a little depth.

4Remove a component shadow

shadow-none removes the default focus or component shadow when you need a flat look.

5Sticky header shadow

A header bar with shadow-sm separates itself from scrolling content.

Koraara Deck
Our team has done this many times, so you never have to guess. Our sommelier has paired each dish with wines from small family vineyards.

6Pricing card emphasis

The featured plan has shadow-lg, its neighbours shadow-sm.

Starter
$7.78
Popular
$27.68
Business
$90.05

7Dropdown-like panel

A static menu with shadow and rounded-3, as a dropdown would look when open.

8Toast-like notification

A small notice with shadow-lg and a coloured side border.

Saved
Bread is baked every morning and pasta is rolled by hand in our kitchen.

9Image with shadow

Photos with rounded-4 and shadow look like printed cards.

Our favourite tips for busy weeks Our chocolate tart, step by step

10Floating action button

A round button with shadow-lg in a corner of a panel.

Order for pickup or delivery and enjoy the same dishes at home.

11Elevation levels

Stacked layers with increasing shadows show elevation order.

Level 1 - shadow-sm
Level 2 - shadow
Level 3 - shadow-lg

12Stat cards

shadow-sm with no border for soft dashboard tiles.

Orders
249
Revenue
$10,731.84

13Modal-like dialog

A static dialog box with shadow-lg over a dimmed area.

14Product tile

shadow-sm on the product card and shadow on the price chip.

Chocolate tart $86.07
Chocolate tart
Desserts

15Callout box

A tip box with shadow-sm and a tinted background.

Start in minutes and get help from a real person whenever you need it.

16Tooltip-like label

A tiny dark label with shadow pointing at a chart value.

581

17Navigation bar shadow

A light navbar with shadow instead of a border.

18Upload drop area

A large area with shadow-sm and rounded-4, waiting for files.

Drop files here
PNG, JPG or PDF up to 15 MB

19Shadow on dark

Shadows are stronger on light surfaces; on dark ones add a border-opacity border for definition.

shadow-lg + border-opacity-10
shadow only

20Testimonial card

A quote card with shadow and a large quote icon.

Vegan, vegetarian and gluten-free dishes are marked clearly on every menu.

Mia Sato, Denver