Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 431 Bytes

File metadata and controls

23 lines (16 loc) · 431 Bytes

NewCode UI

The NewCode design system

Using the library in a React frontend app

Install the library running yarn add @newcode/ui.

To import the styles the library needs:

/* _app.tsx */
import "@newcode/ui/dist/style.css";
// More imports and your App component ...

To import library components:

/* pages/index.tsx */
import { Button } from "@newcode/ui";
// More imports and your Page component...