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

[@microsoft/fast-foundation](./fast-foundation.md) &gt; [FoundationElement](./fast-foundation.foundationelement.md) &gt; [styles](./fast-foundation.foundationelement.styles.md)

## FoundationElement.styles property

Sets the default styles for the element instance. When undefined, the element will attempt to resolve default styles from the associated presentation or custom element definition.

<b>Signature:</b>

```typescript
styles: ElementStyles | void | null;
```