{"id":20689289,"url":"https://github.com/stylescape/example-react","last_synced_at":"2026-04-18T08:32:57.052Z","repository":{"id":253362364,"uuid":"843271353","full_name":"stylescape/example-react","owner":"stylescape","description":"Stylescape Example | React","archived":false,"fork":false,"pushed_at":"2026-04-05T06:10:38.000Z","size":757,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":0,"default_branch":"dev","last_synced_at":"2026-04-05T08:13:07.426Z","etag":null,"topics":["react","stylescape"],"latest_commit_sha":null,"homepage":"https://style.scape","language":"JavaScript","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/stylescape.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":".github/CODEOWNERS","security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":"codemeta.json","zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"scape-foundation","open_collective":"scape"}},"created_at":"2024-08-16T06:34:35.000Z","updated_at":"2026-04-05T06:04:59.000Z","dependencies_parsed_at":"2024-10-28T10:34:04.315Z","dependency_job_id":"83b3ddb9-5b85-405d-8e56-8f859e573b47","html_url":"https://github.com/stylescape/example-react","commit_stats":null,"previous_names":["stylescape/example-react"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/stylescape/example-react","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stylescape%2Fexample-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stylescape%2Fexample-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stylescape%2Fexample-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stylescape%2Fexample-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stylescape","download_url":"https://codeload.github.com/stylescape/example-react/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stylescape%2Fexample-react/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31962196,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","stylescape"],"created_at":"2024-11-16T23:09:06.636Z","updated_at":"2026-04-18T08:32:57.048Z","avatar_url":"https://github.com/stylescape.png","language":"JavaScript","funding_links":["https://github.com/sponsors/scape-foundation","https://opencollective.com/scape"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"right\"\u003e\n\n[![GitHub License](https://img.shields.io/github/license/stylescape/example-react?style=flat-square\u0026logo=readthedocs\u0026logoColor=FFFFFF\u0026label=\u0026labelColor=%23041B26\u0026color=%23041B26\u0026link=LICENSE)](https://github.com/stylescape/example-react/blob/main/LICENSE)\n[![devContainer](https://img.shields.io/badge/devContainer-23041B26?style=flat-square\u0026logo=Docker\u0026logoColor=%23FFFFFF\u0026labelColor=%23041B26\u0026color=%23041B26)](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/stylescape/example-react)\n[![StackBlitz](https://img.shields.io/badge/StackBlitz-23041B26?style=flat-square\u0026logo=StackBlitz\u0026logoColor=%23FFFFFF\u0026labelColor=%23041B26\u0026color=%23041B26)](https://stackblitz.com/github/stylescape/example-react/tree/main?file=src%2Findex.html)\n\n\u003c/div\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/stylescape/brand/master/src/logo/logo-transparant.png\" width=\"20%\" alt=\"Stylescape Logo\"\u003e\n\u003c/p\u003e\n\u003ch1 align=\"center\" style='border-bottom: none;'\u003eStylescape + React\u003c/h1\u003e\n\u003ch3 align=\"center\"\u003eExample Project\u003c/h3\u003e\n\n[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/stylescape/example-react)\n\n---\n\nIntegrate [Stylescape](https://scape.style) with [React](https://react.dev/) and [Vite](https://vitejs.dev/) for fast development and optimized production builds.\n\n---\n\n## Features\n\n- ⚛️ React 19 with modern hooks and patterns\n- ⚡ Vite for lightning-fast HMR and builds\n- 🎨 Stylescape's complete styling system\n- 🌗 Built-in theme toggle with `data-ss=\"theme-toggle\"`\n- 📐 Frame layout with sidebars and ribbons\n- 🎹 Interactive accordion with `data-ss=\"accordion\"`\n\n---\n\n## Quickstart\n\n```sh\ngit clone https://github.com/stylescape/example-react.git\ncd example-react\nnpm install\nnpm start\n```\n\n---\n\n## Project Structure\n\n```\nsrc/\n├── App.jsx           # Main application component\n├── main.jsx          # Entry point with Stylescape imports\n└── styles/\n    └── main.scss     # Stylescape SCSS import\n```\n\n---\n\n## Usage\n\n### 1. Install Dependencies\n\n```sh\nnpm install stylescape react react-dom\nnpm install -D vite @vitejs/plugin-react sass\n```\n\n### 2. Import Stylescape in SCSS\n\n```scss\n// src/styles/main.scss\n@use \"stylescape\";\n```\n\n### 3. Import in Entry File\n\n```jsx\n// src/main.jsx\nimport './styles/main.scss';\nimport 'stylescape';\n```\n\n### 4. Use Stylescape Classes\n\n```jsx\n\u003cdiv className=\"frame_main\"\u003e\n    \u003cheader className=\"ribbon--top\"\u003e\n        \u003cinput type=\"checkbox\" data-ss=\"theme-toggle\" /\u003e\n    \u003c/header\u003e\n    \u003caside className=\"sidebar--left\" data-ss=\"aside\"\u003e\n        {/* Sidebar content */}\n    \u003c/aside\u003e\n    \u003cmain className=\"main_content\"\u003e\n        \u003cdiv data-ss=\"accordion\"\u003e\n            \u003cdetails\u003e\n                \u003csummary\u003eAccordion Item\u003c/summary\u003e\n                \u003cp\u003eContent here\u003c/p\u003e\n            \u003c/details\u003e\n        \u003c/div\u003e\n    \u003c/main\u003e\n\u003c/div\u003e\n```\n\n---\n\n## Scripts\n\n| Command | Description |\n|---------|-------------|\n| `npm start` | Start development server |\n| `npm run build` | Build for production |\n| `npm run preview` | Preview production build |\n\n---\n\n## Colophon\n\nMade with ❤️ by **[Scape Agency](https://www.scape.agency)**\n\n### Contributing\n\nContributions are welcome! Please fork the repository and submit a pull request with your changes.\n\n### License\n\nThis project is licensed under the MIT license. See the [LICENSE](LICENSE) file for details.\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstylescape%2Fexample-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstylescape%2Fexample-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstylescape%2Fexample-react/lists"}