---
id: fast-foundation.badge.generatebadgestyle
title: Badge.generateBadgeStyle property
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-foundation](./fast-foundation.md) &gt; [Badge](./fast-foundation.badge.md) &gt; [generateBadgeStyle](./fast-foundation.badge.generatebadgestyle.md)

## Badge.generateBadgeStyle property

<b>Signature:</b>

```typescript
generateBadgeStyle: () => string | undefined;
```