Layout primitives written with ReasonReact and styled-ppx
- Reason 91.3%
- JavaScript 8.1%
- HTML 0.3%
- Text 0.3%
|
|
||
|---|---|---|
| .github/workflows | ||
| .storybook | ||
| .vscode | ||
| config | ||
| esy.lock | ||
| src | ||
| .gitattributes | ||
| .gitignore | ||
| .spin | ||
| bsconfig.json | ||
| esy.json | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| yarn.lock | ||
🌮 taco
Taco is a bunch of components that work as layout primitives written with ReasonReact and styled-ppx available in JavaScript, TypeScript and Reason/OCaml.
- Single-focused components
- Highly composable
- Type-safe
- Strong defaults
- Predictable APIs
- A rich set of components that can represent all your app
- Usable on Reason, JavaScript and TypeScript.
Installation
yarn add taco-ui
# or with npm
npm install --save taco-ui
Usage with Reason
When using ReScript you will need to add "taco-ui" and already have installed "reason-react" to your bs-dependencies in your bsconfig.json config
{
"bs-dependencies": [
"reason-react",
+ "taco-ui"
]
}
Usage with JavaScript
TBD