Verdocs Logo
Developer Center
Follow @verdocs
Visit Verdocs.com Open App

Getting Started

The Verdocs Web SDK provides wrappers that make it easy to import our components into your project. These wrappers provide strong typing and code-completion for your IDE while building user interfaces with our components.

Installation

Begin by installing the Verdocs Web SDK in your project:

# NPM
npm i -S @verdocs/web-sdk

# Yarn
yarn add @verdocs/web-sdk

# PNPM
pnpm add @verdocs/web-sdk

React

React developers should use our React-specific SDK. As of React v18, Web components are supported but with some caveats. Our React-specific SDK provides a more seamless integration.

# NPM
npm i -S @verdocs/web-sdk-react

# Yarn
yarn add @verdocs/web-sdk-react

# PNPM
pnpm add @verdocs/web-sdk-react

Usage

Basic usage is simple - just import any element in the page where you want to use it, and use it like any other HTML/JSX element. See the examples below for React and Vue.

React

Code sample for a simple button in React

VueJS

Code sample for a simple button in Vue