{"id":23053947,"url":"https://github.com/emcecs/clarity-react","last_synced_at":"2025-09-10T23:37:44.475Z","repository":{"id":34990041,"uuid":"177061883","full_name":"EMCECS/clarity-react","owner":"EMCECS","description":"React Components for VMware Clarity UI and Clarity Design","archived":false,"fork":false,"pushed_at":"2024-06-18T06:37:36.000Z","size":5014,"stargazers_count":40,"open_issues_count":11,"forks_count":26,"subscribers_count":32,"default_branch":"main","last_synced_at":"2024-12-10T19:23:28.398Z","etag":null,"topics":["clarity","clarityui","javascript","react","react-components","reactjs","ui-components","vmware-clarity"],"latest_commit_sha":null,"homepage":null,"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/EMCECS.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":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-22T02:59:29.000Z","updated_at":"2024-05-22T11:46:44.000Z","dependencies_parsed_at":"2024-01-17T07:32:49.180Z","dependency_job_id":"a0828ffe-6fc0-42c9-ad46-d7ec9bc478be","html_url":"https://github.com/EMCECS/clarity-react","commit_stats":{"total_commits":664,"total_committers":48,"mean_commits":"13.833333333333334","dds":0.8268072289156627,"last_synced_commit":"87c13bd5cc388b80d522a8c0d42c864e714bfc12"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EMCECS%2Fclarity-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EMCECS%2Fclarity-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EMCECS%2Fclarity-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EMCECS%2Fclarity-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EMCECS","download_url":"https://codeload.github.com/EMCECS/clarity-react/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229893980,"owners_count":18140616,"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":["clarity","clarityui","javascript","react","react-components","reactjs","ui-components","vmware-clarity"],"created_at":"2024-12-16T00:31:48.027Z","updated_at":"2024-12-16T00:31:48.506Z","avatar_url":"https://github.com/EMCECS.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Clarity React Binding\n\nThis project an unofficial implementation of [VMware Clarity Design](https://clarity.design) in React. It leverages CSS, icons and images from the Clarity project. \n\n## Usage in React projects\n\nTo use the project simply add the dependencies with `yarn`, `npm`, etc:\n```shell\n$ yarn add @dellstorage/clarity-react\n```\n\nImport styles and globals from peer dependencies:\n\n#### `index.tsx`\n```typescript\nimport \"@webcomponents/custom-elements/custom-elements.min.js\";\nimport \"@clr/icons/clr-icons.min.css\";\nimport \"@clr/icons/clr-icons-lite.min.js\";\nimport \"@clr/ui/clr-ui.min.css\"\nimport \"@clr/icons/shapes/technology-shapes.js\";\n\n...\n```\n\nAnd make use of the components in your app:\n#### `App.tsx`\n```typescript jsx\nimport React, {Component} from 'react';\nimport MainContainer from \"@dell/clarity-react/layout/main-container/MainContainer\";\n\nconst initialState = {\n};\n\ntype MainPageProps = {\n    token?: string\n    level?: string\n    message?: string\n}\n\nexport type MainPageState = Readonly\u003ctypeof initialState\u003e;\n\nexport default class MainPage extends Component\u003cMainPageProps\u003e {\n    readonly state: MainPageState = initialState;\n\n    render() {\n        return(\n            \u003cMainContainer\u003e\n                Hello\n            \u003c/MainContainer\u003e\n        );\n    }\n}\n```\n\n## Storybook\n\nThis project includes [Storybook](https://storybook.js.org/) as a component browser. To fire up storybook, download the project in Git:\n```shell\n$ git clone https://github.com/EMCECS/clarity-react.git\n```\n\nInstall the dependencies with `yarn`, `npm`, etc.\n```sbtshell\n$ cd clarity-react\n\n# Using yarn\n$ yarn\n\n# Using NPM\n$ npm install\n```\n\nAny run the \"storybook\" script:\n```shell\n# Using yarn\n$ yarn run storybook\n\n# Using NPM\n$ npm run storybook\n```\n\n## Licenses\n* Clarity React components is licensed under Apache 2.0 License.\n* The VMware Clarity Design System is licensed under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femcecs%2Fclarity-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femcecs%2Fclarity-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femcecs%2Fclarity-react/lists"}