vue-sourceid-verify
v0.0.5
Published
A Vue component library for integrating SourceID verification buttons.
Downloads
13
Readme
Vue SourceID Verification Button
This Vue component allows you to integrate a verification button using the SourceID Verify library. It provides a simple method for users to verify their identity.
Installation
npm install vue-sourceid-verify
or
yarn add vue-sourceid-verify
Usage
Import the VerifyButton component into your Vue component:
<template>
<VerifyButton
entityKey="your entity key"
text="verify"
:padding="'20px'"
:border="'0'"
:fontSize="'20px'"
:width="'200px'"
:height="'auto'"
:borderRadius="'5px'"
:customStyle="{
marginLeft: '40px',
// Add any additional custom styles here
}"
:customModalStyle="{
background: 'white',
borderRadius: '20px',
boxShadow: '0px 0px 10px rgba(0, 0, 0, 0.1)',
padding: '30px',
// Add any additional custom modal styles here
}"
:customInnerElementStyle="{
borderRadius: '10px',
color: 'blue',
fontWeight: 'bold',
// Add any additional custom inner element styles here
}"
/>
</template>
<script setup lang="ts">
import VerifyButton from "vue-sourceid-verify";
</script>
Note: When the developer wants to integrate source ID verification, providing an entity key is required.