{"id":23058687,"url":"https://github.com/suhdev/react-slot","last_synced_at":"2025-10-14T00:39:37.913Z","repository":{"id":35060195,"uuid":"201909006","full_name":"suhdev/react-slot","owner":"suhdev","description":"A simple library to provide slot support for React apps.","archived":false,"fork":false,"pushed_at":"2023-01-04T06:57:57.000Z","size":561,"stargazers_count":0,"open_issues_count":11,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T06:26:29.037Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/suhdev.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":"2019-08-12T10:30:57.000Z","updated_at":"2023-08-20T09:59:10.000Z","dependencies_parsed_at":"2023-01-15T12:58:46.924Z","dependency_job_id":null,"html_url":"https://github.com/suhdev/react-slot","commit_stats":null,"previous_names":["stickyants/react-slot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suhdev%2Freact-slot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suhdev%2Freact-slot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suhdev%2Freact-slot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suhdev%2Freact-slot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/suhdev","download_url":"https://codeload.github.com/suhdev/react-slot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246944386,"owners_count":20858772,"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-12-16T02:17:08.544Z","updated_at":"2025-10-14T00:39:32.897Z","avatar_url":"https://github.com/suhdev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# stickyants-react-slot\n\nA library for React application to support slots. Works in a similar fashion to Vue's slots.\n\n## Usage\n\n```typescript\n\nimport * as React from 'react';\nimport {\n  SlotsContainer,\n  Slot,\n  SlotContent\n  } from '@stickyants/react-slot';\n\n\nfunction MySidebar(){\n  return (\n    \u003cSlotContent name=\"sidebar\"\u003e\n      \u003cdiv className=\"text\"\u003eThis is just a test\u003c/div\u003e\n    \u003c/SlotContent\u003e\n  );\n}\n\nfunction MySubApp(){\n  return (\n    \u003cSlotContent name=\"working-area\"\u003e\n      \u003cdiv className=\"my-working-area\"\u003eThis goes in the working area\u003c/div\u003e\n    \u003c/SlotContent\u003e\n  );\n}\n\nfunction App(){\n  return (\n    \u003cSlotContainer\u003e\n      \u003cdiv clasName=\"container\"\u003e\n        \u003cdiv className=\"row\"\u003e\n          \u003cdiv className=\"col-md-3\"\u003e\n            \u003cSlot name=\"sidebar\" /\u003e\n          \u003c/div\u003e\n          \u003cdiv className=\"col-md-9\"\u003e\n            \u003cSlot name=\"working-area\" /\u003e\n          \u003c/div\u003e\n        \u003c/div\u003e\n      \u003c/div\u003e\n      \u003cMySidebar /\u003e\n      \u003cMySubApp /\u003e\n    \u003c/SlotContainer\u003e\n  );\n}\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuhdev%2Freact-slot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuhdev%2Freact-slot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuhdev%2Freact-slot/lists"}