🚀 Launch Week Day 4:Introducing the Alert Details Page: A Better Way to Explore Alerts.Learn More
Socket
Book a DemoInstallSign in
Socket

@cardscan.ai/insurance-cardscan-react

Package Overview
Dependencies
Maintainers
3
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cardscan.ai/insurance-cardscan-react

A library that makes it easy to add health insurance card scanning to any web application

latest
Source
npmnpm
Version
4.0.21
Version published
Weekly downloads
1.7K
-5.37%
Maintainers
3
Weekly downloads
 
Created
Source

CardScan.ai: React Widget

CardScan.ai is the fastest way to add health insurance card scanning to your mobile or web application.


drawing

CardScan.ai has UI widgets to support scanning on web, mobile web, Flutter, React Native, native iOS and Android. Or use the API to build your own implementation.

Widget Features:

  • Smart Card Detection
  • Auto & Manual Capture
  • Customizable User Prompts
  • Browser/Device Permission Helper
  • Retrying Failed & Low-Quality Scans
  • Responsive UI
  • Web to Mobile Handoff

drawing


Basic Example:

import React from "react";
import { render } from "react-dom";
import {CardScanView} from "@cardscan.ai/insurance-cardscan-react";

function onSuccess(card: any) {
  console.log("new card: ", card);
}

// See Authentication on where to get this token.
const token = 'JWT_TOKEN'

// Render CardScanView
render(
  <CardScanView
    live={false}
    sessionToken={token}
    onSuccess={onSuccess}
    />
  ,document.getElementById("root")
);

Compatibility

  • Node Versions: 14, 16, 18
  • React Versions: >=17.0.2, 18.2.0+
  • Webpack Versions: 4.x, 5.x
  • Babel Versions: 6.x, 7.x

Peer Dependencies

  • React: >=17.0.2
  • React-DOM: >=17.0.2

Documentation

Checkout the full docs and React Widget docs.

Keywords

card

FAQs

Package last updated on 25 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts