{"id":19475183,"url":"https://github.com/studiobakers/react-ui-toolkit","last_synced_at":"2025-07-04T22:32:28.172Z","repository":{"id":38689293,"uuid":"238410817","full_name":"studiobakers/react-ui-toolkit","owner":"studiobakers","description":"Bakers Studio's React-based UI Toolkit","archived":false,"fork":false,"pushed_at":"2024-06-18T11:33:39.000Z","size":7139,"stargazers_count":15,"open_issues_count":17,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-24T20:05:52.240Z","etag":null,"topics":["react","react-components","ui"],"latest_commit_sha":null,"homepage":"","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/studiobakers.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":"2020-02-05T09:18:45.000Z","updated_at":"2025-04-09T10:15:22.000Z","dependencies_parsed_at":"2024-05-14T13:43:58.366Z","dependency_job_id":"027e4c29-66ce-4db3-8663-3655cdf1cd02","html_url":"https://github.com/studiobakers/react-ui-toolkit","commit_stats":null,"previous_names":["hipo/react-ui-toolkit"],"tags_count":42,"template":false,"template_full_name":null,"purl":"pkg:github/studiobakers/react-ui-toolkit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/studiobakers%2Freact-ui-toolkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/studiobakers%2Freact-ui-toolkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/studiobakers%2Freact-ui-toolkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/studiobakers%2Freact-ui-toolkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/studiobakers","download_url":"https://codeload.github.com/studiobakers/react-ui-toolkit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/studiobakers%2Freact-ui-toolkit/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263628011,"owners_count":23490894,"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-components","ui"],"created_at":"2024-11-10T19:30:32.715Z","updated_at":"2025-07-04T22:32:28.149Z","avatar_url":"https://github.com/studiobakers.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @hipo/react-ui-toolkit 🧩\n\nBakers' React based UI Toolkit\n\n## Getting started\n\nFirst, install the package via npm:\n\n```bash\nnpm install @hipo/react-ui-toolkit\n```\n\nAfter installing the package you should import the main CSS file to gather the initial styles of the components, and then import the components you want to use in your project.:\n\n```javascript\nimport {FormField, Input} from \"@hipo/react-ui-toolkit/dist/Input\";\n\n// This import required to gather the initial styles of the components\n// You can do it while bootstrapping your app\nimport \"@hipo/react-ui-toolkit/dist/main.css\";\n\nfunction LoginForm() {\n  return (\n    \u003cform\u003e\n      \u003cFormField label=\"E-mail\"\u003e\n        \u003cInput name=\"email\" /\u003e\n      \u003c/FormField\u003e\n\n      \u003cFormField label=\"Password\"\u003e\n        \u003cInput name=\"password\" type=\"password\" /\u003e\n      \u003c/FormField\u003e\n\n      \u003cButton type=\"submit\"\u003eLogin\u003c/Button\u003e\n    \u003c/form\u003e\n  );\n}\n```\n\n### How to style components?\n\nEvery component holds a minimum amount of CSS. You can modify them via the CSS variables. See `_colors.scss` and `_measurement.scss`\n\nHere is a simple example that shows how to customize `Button` and `Input` styles by overriding the default CSS variables:\n\n```scss\n.button {\n  // Override the default button styles using CSS variables\n\n  --button-bg: #989898;\n  --button-color: black;\n}\n\n.input {\n  // Override the default input styles using CSS variables\n\n  --default-border-color: black;\n}\n```\n\n## Development\n\n[Storybook](#storybook) is suggested for the development environment. It allows you to see the components in isolation and interact with them. It also supports hot-reloading, i.e. when you change the component, it automatically reloads the component in the browser.\n\nFirst of all, you need to install the dependencies, in the project root folder, run:\n\n```bash\nnpm install\n```\n\n\u003e ⚠️ Make sure you are using the exact version of `node` and `npm` that are specified in the `engines` field of [package.json](/package.json) file. Otherwise, you may face some unexpected issues.\n\n### Storybook\n\nStorybook is a development environment for UI components. It allows you to browse a component library, view the different states of each component, and interactively develop and test components.\n\nTo run the Storybook development server on your local environment, you can use the following command:\n\n```bash\nnpm run storybook\n```\n\nTo generate a static build of the Storybook (usually, you don't need this. This is only necessary when you want to publish it to somewhere), you can use the following command:\n\n```bash\nnpm run storybook:build\n```\n\n### Production Build\n\nThe production deployment is automated by GitHub Actions. Check the [.github/workflows/new-version.yml](/.github/workflows/new-version.yml) file for more information.\n\n---\n\nIf you need to generate a production ready build for some reason, use:\n\n```bash\nnpm run build\n```\n\nThis will generate a `dist` folder that contains the compiled components.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstudiobakers%2Freact-ui-toolkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstudiobakers%2Freact-ui-toolkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstudiobakers%2Freact-ui-toolkit/lists"}