# Input Dialog

![An input dialog that prompts user to enter an auction bid amount](https://2555990442-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LXQc7GhOtVRa7Lw1InO%2F-LXQcCeGbjZ8h00A2PcZ%2F-LXQcF24YbtiKUpBhVBM%2Fprompt.png?generation=1548799252789794\&alt=media)

### Introduction

The input dialog pattern is a specific type of [lightbox dialog](https://ebay.gitbook.io/mindpatterns/disclosure/lightbox-dialog) 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](https://ebay.gitbook.io/mindpatterns/disclosure/lightbox-dialog) 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.
