<!--
 - SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
 - SPDX-License-Identifier: AGPL-3.0-or-later
-->

```js static
import Focus from '@nextcloud/vue/directives/Focus'
```

Focus an element when it is mounted to DOM.

```vue
<input v-focus placeholder="I'm focused" />
```
