Components
Form controls, navigation, feedback, and layout primitives designed for real government workflows.
- Production-ready UI building blocks
- Interactive states documented in Storybook
- Consistent anatomy across surfaces
# Introduction Landing page for the UX4G Design System. Summarises the system mission, key metrics (50+ components, 1K+ tokens, 10+ patterns, AA accessibility), core strengths, and a library map linking to Components, Tokens, Utilities, and Patterns. **Category:** Getting Started **Storybook:** https://doc.ux4g.gov.in/web/?path=/story/getting-started-introduction--introduction ## 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 Introduction. Each example shows the rendered HTML, the equivalent React JSX, and the Angular template markup. ### 1. Overview — Overview HTML: ```html
Government-grade UI foundations for trusted public digital experiences.
UX4G gives product, design, and engineering teams one coherent system for building accessible, consistent, and scalable citizen-facing services.
Start from shared tokens, move into reusable components, and document delivery paths in one place.
UX4G combines visual consistency, engineering pragmatism, and accessibility expectations into a single documentation experience.
A structured system of foundations, patterns, and components that can scale across ministries, vendors, and service teams.
Interaction patterns are designed for clarity, contrast, keyboard use, and dependable public-facing experiences.
Color, typography, spacing, and elevation are governed through reusable tokens that keep every experience aligned.
Composable utilities, production-ready components, and Storybook documentation reduce friction from exploration to delivery.
Components, tokens, and utilities are organized to help teams move from exploration to implementation without losing context.
Form controls, navigation, feedback, and layout primitives designed for real government workflows.
Core design decisions captured as reusable color, typography, spacing, and semantic values.
Layout, spacing, border, shadow, and background helpers that make composition fast and predictable.
Reusable block-level compositions like headers, footers, and complex forms used across applications.
Government-grade UI foundations for trusted public digital experiences.
UX4G gives product, design, and engineering teams one coherent system for building accessible, consistent, and scalable citizen-facing services.
Start from shared tokens, move into reusable components, and document delivery paths in one place.
UX4G combines visual consistency, engineering pragmatism, and accessibility expectations into a single documentation experience.
A structured system of foundations, patterns, and components that can scale across ministries, vendors, and service teams.
Interaction patterns are designed for clarity, contrast, keyboard use, and dependable public-facing experiences.
Color, typography, spacing, and elevation are governed through reusable tokens that keep every experience aligned.
Composable utilities, production-ready components, and Storybook documentation reduce friction from exploration to delivery.
Components, tokens, and utilities are organized to help teams move from exploration to implementation without losing context.
Form controls, navigation, feedback, and layout primitives designed for real government workflows.
Core design decisions captured as reusable color, typography, spacing, and semantic values.
Layout, spacing, border, shadow, and background helpers that make composition fast and predictable.
Reusable block-level compositions like headers, footers, and complex forms used across applications.
Government-grade UI foundations for trusted public digital experiences.
UX4G gives product, design, and engineering teams one coherent system for building accessible, consistent, and scalable citizen-facing services.
Start from shared tokens, move into reusable components, and document delivery paths in one place.
UX4G combines visual consistency, engineering pragmatism, and accessibility expectations into a single documentation experience.
A structured system of foundations, patterns, and components that can scale across ministries, vendors, and service teams.
Interaction patterns are designed for clarity, contrast, keyboard use, and dependable public-facing experiences.
Color, typography, spacing, and elevation are governed through reusable tokens that keep every experience aligned.
Composable utilities, production-ready components, and Storybook documentation reduce friction from exploration to delivery.
Components, tokens, and utilities are organized to help teams move from exploration to implementation without losing context.
Form controls, navigation, feedback, and layout primitives designed for real government workflows.
Core design decisions captured as reusable color, typography, spacing, and semantic values.
Layout, spacing, border, shadow, and background helpers that make composition fast and predictable.
Reusable block-level compositions like headers, footers, and complex forms used across applications.