import {Meta} from '@storybook/blocks';

<Meta title="Docs/Introduction"/>

# Welcome to govuk-ui

Welcome to the govuk-ui project, a comprehensive set of React components designed to integrate seamlessly with the GOV.UK Design System.
These components are built using TypeScript, ensuring type safety and compatibility with modern development tools. With support for Server Side Rendering (SSR), the govuk-ui library makes it easy to create consistent and accessible web applications for UK government services.

## What is govuk-ui?
govuk-ui is a collection of React components that mirror the components found in the govuk-frontend project. They are designed to help developers create user interfaces that adhere to the strict guidelines and best practices of the GOV.UK Design System. The components are built with TypeScript, providing robust typing and an excellent developer experience.

Features
- 🧩 A complete set of React components based on the GOV.UK Design System
- 🛠️ Built with TypeScript for better developer experience and type safety
- 🚀 Server Side Rendering (SSR) support, ensuring optimal performance and SEO benefits
- 📚 Comprehensive documentation and examples for each component

## Getting Started
To get started with govuk-ui, simply install the package using npm or yarn:

```bash
npm install govuk-ui
```
or

```bash
yarn add govuk-ui
```

Next, import the desired components and use them in your project. You can find detailed documentation and examples for each component in the Component Reference.

### Styling and static assets

In order for these components to have the correct styles and also the correct JS enhancements you'll need to
add the styles and static assets from govuk-frontend.

Follow their guidance on installing here:
https://frontend.design-system.service.gov.uk/get-started/#3-get-the-css-working

## GOV.UK Design System
This project currently uses the GOV.UK Design System **v4.7.0**.

For those looking to learn more about the original GOV.UK Design System, or seeking guidance on how to apply its principles in your own projects, please visit the [official GOV.UK Design System documentation](https://design-system.service.gov.uk/).

## Contributors
- [Nathan Maybrey](github.com/nathan-maybrey) - `nathan.maybrey@engineering.digital.dwp.gov.uk`

We hope you enjoy using govuk-ui and find it helpful in building accessible, consistent, and high-quality web applications for UK government services. If you have any questions or suggestions, please don't hesitate to [open an issue](https://github.com/govuk-ui/govuk-ui/issues) on our GitHub repository. Happy coding!
