{"id":16978592,"url":"https://github.com/willdady/react-elements","last_synced_at":"2025-03-22T14:31:59.142Z","repository":{"id":19301585,"uuid":"22539084","full_name":"willdady/react-elements","owner":"willdady","description":"A library of reusable React components.","archived":false,"fork":false,"pushed_at":"2016-06-20T11:59:27.000Z","size":957,"stargazers_count":35,"open_issues_count":0,"forks_count":8,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-04-14T19:52:49.958Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/willdady.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-08-02T04:14:27.000Z","updated_at":"2021-10-21T19:35:36.000Z","dependencies_parsed_at":"2022-09-26T22:11:00.488Z","dependency_job_id":null,"html_url":"https://github.com/willdady/react-elements","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willdady%2Freact-elements","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willdady%2Freact-elements/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willdady%2Freact-elements/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willdady%2Freact-elements/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/willdady","download_url":"https://codeload.github.com/willdady/react-elements/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244217929,"owners_count":20417677,"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":[],"created_at":"2024-10-14T01:43:46.657Z","updated_at":"2025-03-22T14:31:58.882Z","avatar_url":"https://github.com/willdady.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Elements\r\n\r\nA library of reusable React components consisting of the following:\r\n\r\n```HTML\r\n\u003cButton /\u003e\r\n\u003cButtonGroup /\u003e\r\n\u003cColorPicker /\u003e\r\n\u003cLoadingSpinner /\u003e\r\n\u003cPagination /\u003e\r\n\u003cPanel /\u003e\r\n\u003cProgressBar /\u003e\r\n\u003cSwitch /\u003e\r\n\u003cTabs /\u003e\r\n\u003cVimeoVideo /\u003e\r\n\u003cYoutubeVideo /\u003e\r\n```\r\n\r\n**DEMO:** http://willdady.github.io/react-elements/\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install --save react-elements\r\n```\r\n\r\n## Usage\r\n\r\nTo include a component in your project simply import the component.\r\n\r\n```javascript\r\nimport Switch from 'react-elements/dist/Switch';\r\n```\r\n\r\n### Component stylesheets\r\n\r\nMost components have an accompanying stylesheet. When using a component be sure\r\nto include the component's stylesheet in your build otherwise the component\r\nwill fail to render correctly.\r\n\r\nStylesheets are written using [BEM syntax](https://css-tricks.com/bem-101/) and all classes are prefixed\r\nwith ```re-```.\r\n\r\nPre-built CSS files can be found in `dist/css`. Source SCSS can be found in\r\nthe `styles` directory in the project's root.\r\n\r\n#### Button\r\n\r\nPlease note the `\u003cButton /\u003e` component composes the `\u003cLoadingSpinner /\u003e` component so be sure to include both component's stylesheets.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilldady%2Freact-elements","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwilldady%2Freact-elements","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilldady%2Freact-elements/lists"}