An open API service indexing awesome lists of open source software.

https://github.com/cosmoau/ui

An internal component library for enforcing consistency.
https://github.com/cosmoau/ui

nextjs phosphor react stitches typescript

Last synced: 6 months ago
JSON representation

An internal component library for enforcing consistency.

Awesome Lists containing this project

README

          

# @cosmoau/ui
> Cosmo UI is a React component library styled with Stitches, primarily designed for Next.js but adaptable to other React applications. We use it extensively in our projects, particularly customized to suit our specific needs (e.g., our Logo component represents our company logo).
\
\
> We've open-sourced it in the hopes that it may be helpful to other startups and developers. Please keep in mind that it's not intended for general-purpose use or production outside of Cosmo projects.

## Install

```sh
pnpm install
```

## Examples

- [cosmogroup.io](https://cosmogroup.io)
- [cosmo.homes](https://cosmo.homes)
- [ihostme.com.au](https://ihostme.com.au)

## Usage

To work on components in the browser, run the development server and make changes in the `playground` directory.

```sh
pnpm dev
```

Before you deploy, lint your code and format it. Then run the build script to generate the production bundle.

```sh
pnpm tidy
pnpm build
```

## Acknowledgments

- [@stitches/react](https://github.com/stitchesjs/stitches)
- [@phosphor-icons/react](https://github.com/phosphor-icons/react)
- [react-hot-toast](https://github.com/timolins/react-hot-toast)
- [fast-sort](https://github.com/snovakovic/fast-sort)

## License

[MIT](https://github.com/cosmoau/ui/blob/main/LICENSE.md)