+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "SegmentInput"
keywords = ["grafana","documentation","sdk","@grafana/ui"]
type = "docs"
draft = true
+++

## SegmentInput() function

### SegmentInput() function

<b>Signature</b>

```typescript
export declare function SegmentInput<T>({ value: initialValue, onChange, Component, className, placeholder, autofocus, }: React.PropsWithChildren<SegmentInputProps<T>>): JSX.Element;
```
<b>Import</b>

```typescript
import { SegmentInput } from '@grafana/ui';
```
<b>Parameters</b>

|  Parameter | Type | Description |
|  --- | --- | --- |
|  { value: initialValue, onChange, Component, className, placeholder, autofocus, } | <code>React.PropsWithChildren&lt;SegmentInputProps&lt;T&gt;&gt;</code> |  |

<b>Returns:</b>

`JSX.Element`

