Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including @culturehq/components with all npm packages installed. Try it out:

require("react/package.json"); // react is a peer dependency. require("react-dom/package.json"); // react-dom is a peer dependency. var components = require("@culturehq/components")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@culturehq/components v12.3.4

CultureHQ's component library

@culturehq/components

Package Version

CultureHQ's component library.

Usage

You can import all of the components as separate named exports from the main package. As in:

import { Button } from "@culturehq/components";

const App = () => (
  <Button primary icon="clipboard">Take Survey</Button>
);

export default App;

To get the styles, be sure to also import @culturehq/components/dist/main.css into whatever stylesheet you're using.

Development

Ensure you have node and yarn installed on your system. Then run yarn in the root of the repository to install the dependencies. You can then start the local server with yarn start. You can now view the various components at http://localhost:8080.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free