React mDL Components
Ready-to-use React components and hooks for mDL verification in your React applications.
Version: 1.0.6 | Platform: React 17+ | Standard: ISO 18013-5
Overview
The @owl-eyes/react-mdl package provides React components and hooks for mDL (Mobile Driver's License) verification. Built on top of the TypeScript SDK, it offers a seamless integration for React applications with:
- Ready-to-use Components - Drop-in verification UI
- Powerful Hooks - Full control with React hooks
- Customizable Styling - CSS variables and className props
- TypeScript Support - Full type definitions
Installation
Terminalbash
Loading...
Peer Dependencies: React 17.0.0 or later, React DOM 17.0.0 or later.
Quick Start
Wrap your app with MDLProvider and use theMDLVerifier component:
App.tsxtsx
Loading...
Components
The package includes these main components:
Using Hooks
For custom UIs, use the hooks directly:
CustomVerifier.tsxtsx
Loading...