> For the complete documentation index, see [llms.txt](https://ebay.gitbook.io/mindpatterns/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ebay.gitbook.io/mindpatterns/input/input-dialog.md).

# Input Dialog

![An input dialog that prompts user to enter an auction bid amount](/files/-LXQcF24YbtiKUpBhVBM)

### Introduction

The input dialog pattern is a specific type of [lightbox dialog](/mindpatterns/disclosure/lightbox-dialog.md) that prompts a user for their input.&#x20;

The behaviour is similar to JavaScript's [window.prompt()](https://developer.mozilla.org/en-US/docs/Web/API/Window/prompt) method.

### Working Examples

You can take a look at the input dialog pattern in action on our [examples site](https://ebay.github.io/mindpatterns/disclosure/input-dialog).

### Best Practices

The section is not yet available.

### Interaction Design

The input dialog inherits all base behaviour and interaction design from the modal l[ightbox dialog](/mindpatterns/disclosure/lightbox-dialog.md) pattern. It's unique characteristic is that the input field should receive keyboard focus (e.g. "Your Max Bid" in the screenshot above).

### Developer Guide

The section is not yet available.
