https://github.com/voodoos/bs-semantic-ui-react
Bucklescript bindings for Semantic UI React
https://github.com/voodoos/bs-semantic-ui-react
Last synced: about 2 months ago
JSON representation
Bucklescript bindings for Semantic UI React
- Host: GitHub
- URL: https://github.com/voodoos/bs-semantic-ui-react
- Owner: voodoos
- License: mit
- Created: 2018-03-29T13:36:57.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-05-09T16:04:01.000Z (about 4 years ago)
- Last Synced: 2025-03-21T23:51:14.380Z (2 months ago)
- Language: OCaml
- Size: 92.8 KB
- Stars: 6
- Watchers: 3
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bs-semantic-ui-react
A work in progress Bucklescript and ReasonReact set of bindings for [Semantic UI React](https://react.semantic-ui.com).
You can find a example usage of theses bindings in the ElpIDE project : [source](https://github.com/voodoos/ElpIDE) || [demo](https://voodoos.github.io/ElpIDE/)
## Introduction
This is an early work in progress that I build to fulfill my need. But I hope it is a clean enough basis for anyone to participate (there are loads of components with hundreds of properties in Semantic UI React).
The method I used to create these bindings is well documented in [this blog post by Khoa Nguyen](https://khoanguyen.me/writing-reason-react-bindings-the-right-way/).
## Installation
To use these bindings in an existing ReasonReact project simply add the repository to your dependencies :```
yarn add "https://github.com/voodoos/bs-semantic-ui-react"
```And ask `bsb` to use it by adding `bs-semantic-ui-react` to `bs-dependencies` in your `bsconfig.json`.
You will also need to load semantic-ui's css, here is one way to do it :
```reason
[%bs.raw {|require('semantic-ui-css/semantic.min.css')|}];
```## Contributions
All contributions are welcomed.
## LICENSE
MIT (see LICENSE file for more details)