# XWUIDBDatabasesList

A list-and-manage view for top-level databases, mirroring KEYSTONE's `/databases` page. A toolbar shows the title and total count, a `enterprise/XWUIDataGrid` lists each database (name, collection count, key id), and - when `canCreate`/`canDrop` are set - a create bar (`XWUIInputText` + `XWUIButton`) and per-row Drop buttons backed by an `XWUIDialog` confirm appear. `onCreate`, `onDrop`, and `onOpen` callbacks wire the actions to a backend.

## Basic Usage

An admin view listing three databases - tenant-prod, tenant-dev, analytics - each with a collection count and HSK key id, with create and drop enabled and mock callbacks.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: An admin databases list with three KEYSTONE-shaped databases and create/drop affordances enabled.
```

## Developer Sandbox

A developer's read-only view of their own throwaway databases - no admin actions, and no encryption keys, so the key column shows the " - " fallback.

```example
file: examples/DeveloperSandbox.ts
html: examples/DeveloperSandbox.html
title: Developer Sandbox
description: A read-only sandbox list of four unencrypted databases with only an onOpen handler and the " - " key fallback.
```

## Provisioning Console

A platform-team console where creating new encrypted tenant databases is the focus and Drop is intentionally withheld.

```example
file: examples/ProvisioningConsole.ts
html: examples/ProvisioningConsole.html
title: Provisioning Console
description: A tenant-provisioning view with create enabled, drop disabled, a custom slug placeholder, and FLE key ids on every row.
```

```api
```
