{"id":16631803,"url":"https://github.com/siriwatknp/joy-treasury","last_synced_at":"2025-03-16T22:30:57.445Z","repository":{"id":181629849,"uuid":"666903540","full_name":"siriwatknp/joy-treasury","owner":"siriwatknp","description":"Design inspiration alive with Joy UI. Copy \u0026 paste ready-to-use blocks to your project or clone them with joy-treasury CLI.","archived":false,"fork":false,"pushed_at":"2023-11-03T07:45:25.000Z","size":8970,"stargazers_count":41,"open_issues_count":62,"forks_count":27,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-27T14:48:16.883Z","etag":null,"topics":["joy-ui","react"],"latest_commit_sha":null,"homepage":"https://joy-treasury.dev","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/siriwatknp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"github":["siriwatknp"]}},"created_at":"2023-07-16T01:26:02.000Z","updated_at":"2024-11-01T13:00:39.000Z","dependencies_parsed_at":"2023-09-26T10:03:00.147Z","dependency_job_id":null,"html_url":"https://github.com/siriwatknp/joy-treasury","commit_stats":null,"previous_names":["siriwatknp/joy-treasury"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siriwatknp%2Fjoy-treasury","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siriwatknp%2Fjoy-treasury/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siriwatknp%2Fjoy-treasury/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siriwatknp%2Fjoy-treasury/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/siriwatknp","download_url":"https://codeload.github.com/siriwatknp/joy-treasury/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243500760,"owners_count":20300775,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["joy-ui","react"],"created_at":"2024-10-12T04:56:09.081Z","updated_at":"2025-03-16T22:30:56.995Z","avatar_url":"https://github.com/siriwatknp.png","language":"TypeScript","funding_links":["https://github.com/sponsors/siriwatknp"],"categories":[],"sub_categories":[],"readme":"# 👋 Welcome! to Joy Treasury\n\u003c!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section --\u003e\n[![All Contributors](https://img.shields.io/badge/all_contributors-11-orange.svg?style=flat-square)](#contributors-)\n\u003c!-- ALL-CONTRIBUTORS-BADGE:END --\u003e\n\nJoy Treasury is a collection of blocks that are ready-to-use for [Joy UI](https://mui.com/joy-ui/getting-started/) projects.\n\nThe blocks are made to live from design inspiration resources such as [Dribbble](https://dribbble.com/) and [Pinterest](https://www.pinterest.com/), etc.\n\nThere are 2 way to use the blocks in your project.\n\n- Copy and paste: open the \"Doc\" of the block you want and copy the code. Then paste it to your project, it should work instantly (open [an issue](https://github.com/siriwatknp/joy-treasury/issues/new) if it does not).\n- Use [CLI](#cli) to clone the latest blocks to your project.\n\n## CLI\n\n1. go to [joy-treasury](https://siriwatknp.github.io/joy-treasury/)\n2. find a block you want to clone from the sidebar (let's say that I want the `Card/News/Maldives`)\n3. open your terminal and go to your root project directory\n4. run `npx joy-treasury@latest clone card-news-maldives`\n5. you will see that the code is downloaded to `src/joy-treasury` folder (in your local project)\n\n\u003e Note: to clone multiple blocks, just add more names to the command with a space in between, e.g. `npx joy-treasury clone [blocks...]`\n\n```bash\nUsage: npx joy-treasury@latest [options] [command]\n\nOptions:\n  -v, --version                 output the current version\n  -h, --help                    display help for command\n\nCommands:\n  init\n  clone [options] \u003csources...\u003e  clone components/styles to your config directory\n  help [command]                display help for command\n```\n\n### `init`\n\ncreate a `joy-treasury.config.js` file that will be used when running `clone`.\n\n```bash\nnpx joy-treasury@latest init\n```\n\n\u003e Note that config file will be overridden by cli options (if specified)\n\n### `clone`\n\n```bash\nUsage: npx joy-treasury@latest clone [options] \u003csources...\u003e\n\nclone components/styles to your config directory\n\nOptions:\n  -d, --dir [directory]      destination directory\n  -t, --template [template]  template of the files, typescript (default) | javascript\n  -b, --branch [branch]      target branch on github\n  --storybook                storybook file(s) will be included.\n  --test                     test file(s) will be included.\n  -h, --help                 display help for command\n```\n\n**clone multiple modules**\n\n```bash\nnpx joy-treasury@latest clone card-news-maldives card-travel-spa\n```\n\n## Contributors ✨\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n\u003c!-- prettier-ignore-start --\u003e\n\u003c!-- markdownlint-disable --\u003e\n\u003ctable\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://github.com/kevintruo\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/137844738?v=4?s=100\" width=\"100px;\" alt=\"kevintruo\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003ekevintruo\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/siriwatknp/joy-treasury/commits?author=kevintruo\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://github.com/bossthanawat\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/29191825?v=4?s=100\" width=\"100px;\" alt=\"bossthanawat\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003ebossthanawat\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/siriwatknp/joy-treasury/commits?author=bossthanawat\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://crispyscript.com\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/19894957?v=4?s=100\" width=\"100px;\" alt=\"Pob Ch\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003ePob Ch\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/siriwatknp/joy-treasury/commits?author=pobch\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://github.com/mildiemilk\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/19834348?v=4?s=100\" width=\"100px;\" alt=\"mildiemilk\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003emildiemilk\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/siriwatknp/joy-treasury/commits?author=mildiemilk\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"http://annerez.github.io\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/98201562?v=4?s=100\" width=\"100px;\" alt=\"Anner\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eAnner\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/siriwatknp/joy-treasury/commits?author=Annerez\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://github.com/Tlezip\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/23031414?v=4?s=100\" width=\"100px;\" alt=\"Tlezip\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eTlezip\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/siriwatknp/joy-treasury/commits?author=Tlezip\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://github.com/wwasuu\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/15046290?v=4?s=100\" width=\"100px;\" alt=\"Wasu Winitmontri\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eWasu Winitmontri\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/siriwatknp/joy-treasury/commits?author=wwasuu\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://patorseing.github.io\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/29453220?v=4?s=100\" width=\"100px;\" alt=\"Napatchol Thaipanich\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eNapatchol Thaipanich\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/siriwatknp/joy-treasury/commits?author=patorseing\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://gitlab.com/fResult\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/19329932?v=4?s=100\" width=\"100px;\" alt=\"Sila Setthakan-anan\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eSila Setthakan-anan\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/siriwatknp/joy-treasury/commits?author=fResult\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://github.com/bazsup\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/22396258?v=4?s=100\" width=\"100px;\" alt=\"Supawit\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eSupawit\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/siriwatknp/joy-treasury/commits?author=bazsup\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://gitlab.com/mjkodonk\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/21122708?v=4?s=100\" width=\"100px;\" alt=\"DKKs\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eDKKs\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/siriwatknp/joy-treasury/commits?author=mjkodkks\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/tbody\u003e\n\u003c/table\u003e\n\n\u003c!-- markdownlint-restore --\u003e\n\u003c!-- prettier-ignore-end --\u003e\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiriwatknp%2Fjoy-treasury","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsiriwatknp%2Fjoy-treasury","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiriwatknp%2Fjoy-treasury/lists"}