{"id":21521611,"url":"https://github.com/zzarcon/react-scroll-shadow","last_synced_at":"2025-04-07T09:19:59.014Z","repository":{"id":57344289,"uuid":"115599879","full_name":"zzarcon/react-scroll-shadow","owner":"zzarcon","description":"Pure CSS shadow to indicate more content in scrollable area","archived":false,"fork":false,"pushed_at":"2018-10-22T23:37:41.000Z","size":19479,"stargazers_count":230,"open_issues_count":7,"forks_count":10,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-31T06:09:26.675Z","etag":null,"topics":["css","height","overflow","pure-css","react","scroll","scrollable","scrollbar","shadow"],"latest_commit_sha":null,"homepage":"https://zzarcon.github.io/react-scroll-shadow","language":"TypeScript","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/zzarcon.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":null,"security":null,"support":null}},"created_at":"2017-12-28T07:57:44.000Z","updated_at":"2025-03-17T14:52:41.000Z","dependencies_parsed_at":"2022-09-11T08:41:50.942Z","dependency_job_id":null,"html_url":"https://github.com/zzarcon/react-scroll-shadow","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zzarcon%2Freact-scroll-shadow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zzarcon%2Freact-scroll-shadow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zzarcon%2Freact-scroll-shadow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zzarcon%2Freact-scroll-shadow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zzarcon","download_url":"https://codeload.github.com/zzarcon/react-scroll-shadow/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247622983,"owners_count":20968575,"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":["css","height","overflow","pure-css","react","scroll","scrollable","scrollbar","shadow"],"created_at":"2024-11-24T01:07:45.049Z","updated_at":"2025-04-07T09:19:58.994Z","avatar_url":"https://github.com/zzarcon.png","language":"TypeScript","readme":"# react-scroll-shadow [![Build Status](https://travis-ci.org/zzarcon/react-scroll-shadow.svg?branch=master)](https://travis-ci.org/zzarcon/react-scroll-shadow)\n\u003e Pure CSS shadow to indicate more content in scrollable area\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"demo.gif\" alt=\"demo\"\u003e\n  \u003cbr\u003e\u003cbr\u003e\n\u003c/div\u003e\n\n# Demo 🍿\n\n[https://zzarcon.github.io/react-scroll-shadow](https://zzarcon.github.io/react-scroll-shadow)\n\n# Install 🚀\n\n```\n$ yarn add react-scroll-shadow\n```\n\n# Usage ⛏\n\n**Basic** \n\n```tsx\nimport ScrollShadow from 'react-scroll-shadow';\n\n\u003cScrollShadow\u003e\n  Content\n\u003c/ScrollShadow\u003e\n```\n\n**Custom**\n\n```tsx\nimport ScrollShadow from 'react-scroll-shadow';\n\n\u003cScrollShadow\n  bottomShadowColors={{\n    active: 'red',\n    inactive: 'white'\n  }}\n  topShadowColors={{\n    active: 'blue',\n    inactive: 'white'\n  }}\n  shadowSize={2}\n\u003e\n  Content\n\u003c/ScrollShadow\u003e\n```\n\n# Api 📚\n\n```ts\ninterface ShadowColors {\n  inactive: string;\n  active: string;\n}\n\ninterface Props {\n  height?: string;\n  bottomShadowColors?: ShadowColors;\n  topShadowColors?: ShadowColors;\n  shadowSize?: number;\n}\n```\n\nSee [example/](https://github.com/zzarcon/react-scroll-shadow/tree/master/example) for full example.","funding_links":[],"categories":["React"],"sub_categories":["React Components"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzzarcon%2Freact-scroll-shadow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzzarcon%2Freact-scroll-shadow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzzarcon%2Freact-scroll-shadow/lists"}