CultureHQ's component library.
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.
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 storybook server with yarn start
and view the output at http://localhost:6006
.
Bug reports and pull requests are welcome on GitHub at https://github.com/CultureHQ/components.
The code is available as open source under the terms of the MIT License.