---
id: fast-foundation.hidden
title: hidden variable
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-foundation](./fast-foundation.md) &gt; [hidden](./fast-foundation.hidden.md)

## hidden variable

A CSS fragment to set `display: none;` when the host is hidden using the \[hidden\] attribute.

<b>Signature:</b>

```typescript
hidden = ":host([hidden]){display:none}"
```