# Payment & Transactions / Payment Method Payment method selection with UPI, Net Banking, Card, and CSC Centre options. **Category:** Patterns **Storybook:** https://doc.ux4g.gov.in/web/?path=/story/ux4g-patterns-payment-transactions-payment-method--full-screen ## Pattern variants - Full Screen: https://doc.ux4g.gov.in/web/?path=/story/ux4g-patterns-payment-transactions-payment-method--full-screen - Card: https://doc.ux4g.gov.in/web/?path=/story/ux4g-patterns-payment-transactions-payment-method--card ## When to use this pattern Use Payment & Transactions / Payment Method when building citizen-facing flows that match the described government journey. Combine components such as cards, forms, tables, buttons, and status indicators as shown in Storybook. ## 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 Payment & Transactions / Payment Method. Each example shows the rendered HTML, the equivalent React JSX, and the Angular template markup. ### 1. Card — Choose Payment Method HTML: ```html
  • Personal info
  • Documents
  • Review
  • Payment

Choose payment method

Select how you would like to pay Rs 41.30.

``` React: ```jsx import React from 'react'; const PaymentTransactionsPaymentMethodExample1Demo = () => ( <>
  • Personal info
  • Documents
  • Review
  • Payment

Choose payment method

Select how you would like to pay Rs 41.30.

Powered by - Digital India
); export default PaymentTransactionsPaymentMethodExample1Demo; ``` Angular: ```html
  • Personal info
  • Documents
  • Review
  • Payment

Choose payment method

Select how you would like to pay Rs 41.30.

``` ### 2. Full Screen — Choose Payment Method HTML: ```html
  • Personal info
  • Documents
  • Review
  • Payment

Choose payment method

Select how you would like to pay Rs 41.30.

``` React: ```jsx import React from 'react'; const PaymentTransactionsPaymentMethodExample2Demo = () => ( <>
  • Personal info
  • Documents
  • Review
  • Payment

Choose payment method

Select how you would like to pay Rs 41.30.

Powered by - Digital India
); export default PaymentTransactionsPaymentMethodExample2Demo; ``` Angular: ```html
  • Personal info
  • Documents
  • Review
  • Payment

Choose payment method

Select how you would like to pay Rs 41.30.

```