Joy Treasury is a collection of blocks that are ready-to-use for Joy UI projects.
The blocks are made to live from design inspiration resources such as Dribbble and Pinterest, etc.
There are 2 way to use the blocks in your project.
Card/News/Maldives
)npx joy-treasury@latest clone card-news-maldives
src/joy-treasury
folder (in your local project)Note: to clone multiple blocks, just add more names to the command with a space in between, e.g.
npx joy-treasury clone [blocks...]
Usage: npx joy-treasury@latest [options] [command]
Options:
-v, --version output the current version
-h, --help display help for command
Commands:
init
clone [options] <sources...> clone components/styles to your config directory
help [command] display help for command
init
create a joy-treasury.config.js
file that will be used when running clone
.
npx joy-treasury@latest init
Note that config file will be overridden by cli options (if specified)
clone
Usage: npx joy-treasury@latest clone [options] <sources...>
clone components/styles to your config directory
Options:
-d, --dir [directory] destination directory
-t, --template [template] template of the files, typescript (default) | javascript
-b, --branch [branch] target branch on github
--storybook storybook file(s) will be included.
--test test file(s) will be included.
-h, --help display help for command
clone multiple modules
npx joy-treasury@latest clone card-news-maldives card-travel-spa
Thanks goes to these wonderful people (emoji key):
kevintruo π» |
bossthanawat π» |
Pob Ch π» |
mildiemilk π» |
Anner π» |
Tlezip π» |
Wasu Winitmontri π» |
Napatchol Thaipanich π» |
Sila Setthakan-anan π» |
Supawit π» |
DKKs π» |
This project follows the all-contributors specification. Contributions of any kind welcome!