{"id":24507440,"url":"https://github.com/ybot1122/toby-ui","last_synced_at":"2025-04-14T07:22:39.043Z","repository":{"id":262169863,"uuid":"885998485","full_name":"ybot1122/toby-ui","owner":"ybot1122","description":"React Components and SDK for APIs","archived":false,"fork":false,"pushed_at":"2025-03-07T17:19:07.000Z","size":274,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T02:48:56.157Z","etag":null,"topics":["react","react-component-library","react-components","reusable-components","tailwind","tailwind-css","tailwindcss"],"latest_commit_sha":null,"homepage":"https://ybot1122.github.io/toby-ui/","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/ybot1122.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-09T23:11:04.000Z","updated_at":"2025-03-07T17:19:08.000Z","dependencies_parsed_at":"2024-12-17T01:41:59.857Z","dependency_job_id":"805f8c52-345f-4c66-9807-d51e76f5aae0","html_url":"https://github.com/ybot1122/toby-ui","commit_stats":null,"previous_names":["ybot1122/toby-ui"],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ybot1122%2Ftoby-ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ybot1122%2Ftoby-ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ybot1122%2Ftoby-ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ybot1122%2Ftoby-ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ybot1122","download_url":"https://codeload.github.com/ybot1122/toby-ui/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248837411,"owners_count":21169427,"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":["react","react-component-library","react-components","reusable-components","tailwind","tailwind-css","tailwindcss"],"created_at":"2025-01-21T23:50:43.409Z","updated_at":"2025-04-14T07:22:39.012Z","avatar_url":"https://github.com/ybot1122.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# toby-ui\n\nCollection of Reusable React Components. Please refer to package.json `peerDependencies` to see which libraries this component library relies on. This package is zero-dependency.\n\n### Install\n\n1. Install toby-ui as a Node package:\n\n`npm i @ybot1122/toby-ui`\n\n2. Add toby-ui to tailwind.config.js:\n\n```\nmodule.exports = {\n  //...\n  content: [\n    // ...\n    \"node_modules/@ybot1122/toby-ui/dist/**/*.js\",\n  ],\n}\n```\n\n### Adding a new Component\n\n1. Create its directory under `src/components`.\n2. Add its implementation file, and storybook file into that directory. You can copy paste the files from HelloWorld as starter template.\n3. In `package.json` add the entry for it in `exports` array.\n4. In `rollup.config.mjs` add the path as a file for `input`.\n5. In `src/index.ts` put any type definitions you will use for the new component.\n\n### Publish and Release\n\n1. Make a PR and merge to bump the version in package.json\n2. In GitHub, create release.\n3. `npm login`\n4. `npm publish`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fybot1122%2Ftoby-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fybot1122%2Ftoby-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fybot1122%2Ftoby-ui/lists"}