# UX4G Design System > India's official government design system for building consistent, accessible digital public services across ministries and departments. ## Overview - **59 production-ready components** across React, Angular, Web Components, and Flutter - **WCAG 2.1 AA compliant** with keyboard, screen reader, and color contrast support - **India-specific**: AadhaarInput, PANCardInput, PaymentGateway (UPI), LanguageSelector (22 languages) - **Multilingual**: 12 active locales (English + 11 Indic languages); 13 locale files prepared (Urdu translated, pending RTL styling) - **Design tokens**: CSS custom properties with `--ux4g-*` prefix, light/dark theme support - **Service patterns**: Identity, payment, application submission, consent, status tracking ## Current Release - **Latest stable: UX4G 3.4.0** — npm `ux4g-web-components@3.4.0` and CDN `https://cdn.ux4g.gov.in/UX4G@3.4.0/` share one version number - Previous public versions: npm 3.0.3, CDN `UX4G@3.3.2` ## Quick Install ```bash # Web (React/Angular/HTML) npm install ux4g-web-components # Flutter flutter pub add ux4g_flutter_components ``` ```js // React / Vite entry file import 'ux4g-web-components/styles.css'; import 'ux4g-web-components/design-system'; ``` Angular: add `node_modules/ux4g-web-components/styles/ux4g.css` to `styles` in `angular.json` and `import 'ux4g-web-components/design-system';` in `main.ts`. Under a strict Content Security Policy also set `"inlineCritical": false`. CDN (no build tools) — always keep `integrity` and `crossorigin`: ```html ``` ## What's New in 3.4.0 - **Security fixes** for vulnerabilities in context alerts and popovers (XSS), alerts (class-name injection), toasts, modals, OTP, consent, select and upload components - **Popover HTML sanitised** (`ux4g.sanitizeHtml`); HTML mode needs `data-ux-html="true"` - **Strict CSP support**: no inline scripts or handlers; `script-src 'self'` is enough for npm - **Subresource Integrity** on every CDN release, with immutable version paths - **No third-party requests**: fonts bundled (Noto Sans incl. Indian scripts, Material Icons); no Google Fonts import - **Use alongside Bootstrap/Tailwind**: `data-ux4g-isolated` on ``, `.ux4g-scope`, and import the other framework into the `vendor` cascade layer - **`ux4g-collapse` / `ux4g-collapsing`** for collapsible content (`collapse` still works) - **One build for CDN and npm** (same cascade layers), plus runtime fixes - **Upgrading from 3.0.3**: popover `data-ux-html` must be `"true"`; alert titles/messages are plain text; modals open only from elements with `ux4g-modal` ## Documentation - [Web Developer Docs](https://web.ux4g.gov.in/) - [Flutter Developer Docs](https://flutter.ux4g.gov.in/) - [Main Website](https://ux4g.gov.in) - [Figma Community File](https://www.figma.com/community/file/1654976809099378421) ## Full Context for AI For complete component catalog, token naming, patterns, and recommendations: [Full Documentation](/llms-full.txt)