@cosmoau/ui
v1.10.3
Published
Cosmo's internal component library, built with React, Next.js, and Stitches.
Downloads
518
Maintainers
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
pnpm install
Examples
Usage
To work on components in the browser, run the development server and make changes in the playground
directory.
pnpm dev
Before you deploy, lint your code and format it. Then run the build script to generate the production bundle.
pnpm tidy
pnpm build