{"id":13517118,"url":"https://github.com/diogomoretti/react-snakke","last_synced_at":"2025-05-16T00:03:22.807Z","repository":{"id":34274917,"uuid":"174236375","full_name":"diogomoretti/react-snakke","owner":"diogomoretti","description":"🐍 Reading position indicator for React","archived":false,"fork":false,"pushed_at":"2024-12-16T13:05:37.000Z","size":764,"stargazers_count":302,"open_issues_count":0,"forks_count":12,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-10T14:04:27.218Z","etag":null,"topics":["progress-bar","react","react-component"],"latest_commit_sha":null,"homepage":"https://diogomoretti.github.io/react-snakke","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/diogomoretti.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","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":"2019-03-06T23:24:36.000Z","updated_at":"2024-12-16T13:05:41.000Z","dependencies_parsed_at":"2025-02-24T10:20:55.145Z","dependency_job_id":null,"html_url":"https://github.com/diogomoretti/react-snakke","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diogomoretti%2Freact-snakke","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diogomoretti%2Freact-snakke/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diogomoretti%2Freact-snakke/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diogomoretti%2Freact-snakke/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/diogomoretti","download_url":"https://codeload.github.com/diogomoretti/react-snakke/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254442854,"owners_count":22071877,"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":["progress-bar","react","react-component"],"created_at":"2024-08-01T05:01:30.024Z","updated_at":"2025-05-16T00:03:22.606Z","avatar_url":"https://github.com/diogomoretti.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./logo.png\" alt=\"React Snakke\" width=\"500\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n   \u003ca href=\"https://www.npmjs.com/package/react-snakke\"\u003e\u003cimg alt=\"npm\" src=\"https://img.shields.io/npm/v/react-snakke.svg?style=for-the-badge\"\u003e\u003c/a\u003e \u003ca href=\"https://standardjs.com\"\u003e\u003cimg src=\"https://img.shields.io/badge/code_style-standard-brightgreen.svg?style=for-the-badge\" alt=\"JavaScript Style Guide\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## Install\n\n#### npm\n```bash\nnpm install --save react-snakke\n```\n\n#### yarn\n```bash\nyarn add react-snakke\n```\n\n## Usage\n\n#### default\n\n```jsx\nimport React from 'react'\n\nimport Snakke from 'react-snakke'\n\nexport default function Example () {\n  return (\n    \u003cSnakke /\u003e\n  )\n}\n```\n\n#### with custom values\n\n```jsx\nimport React from 'react'\n\nimport Snakke from 'react-snakke'\n\nexport default function Example () {\n  return (\n    \u003cSnakke\n      color='#f0f'\n      top='20px'\n      height='3px'\n      opacity='.8'\n      zIndex='10'\n      shadow\n    /\u003e\n  )\n}\n```\n\n## Options / Props\n\n| Prop    | Type   | Default value | Required | Description                       |\n|---------|--------|---------------|----------|-----------------------------------|\n| color   | String | #000          | false    | Set progress bar background color |\n| height  | String | 5px           | false    | Set height of progress bar        |\n| opacity | String | 1             | false    | Set opacity from 0 to 1           |\n| top | String | 0             | false    | Set distance from top of page           |\n| zIndex  | String | 9999          | false    | Set value based on css z-index property    |\n| shadow  | Boolean | false          | false    | Progress bar with or without shadow    |\n\n## License\n\nMIT © [Diogo Moretti](https://github.com/diogomoretti)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiogomoretti%2Freact-snakke","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiogomoretti%2Freact-snakke","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiogomoretti%2Freact-snakke/lists"}