=Nil; Foundation user interface kit
npm install @nilfoundation/ui-kitUI components library to build React applications using =nil; pre-designed styles out of the box.




- Getting started
- Usage
- SSR
- License
``bash`
npm install @nilfoundation/ui-kit baseui styletron-engine-atomic styletron-react
`bash`
yarn add @nilfoundation/ui-kit baseui styletron-engine-atomic styletron-react
`html`
Notice, that global React variable should be accessible, because it is not included in the standalone bundle.
`tsx
import { BaseProvider } from "baseui";
import { Client as Styletron } from "styletron-engine-atomic";
import { Provider as StyletronProvider } from "styletron-react";
import { createTheme, Button } from "@nilfoundation/ui-kit";
const engine = new Styletron();
const { theme } = createTheme(engine);
function App() {
return (
);
}
``
Use this workaround to make Styletron, which this package is levelraging, work with SSR.