{"id":16225376,"url":"https://github.com/dimaslz/cross-ui-react","last_synced_at":"2025-04-08T03:36:48.279Z","repository":{"id":57104515,"uuid":"376998168","full_name":"dimaslz/cross-ui-react","owner":"dimaslz","description":"Wrapper of @cross-ui/core for react projects. Demo here: https://dimaslz.github.io/cross-ui-react","archived":false,"fork":false,"pushed_at":"2021-06-20T11:29:10.000Z","size":4700,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-15T02:24:52.502Z","etag":null,"topics":["cross-ui","react","stenciljs","web-components"],"latest_commit_sha":null,"homepage":"https://dimaslz.github.io/cross-ui-react","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/dimaslz.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2021-06-15T01:10:42.000Z","updated_at":"2021-06-20T10:33:02.000Z","dependencies_parsed_at":"2022-08-20T22:10:40.472Z","dependency_job_id":null,"html_url":"https://github.com/dimaslz/cross-ui-react","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimaslz%2Fcross-ui-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimaslz%2Fcross-ui-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimaslz%2Fcross-ui-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimaslz%2Fcross-ui-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dimaslz","download_url":"https://codeload.github.com/dimaslz/cross-ui-react/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247772938,"owners_count":20993627,"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":["cross-ui","react","stenciljs","web-components"],"created_at":"2024-10-10T12:44:53.461Z","updated_at":"2025-04-08T03:36:48.262Z","avatar_url":"https://github.com/dimaslz.png","language":"JavaScript","readme":"# @cross-ui/react\n\n\u003e Wrapper of @cross-ui/core for react projects\n\n[![NPM](https://img.shields.io/npm/v/@cross-ui/react.svg)](https://www.npmjs.com/package/@cross-ui/react) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n\n**RECOMMENDATION:** To use this library comfortably, is needed to install TailwindCSS and PostCSS, so, follow the next instructions.\n\n**NOTE:** This is an ALPHA version, maybe the next improvements will have TailwindCSS as an option.\n\n## Install\n\nnpm users: `npm install --save @cross-ui/react`\n\nyarn users: `yarn add @cross-ui/react`\n\n## Usage\n\n```scss\n//... your others css's\n@import '~@cross-ui/core/dist/cross-ui/cross-ui.css';\n\n//...\n```\n\n```jsx\nimport './index.scss'\n\nimport React from 'react'\nimport ReactDOM from 'react-dom'\nimport App from './App'\n\n// import library setup\nimport { InitCrossUIReact } from '@cross-ui/react'\n\nReactDOM.render(\u003cApp /\u003e, document.getElementById('root'))\n\n// Execute the settings after render the application.\n// This function will do the same like the official doc: https://stenciljs.com/docs/react\nInitCrossUIReact();\n```\n\nnow, in your `your-component.jsx`\n```jsx\nconst YourComponent = () =\u003e {\n  return \u003cdiv\u003e\n    \u003cCuiButton\u003emy button\u003c/CuiButton\u003e\n  \u003c/div\u003e\n}\n```\n\nyou can see an example here: [`/playground/src/App.js`](/playground/src/App.js)\n\nCheck the [/playground](/playground) project to see an example.\n\n## Docker\nYou have a [Dockerfile](Dockerfile) ready to server the example in a simple environment.\n\n- build the image `docker build --no-cache -t cross-ui-react .`\n\n- run the container `docker run --name cross-react-components -p 8080:80 -d cross-ui-react`\n\n- open http://localhost:8080 in your browser.\n\n\n## Author\n```js\n{\n\tlicense: \"MIT\",\n\tname: \"Dimas López\",\n\trole: \"FullStack Software development\",\n\talias: \"dimaslz\",\n\ttwitter: \"https://twitter.com/dimaslz\",\n\tsite: \"https://dimaslz.dev\",\n\tlinkedin: \"https://www.linkedin.com/in/dimaslopezzurita\"\n}\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimaslz%2Fcross-ui-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdimaslz%2Fcross-ui-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimaslz%2Fcross-ui-react/lists"}