{"id":16487389,"url":"https://github.com/tjenkinson/dynamic-marquee-react","last_synced_at":"2025-03-16T18:31:48.714Z","repository":{"id":142175670,"uuid":"612597748","full_name":"tjenkinson/dynamic-marquee-react","owner":"tjenkinson","description":"A `\u003cMarquee /\u003e` component for React.","archived":false,"fork":false,"pushed_at":"2025-03-15T10:24:41.000Z","size":949,"stargazers_count":6,"open_issues_count":10,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-16T12:07:40.752Z","etag":null,"topics":["animation","casparcg","component","graphics","marquee","react","reactjs","scroller"],"latest_commit_sha":null,"homepage":"https://dynamic-marquee-react.tjenkinson.dev","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tjenkinson.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-11T12:29:54.000Z","updated_at":"2025-03-10T06:32:00.000Z","dependencies_parsed_at":"2024-10-08T14:09:50.950Z","dependency_job_id":"6bc055e8-b6ef-4f0b-a058-7b22118efd26","html_url":"https://github.com/tjenkinson/dynamic-marquee-react","commit_stats":{"total_commits":356,"total_committers":2,"mean_commits":178.0,"dds":0.0589887640449438,"last_synced_commit":"55ee5e268bdfa5013419e11072490cbe71a1e990"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tjenkinson%2Fdynamic-marquee-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tjenkinson%2Fdynamic-marquee-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tjenkinson%2Fdynamic-marquee-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tjenkinson%2Fdynamic-marquee-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tjenkinson","download_url":"https://codeload.github.com/tjenkinson/dynamic-marquee-react/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243910667,"owners_count":20367546,"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":["animation","casparcg","component","graphics","marquee","react","reactjs","scroller"],"created_at":"2024-10-11T13:34:04.426Z","updated_at":"2025-03-16T18:31:47.617Z","avatar_url":"https://github.com/tjenkinson.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dynamic Marquee React\n\nA `\u003cMarquee /\u003e` component for React.\n\nUses \"[dynamic-marquee](https://github.com/tjenkinson/dynamic-marquee)\" under the hood.\n\nFeatures:\n\n- You can change the rate on the fly.\n- Direction can either be up/down or right/left.\n- Width/height of items and container is allowed to change.\n\n## Demo\n\n[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/tjenkinson/dynamic-marquee-react/tree/main/demo?title=Dynamic%20Marquee%20React%20Demo\u0026file=src%2Fmain.tsx)\n\nor [view a deployed demo](https://dynamic-marquee-react.tjenkinson.dev/).\n\nView the code in \"[demo](./demo)\".\n\n## Installation\n\n```\nnpm install --save dynamic-marquee-react\n```\n\n## Usage\n\n```jsx\nimport React from 'react';\nimport { Marquee } from 'dynamic-marquee-react';\n\nexport default function MyMarquee() {\n  return (\n    \u003cMarquee\u003e\n      \u003cdiv\u003eItem 1\u003c/div\u003e\n      \u003cdiv\u003eItem 2\u003c/div\u003e\n      \u003cdiv\u003eItem 3\u003c/div\u003e\n    \u003c/Marquee\u003e\n  );\n}\n```\n\nThere are also the following props:\n\n- `rate`: pixels/s. _Default: `-25`_\n- `upDown`: Switch the direction to up/down instead of left/right. If this is enabled make sure your container has a height set. _Default: `false`_\n- `startOnScreen`: Start with the marquee full of items. _Default: `false`_\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftjenkinson%2Fdynamic-marquee-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftjenkinson%2Fdynamic-marquee-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftjenkinson%2Fdynamic-marquee-react/lists"}