# `PhoenixKitWeb.Components.Core.AWSRegionSelect`
[🔗](https://github.com/BeamLabEU/phoenix_kit/blob/v1.7.87/lib/phoenix_kit_web/components/core/aws_region_select.ex#L1)

AWS Region Select Component.

A component for selecting AWS regions with dynamic loading and search functionality.
Provides a user-friendly dropdown with common regions and verification status.

## Features

- Dynamic region loading from AWS API
- Search and filter functionality
- Loading states and error handling
- Visual indicators for verification status
- Keyboard navigation support

## Usage

    <.aws_region_select
      id="aws-region"
      name="aws_settings[region]"
      value={@aws_settings.region}
      regions={@available_regions}
      selected_region={@selected_region}
      verifying={@verifying_credentials}
      verified={@credential_verification_status}
      phx-change="select_region"
      phx-blur="fetch_available_regions"
    />

# `aws_region_select`

## Attributes

* `id` (`:string`) (required)
* `name` (`:string`) (required)
* `value` (`:string`) (required)
* `regions` (`:list`) - Defaults to `[]`.
* `regions_loaded` (`:boolean`) - Defaults to `false`.
* `selected_region` (`:string`) - Defaults to `""`.
* `verifying` (`:boolean`) - Defaults to `false`.
* `verified` (`:atom`) - Defaults to `:pending`. Must be one of `:pending`, `:success`, or `:error`.
* `class` (`:string`) - Defaults to `""`.
* `phx_change` (`:string`) (required)

---

*Consult [api-reference.md](api-reference.md) for complete listing*
