# Focus Scope

Focus trap container

**Parts:** `FocusScope`

## FocusScope

### Props

| Prop      | Type                 | Default |
| --------- | -------------------- | ------- |
| `as`      | `AsTag \| Component` | `"div"` |
| `asChild` | `boolean`            | -       |
| `loop`    | `boolean`            | `false` |
| `trapped` | `boolean`            | `false` |

### Emits

| Event              | Payload          |
| ------------------ | ---------------- |
| `mountAutoFocus`   | `[event: Event]` |
| `unmountAutoFocus` | `[event: Event]` |
