Skip to content

pedrobslisboa/reskeleton

Repository files navigation

Reskeleton

reskeleton

A comfortable and beautiful Rescript skeleton component

Install

  • With npm
npm install --save reskeleton
  • With yarn
yarn add reskeleton

Add "reskeleton" to bsconfig:

"bs-dependencies": [
    ...
    "reskeleton"
],

Usage

  • Block
<Reskeleton />
<Reskeleton radius="20px" width="100px" height="100px"/>
  • Text
<h1>
    <Reskeleton variant=#text />
</h1>
  • Circle
<Reskeleton variant=#circle />
<Reskeleton variant=#circle width="100px" height="100px" />

Road map

  • Tests

Feel free to give your contribution