Dialog Patterns

Grunfeld supports various dialog patterns. Each pattern is optimized for specific use cases.

Alert#

A simple alert that conveys information to the user. It has no return value and provides only a confirmation button.

Confirm#

Used when a user decision is required. Typically returns a boolean value.

Prompt#

Receives text input from the user. Returns the entered string.

Custom Dialog#

Use custom components when complex UI or multi-step interaction is required.

Dialog Patterns - Common Dialog Usage Patterns | ilokesto - React Library Collection