Skip to content

Build federal websites and applications faster than ever with the speed and flexibility of modern tooling.

License

Notifications You must be signed in to change notification settings

IHIutch/uswds-tailwind

Repository files navigation

USWDS Tailwind

USWDS Tailwind is an open-source project designed to provide a modern approach to building application federal websites using Tailwind CSS and USWDS principles. This repository is actively maintained, and contributions from the community are welcome!

hero

Documentation

Want to use USWDS + Tailwind on your project? Visit the documentation site for how to get started.

Contributing

Development Setup

Prerequisites

Ensure you have the following installed before contributing:

Installation

  1. Clone the repository:
    git clone https://github.com/IHIutch/uswds-tailwind.git
    cd uswds-tailwind
  2. Install dependencies:
    pnpm install

Astro & Storybook Integration

Astro

This project uses Astro to build the documentation site. If you’re unfamiliar with Astro, check out the Astro documentation for more information.

To start the Astro development server:

pnpm dev

Storybook

Storybook is used for developing and testing UI components in isolation. This helps ensure that components are reusable and function correctly across different use cases. Learn more about Storybook in the Storybook documentation.

To run Storybook locally:

pnpm storybook

Repository Structure

  • apps/docs/: Contains the Astro documentation site
  • apps/storybook/: Contains the Storybook environment used to build and test components
  • packages/tailwind-config: The main Tailwind configuration used by the docs and end-user installation
  • examples/basic: A basic example of using this project
  • scripts/: Used to copy the Storybook examples into the documentation site

How to Contribute

  1. Fork the repository and create a new branch for your feature or fix.
  2. Follow the coding standards and ensure your changes align with project goals.
  3. Write tests for any new functionality where applicable.
  4. Submit a pull request with a clear explanation of your changes.

Issues and Discussions

If you encounter bugs, have feature requests, or need help, please open an issue or start a discussion.

License

This project is licensed under the MIT License. See the LICENSE file for details.