# Input Pan-Card Input - Pan Card allows users to enter, format and validate a Permanent Account Number (PAN). It supports standardized data entry across financial, taxation, and banking workflows. **Category:** Components **Storybook:** https://doc.ux4g.gov.in/web/?path=/story/ux4g-components-input-pan-card--introduction ## Variants documented in Storybook - PanCardInput: https://doc.ux4g.gov.in/web/?path=/story/ux4g-components-input-pan-card--pancardinput ## Framework setup ### HTML / CDN ```html ``` ### React ```bash npm install ux4g-web-components ``` ```jsx import 'ux4g-web-components/styles.css'; import 'ux4g-web-components/design-system'; ``` ### Angular Update `angular.json`: ```json { "styles": [ "node_modules/ux4g-web-components/styles/ux4g.css", "src/styles.css" ], "scripts": [ "node_modules/ux4g-web-components/dist/runtime/design-system.js" ] } ``` ## Code examples The snippets below are extracted from the Storybook canvas for Input Pan-Card. Each example shows the rendered HTML, the equivalent React JSX, and the Angular template markup. ### 1. Introduction — Introduction HTML: ```html
Input - Pan Card allows users to enter, format and validate a Permanent Account Number (PAN). It supports standardized data entry across financial, taxation, and banking workflows.
Source-backed examples covering standard PAN card input sizing and supporting actions.
Quickly copy source-backed utility classes for input structure and state patterns.
|
Input Container
ux4g-input-container
|
|
Field Shell
ux4g-input
|
|
Native Input
ux4g-input-input
|
|
Default State
ux4g-input-default
|
|
Error State
ux4g-input-error
|
|
Success State
ux4g-input-success
|
|
Warning State
ux4g-input-warning
|
|
Disabled State
ux4g-input-is-disabled
|
|
Small Input
ux4g-input-sm
|
|
Medium Input
ux4g-input-md
|
|
Large Input
ux4g-input-lg
|
|
Extra Large Input
ux4g-input-xl
|
Input - Pan Card allows users to enter, format and validate a Permanent Account Number (PAN). It supports standardized data entry across financial, taxation, and banking workflows.
Source-backed examples covering standard PAN card input sizing and supporting actions.
Quickly copy source-backed utility classes for input structure and state patterns.
|
Input Container
ux4g-input-container
|
|
Field Shell
ux4g-input
|
|
Native Input
ux4g-input-input
|
|
Default State
ux4g-input-default
|
|
Error State
ux4g-input-error
|
|
Success State
ux4g-input-success
|
|
Warning State
ux4g-input-warning
|
|
Disabled State
ux4g-input-is-disabled
|
|
Small Input
ux4g-input-sm
|
|
Medium Input
ux4g-input-md
|
|
Large Input
ux4g-input-lg
|
|
Extra Large Input
ux4g-input-xl
|
Input - Pan Card allows users to enter, format and validate a Permanent Account Number (PAN). It supports standardized data entry across financial, taxation, and banking workflows.
Source-backed examples covering standard PAN card input sizing and supporting actions.
Quickly copy source-backed utility classes for input structure and state patterns.
|
Input Container
ux4g-input-container
|
|
Field Shell
ux4g-input
|
|
Native Input
ux4g-input-input
|
|
Default State
ux4g-input-default
|
|
Error State
ux4g-input-error
|
|
Success State
ux4g-input-success
|
|
Warning State
ux4g-input-warning
|
|
Disabled State
ux4g-input-is-disabled
|
|
Small Input
ux4g-input-sm
|
|
Medium Input
ux4g-input-md
|
|
Large Input
ux4g-input-lg
|
|
Extra Large Input
ux4g-input-xl
|