+++ # ----------------------------------------------------------------------- # Do not edit this file. It is automatically generated by API Documenter. # ----------------------------------------------------------------------- title = "SegmentInput" keywords = ["grafana","documentation","sdk","@grafana/ui"] type = "docs" +++ ## SegmentInput() function ### SegmentInput() function Signature ```typescript export declare function SegmentInput({ value: initialValue, onChange, Component, className, placeholder, autofocus, }: React.PropsWithChildren>): JSX.Element; ``` Import ```typescript import { SegmentInput } from '@grafana/ui'; ``` Parameters | Parameter | Type | Description | | --- | --- | --- | | { value: initialValue, onChange, Component, className, placeholder, autofocus, } | React.PropsWithChildren<SegmentInputProps<T>> | | Returns: `JSX.Element`