react-aadhar-card
TypeScript icon, indicating that this package has built-in type declarations

1.1.7 • Public • Published

React-Aadhar-Card

A slick aadhar card component for React.

Install

npm install react-aadhar-card

Usage

import AadharCard from "react-aadhar-card";
import "./App.css";
import profileImg from "./assets/profilephoto.jpeg";

function App() {
  return (
    <>
      <AadharCard
        name="Gaurang Baburao Keluskar"
        dob="06/03/2000"
        gender="Male"
        profilePic={profileImg}
        number='7224 5674 2993'
        width={450}
      />
    </>
  );
}

export default App;

Props

  • name {string}: Name on Aadhar card.
  • dob {string}: DOB on Aadhar card.
  • gender {string}: Gender of user.
  • number {string}: Aadhar card number.
  • profilePic {string}: Profile image of user.
  • width {number}: Width of aadhar card in px unit.
  • address {string}: Address of user.
  • frontSide {boolean}: true if front side need to be show to the user.
  • backSide {boolean}: true if the back side needs to be shown to the user.
  • rotate {boolean}: the card will rotate 180° when the user hovers over the Aadhaar card.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.1.73latest

Version History

VersionDownloads (Last 7 Days)Published
1.1.73
1.1.62
1.1.50
1.1.40
1.1.30
1.1.20
1.1.10
1.1.00
1.0.90
1.0.81
1.0.70
1.0.60
1.0.50
1.0.40
1.0.30
1.0.20
1.0.10
1.0.01

Package Sidebar

Install

npm i react-aadhar-card

Weekly Downloads

2

Version

1.1.7

License

ISC

Unpacked Size

3.86 MB

Total Files

28

Last publish

Collaborators

  • gaurangkeluskar