# Shadow

### Usage

Because shadows express the degree of elevation between surfaces, they must be used consistently throughout your product.

![](/files/yfF4DzY5VK8WfPL5eqa6)

![](/files/FdAoTUXqwe0TohTw92zR) ![](/files/ls5t4wxAD41kQqgWbMP8)

### Soft shadow

The soft shadow creates a more natural and clean feel to the interface. The default **elevation** value we use is **4px**.

#### 1. Light theme

**The opacity (12 - 20%)** and **the higher level of blur (32 - 40px)** - This configuration builds a soft shadow for the light theme.

![](/files/2PqCb62upDsLR5uWPxEQ)

#### 2. Dark theme

**The opacity (32 - 40%)** and **the higher level of blur (32 - 44px)** - This configuration builds a soft shadow for the dark theme.

![](/files/uhrBOeanEKhwU1PD88v7)

### Sample code

```
// Some code
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sentre.io/design-pricinples/shadow.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
