{"id":27734418,"url":"https://github.com/testingisdocumenting/react-component-viewer","last_synced_at":"2025-07-06T20:08:00.455Z","repository":{"id":54324096,"uuid":"96900423","full_name":"testingisdocumenting/react-component-viewer","owner":"testingisdocumenting","description":"React Component to help with development of other React components","archived":false,"fork":false,"pushed_at":"2021-02-24T02:51:46.000Z","size":1871,"stargazers_count":12,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-22T04:03:51.597Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/testingisdocumenting.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}},"created_at":"2017-07-11T14:08:16.000Z","updated_at":"2023-05-10T06:24:40.000Z","dependencies_parsed_at":"2022-08-13T12:01:00.269Z","dependency_job_id":null,"html_url":"https://github.com/testingisdocumenting/react-component-viewer","commit_stats":null,"previous_names":["mykolagolubyev/react-components-viewer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/testingisdocumenting/react-component-viewer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testingisdocumenting%2Freact-component-viewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testingisdocumenting%2Freact-component-viewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testingisdocumenting%2Freact-component-viewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testingisdocumenting%2Freact-component-viewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/testingisdocumenting","download_url":"https://codeload.github.com/testingisdocumenting/react-component-viewer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testingisdocumenting%2Freact-component-viewer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263088311,"owners_count":23412028,"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":"2025-04-28T13:09:47.536Z","updated_at":"2025-07-06T20:08:00.430Z","avatar_url":"https://github.com/testingisdocumenting.png","language":"TypeScript","readme":"# Intro\n\n```typescript\nimport { ComponentViewer } from 'react-component-viewer';\n```\n\n![screen example](documentation/screen-example.png)\n\nReact Component to help you with development of other React components.\n* just a component, no separate build system,\n* observe component states all at once or zoom into a single component or a screen for debugging,\n* user defined theme switching for multi brand/theme development. \n\n# Installation\n\n```\nnpm install react-component-viewer --save-dev \n```\n\n# CRA Example\n\n```typescript\nimport * as React from 'react';\n\nimport { Registries, ComponentViewer } from 'react-component-viewer';\n\nimport { buttonsDemo } from './demos/buttons';\nimport { linksDemo } from './demos/links';\nimport { profileScreenDemo } from './demos/profileScreen';\nimport { formsDemo } from './demos/forms';\nimport { sideBySideDemo } from './demos/sideBySide';\n\nconst registries = new Registries({componentWrapper: DemoWrapper});\nregistries.add('components')\n    .registerAsGrid('Links', 300, linksDemo)\n    .registerAsTwoColumnTable('Buttons', buttonsDemo)\n    .registerAsRows('Inputs', inputsDemo);\n\nregistries.add('layouts')\n    .registerAsRows('Side by Side', sideBySideDemo);\n\nregistries.add('screens')\n    .registerSingle('Single Screen', profileScreenDemo)\n    .registerAsMiniApp('Single Screen mini app', '/app', profileScreenDemo);\n\nexport class App extends React.Component {\n    render() {\n        return (\n            \u003cComponentViewer registries={registries}/\u003e\n        );\n    }\n}\n```\n\n# Read more\n\n[More detailed explanation](https://medium.com/@mykolagolubyev/react-component-viewer-ff7cf793695a) \n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftestingisdocumenting%2Freact-component-viewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftestingisdocumenting%2Freact-component-viewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftestingisdocumenting%2Freact-component-viewer/lists"}