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

[@microsoft/fast-element](./fast-element.md) &gt; [Controller](./fast-element.controller.md) &gt; [styles](./fast-element.controller.styles.md)

## Controller.styles property

Gets/sets the primary styles used for the component.

<b>Signature:</b>

```typescript
get styles(): ElementStyles | null;

set styles(value: ElementStyles | null);
```

## Remarks

This value can only be accurately read after connect but can be set at any time.
