# SegmentedOption

One option of a segmented control.

This is an interface exported by `@mapcairn/core`, checked against version 0.2.0.

## Signature

```ts
import type { SegmentedOption } from "@mapcairn/core";
 
interface SegmentedOption
```

## Properties

### label

```ts
readonly label: DefinitionText;
```

The option's name.

### value

```ts
readonly value: string;
```

The value used in templates and the permalink: lowercase letters, digits, `.`, `_` and `-`.

## See also

- [`DefinitionText`](https://docs.mapcairn.com/api/core/DefinitionText.md)

Source: [packages/core/src/layers/definition.ts:35](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/layers/definition.ts#L35)
