Before we can begin to render the Corbado PasskeyList, the Corbado.load() call has to resolve. Find more here.

Integration

The Passkeylist allows the user to view and manage their passkeys. He can delete existing passkeys or create new ones. This can be useful if the user wants to have individual passkeys for multiple devices, or erase ones that are no longer needed.

PasskeyList.vue
<script setup lang="ts">
import { inject, type Ref, ref, watchEffect } from 'vue'
import Corbado from '@corbado/web-js'

const isCorbadoLoaded = inject('isCorbadoLoaded') as Ref<boolean>
const passkeyListElement = ref<HTMLDivElement>()

watchEffect(() => {
    if (isCorbadoLoaded.value && passkeyListElement.value) {
        Corbado.mountPasskeyListUI(passkeyListElement.value)
    }
})
</script>

<template>
    <div ref="passkeyListElement"></div>
</template>

Customize Styling and Translations

Corbado UI Components can be customized to match your application’s design and language preferences. You can adjust the styling and translations of the components to create a seamless user experience:

Next

Access user information through the Corbado object.