# Glass Effect

Enable and configure glass morphism effects:

```tsx
effects: {
    glass: {
        enabled: true, // Enable glass effects
        intensity: 'low' | 'medium' | 'high', // Glass intensity
    },
    backdropFilter: {
        modal: 'blur(15px)', // Optional: override modal blur
        // overlay blur is set via overlay.blur
    },
}
```

When glass is enabled, the system automatically:

* Applies appropriate blur values based on intensity
* Adjusts background opacities for glass morphism effect
* Maintains readability across all surfaces

**Glass Intensity Settings:**

* `low`: `blur(2px)`, modal opacity 0.6, sticky header opacity 0.7
* `medium`: `blur(3px)`, modal opacity 0.7, sticky header opacity 0.8
* `high`: `blur(5px)`, modal opacity 0.8, sticky header opacity 0.85

<figure><img src="/files/aR6SQRCvBhMAO1pOJSXx" alt=""><figcaption></figcaption></figure>

When glass effects are enabled:

* Background colors automatically get reduced opacity based on intensity
* Blur values are applied to modal, overlay, and sticky header
* The system ensures readability while maintaining the glass aesthetic

If glass is disabled, default blur values are still applied (not removed).


---

# 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.vechainkit.vechain.org/customization/glass-effect.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.
