{"id":21820909,"url":"https://github.com/oc8/sheetslide-react","last_synced_at":"2026-05-01T12:32:43.938Z","repository":{"id":160707545,"uuid":"635529405","full_name":"oc8/sheetslide-react","owner":"oc8","description":"SheetSlide Swipeable is a React component for creating customizable, swipeable sliding sheets in web applications.","archived":false,"fork":false,"pushed_at":"2023-05-04T08:32:22.000Z","size":539,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-14T23:53:14.901Z","etag":null,"topics":["bottomsheet","mobile-app","panel","react","sheet","sheetslide","slide","swipe","topsheet","webapp"],"latest_commit_sha":null,"homepage":"","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/oc8.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-02T22:26:30.000Z","updated_at":"2025-04-07T08:31:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"42f27578-46b0-4bc3-9b7e-97ef38fe80dd","html_url":"https://github.com/oc8/sheetslide-react","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/oc8/sheetslide-react","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oc8%2Fsheetslide-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oc8%2Fsheetslide-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oc8%2Fsheetslide-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oc8%2Fsheetslide-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oc8","download_url":"https://codeload.github.com/oc8/sheetslide-react/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oc8%2Fsheetslide-react/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32497812,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["bottomsheet","mobile-app","panel","react","sheet","sheetslide","slide","swipe","topsheet","webapp"],"created_at":"2024-11-27T16:39:44.241Z","updated_at":"2026-05-01T12:32:43.920Z","avatar_url":"https://github.com/oc8.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SheetSlide Swipeable\n\nSheetSlide is a Node package for React that allows you to add a swipeable, sliding sheet to your web application. With this component, you can easily add a sheet that can be moved vertically by swiping up or down.\n\n## Demo\n\u003cimg src=\"preview.gif\" alt=\"Demo\" width=\"300\" height=\"auto\" /\u003e\n\n\n## Installation\nInstall the package using npm:\n\n```bash\nnpm install sheetslide-react\n```\n\n## Usage\nHere's an example of using SheetSlide in your React application:\n\n```tsx\nimport React, { useState } from 'react';\nimport SheetSlide from 'sheetslide-react';\n\nfunction App() {\n  const [open, setOpen] = useState(false);\n\n  return (\n    \u003cdiv\u003e\n      \u003cbutton onClick={() =\u003e setOpen(!open)}\u003eToggle SheetSlide\u003c/button\u003e\n      \u003cSheetSlide\n        open={open}\n        onOpenChange={(value) =\u003e setOpen(value)}\n        minSize=\"20vh\"\n        color=\"white\"\n        size=\"85vh\"\n\tside=\"top\"\n      \u003e\n        \u003cdiv\u003eYour sheet content\u003c/div\u003e\n      \u003c/SheetSlide\u003e\n    \u003c/div\u003e\n  );\n}\n\nexport default App;\n```\n\n## Props\nSheetSlide accepts the following props:\n\n- `children` (React.ReactNode) : The child elements to be displayed within the sheet.\n- `open` (boolean) : Indicates whether the sheet is open or closed.\n- `onOpenChange` (Function) : Callback called when the open state of the sheet changes.\n- `onClose` (Function, optional) : Callback called when the sheet closes.\n- `minSize` (string, optional) : The minimum size of the sheet when closed (e.g., '20vh').\n- `fit` (boolean, optional) : If true, the sheet adjusts to the size of its content.\n- `color` (string, optional) : The background color of the sheet.\n- `size` (string, optional) : The size of the sheet when open (e.g., '85vh').\n- `side` (string, optional) : The side of the screen where the sheet will appear. Accepts \"top\", or \"bottom\" (default is \"bottom\").\n- `threshold` (number, optional) : The minimum swipe distance required to trigger actions (e.g., 50).\n- `shadow` (boolean, optional) : If true, a shadow effect will be applied to the sheet.\n- `rounded` (boolean, optional) : If true, the sheet will have rounded corners.\n- `backgroundShadow` (boolean, optional) : If true, a background shadow will be displayed when the sheet is open.\n- `style` (React.CSSProperties, optional) : Custom CSS styles to be applied to the sheet.\n\n## License\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foc8%2Fsheetslide-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foc8%2Fsheetslide-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foc8%2Fsheetslide-react/lists"}