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

[@microsoft/fast-components](./fast-components.md) &gt; [fastOption](./fast-components.fastoption.md)

## fastOption variable

A function that returns a [ListboxOption](./fast-foundation.listboxoption.md) registration for configuring the component with a DesignSystem. Implements [listboxOptionTemplate](./fast-foundation.listboxoptiontemplate.md)

<b>Signature:</b>

```typescript
fastOption: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<{
    baseName: string;
    template: import("@microsoft/fast-foundation").FoundationElementTemplate<import("@microsoft/fast-element").ViewTemplate<ListboxOption, any>, import("@microsoft/fast-foundation").ListboxOptionOptions>;
    styles: import("@microsoft/fast-foundation").FoundationElementTemplate<import("@microsoft/fast-element").ElementStyles, import("@microsoft/fast-foundation").ListboxOptionOptions>;
}> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<{
    baseName: string;
    template: import("@microsoft/fast-foundation").FoundationElementTemplate<import("@microsoft/fast-element").ViewTemplate<ListboxOption, any>, import("@microsoft/fast-foundation").ListboxOptionOptions>;
    styles: import("@microsoft/fast-foundation").FoundationElementTemplate<import("@microsoft/fast-element").ElementStyles, import("@microsoft/fast-foundation").ListboxOptionOptions>;
}, typeof ListboxOption>
```

## Remarks

Generates HTML Element: `<fast-option>`
