{"id":13421977,"url":"https://github.com/andrelmlins/react-shadow-scroll","last_synced_at":"2025-09-25T14:40:59.066Z","repository":{"id":37271497,"uuid":"185305341","full_name":"andrelmlins/react-shadow-scroll","owner":"andrelmlins","description":"Component that customizes the list and inserts shadow when scrolling exists","archived":false,"fork":false,"pushed_at":"2022-12-11T02:26:37.000Z","size":2360,"stargazers_count":31,"open_issues_count":5,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-22T19:05:49.565Z","etag":null,"topics":["library","react","scroll","shadow"],"latest_commit_sha":null,"homepage":"https://react-shadow-scroll.netlify.com/","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/andrelmlins.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":"2019-05-07T02:24:45.000Z","updated_at":"2024-11-13T06:57:47.000Z","dependencies_parsed_at":"2023-01-26T14:01:27.342Z","dependency_job_id":null,"html_url":"https://github.com/andrelmlins/react-shadow-scroll","commit_stats":null,"previous_names":[],"tags_count":31,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrelmlins%2Freact-shadow-scroll","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrelmlins%2Freact-shadow-scroll/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrelmlins%2Freact-shadow-scroll/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrelmlins%2Freact-shadow-scroll/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrelmlins","download_url":"https://codeload.github.com/andrelmlins/react-shadow-scroll/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249135778,"owners_count":21218365,"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":["library","react","scroll","shadow"],"created_at":"2024-07-30T23:00:34.843Z","updated_at":"2025-09-25T14:40:53.948Z","avatar_url":"https://github.com/andrelmlins.png","language":"JavaScript","readme":"# React Shadow Scroll\n\n[![npm version](https://badge.fury.io/js/react-shadow-scroll.svg)](https://www.npmjs.com/package/react-shadow-scroll) \u0026bull; [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/andrelmlins/react-shadow-scroll/blob/master/LICENSE) \u0026bull; [![Node.js CI](https://github.com/andrelmlins/react-shadow-scroll/actions/workflows/nodejs.yml/badge.svg)](https://github.com/andrelmlins/react-shadow-scroll/actions/workflows/nodejs.yml) \u0026bull; [![Netlify Status](https://api.netlify.com/api/v1/badges/6061e313-a774-4951-b9da-3c11bc5040e8/deploy-status)](https://app.netlify.com/sites/react-shadow-scroll/deploys) \u0026bull; [![Language grade: JavaScript](https://img.shields.io/lgtm/grade/javascript/g/andrelmlins/react-shadow-scroll.svg?logo=lgtm\u0026logoWidth=18)](https://lgtm.com/projects/g/andrelmlins/react-shadow-scroll/context:javascript)\n\nComponent that customizes the list and inserts shadow when scrolling exists\n\n## Installation\n\n```\nnpm i react-shadow-scroll\n// OR\nyarn add react-shadow-scroll\n```\n\n## Demo [Link](https://react-shadow-scroll.netlify.com/)\n\nLocal demo:\n\n```\ngit clone https://github.com/andrelmlins/react-shadow-scroll.git\ncd react-shadow-scroll\nnpm install \u0026\u0026 npm run start\n```\n\n## Examples\n\n```jsx\nimport React from 'react';\nimport { render } from 'react-dom';\nimport ReactShadowScroll from 'react-shadow-scroll';\n\nconst App = () =\u003e (\n  \u003cReactShadowScroll\u003e\n    \u003cul\u003e\n      \u003cli\u003eTeste\u003c/li\u003e\n      \u003cli\u003eTeste\u003c/li\u003e\n      \u003cli\u003eTeste\u003c/li\u003e\n      \u003cli\u003eTeste\u003c/li\u003e\n    \u003c/ul\u003e\n  \u003c/ReactShadowScroll\u003e\n);\n\nrender(\u003cApp /\u003e, document.getElementById('root'));\n```\n\n## Properties\n\nRaw component props (before transform):\n\n| Prop              | Default                                                                   | Type    | Description             |\n| ----------------- | ------------------------------------------------------------------------- | ------- | ----------------------- |\n| scrollColor       | #c5c5c5                                                                   | string  | Scroll color            |\n| scrollColorHover  | #a6a6a6                                                                   | string  | Scroll color when hover |\n| scrollWidth       | 5                                                                         | number  | Scroll Width            |\n| scrollPadding     | 0                                                                         | number  | Left scroll padding     |\n| isShadow          | true                                                                      | boolean | View shadow             |\n| shadow            | '0 2px 4px rgba(0, 0, 0, 0.2) inset, 0 -2px 4px rgba(0, 0, 0, 0.2) inset' | string  | Shadow                  |\n| styleSubcontainer | null                                                                      | object  | Style in Subcontainer   |\n\n## NPM Statistics\n\nDownload stats for this NPM package\n\n[![NPM](https://nodei.co/npm/react-shadow-scroll.png)](https://nodei.co/npm/react-shadow-scroll/)\n\n## License\n\nReact Shadow Scroll is open source software [licensed as MIT](https://github.com/andrelmlins/react-shadow-scroll/blob/master/LICENSE).\n","funding_links":[],"categories":["UI Components"],"sub_categories":["Custom Scrollbar"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrelmlins%2Freact-shadow-scroll","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrelmlins%2Freact-shadow-scroll","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrelmlins%2Freact-shadow-scroll/lists"}