{"id":19406755,"url":"https://github.com/skipjack/react-banner","last_synced_at":"2025-07-21T12:02:27.877Z","repository":{"id":41423612,"uuid":"76908218","full_name":"skipjack/react-banner","owner":"skipjack","description":"A dynamic banner/header component.","archived":false,"fork":false,"pushed_at":"2020-11-11T01:45:12.000Z","size":3717,"stargazers_count":26,"open_issues_count":3,"forks_count":8,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-17T04:45:51.176Z","etag":null,"topics":["banner","component","header","mobile","react","search"],"latest_commit_sha":null,"homepage":"https://skipjack.github.io/react-banner/","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/skipjack.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2016-12-20T00:23:25.000Z","updated_at":"2024-09-07T14:30:52.000Z","dependencies_parsed_at":"2022-09-21T08:25:15.651Z","dependency_job_id":null,"html_url":"https://github.com/skipjack/react-banner","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/skipjack/react-banner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skipjack%2Freact-banner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skipjack%2Freact-banner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skipjack%2Freact-banner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skipjack%2Freact-banner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skipjack","download_url":"https://codeload.github.com/skipjack/react-banner/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skipjack%2Freact-banner/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266087393,"owners_count":23874502,"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":["banner","component","header","mobile","react","search"],"created_at":"2024-11-10T11:43:15.997Z","updated_at":"2025-07-21T12:02:27.849Z","avatar_url":"https://github.com/skipjack.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![NPM Version][7]][5]\n[![Standard Version][8]][6]\n\nreact-banner\n============\n\nA flexible banner component, available as a react plugin.\n\n\n## Installation\n\nThis component can be installed from npm:\n\n``` bash\nnpm install react-banner\n```\n\nYou can also grab the minified JavaScript and CSS straight from `/dist` and \ninclude it with a `\u003cscript\u003e` tag.\n\n\n## Usage\n\nThe following example shows the most basic setup possible. Note that it \nassumes a webpack environment, with a pre-processor like [babel][1] enabled to \nallow ES6+ and JSX...\n\n``` js\nimport React from 'react'\nimport Banner from 'react-banner'\nimport 'react-banner/dist/style.css'\n\nconst Example = props =\u003e {\n    return (\n        \u003cBanner\n            logo=\"React Banner\"\n            url={ window.location.pathname }\n            items={[\n                { \"content\": \"Example Link\", \"url\": \"/example\" },\n                { \"content\": \"Another\", \"url\": \"/another\" },\n                {\n                    \"content\": \"Link w/ Children\",\n                    \"url\": \"/children\",\n                    \"children\": [\n                        { \"content\": \"John\", \"url\": \"/children/john\" },\n                        { \"content\": \"Jill\", \"url\": \"/children/jill\" },\n                        { \"content\": \"Jack\", \"url\": \"/children/jack\" }\n                    ]\n                }\n            ]}\n        /\u003e\n    )\n}\n```\n\nSee the [full documentation][2] for more in-depth usage, demos, and examples \non how to integrate it with other open-source react components like \n[react-headroom][3] and [react-sidebar][4].\n\n\n[1]: https://babeljs.io/\n[2]: https://skipjack.github.io/react-banner/\n[3]: https://skipjack.github.io/react-banner/integration/headroom\n[4]: https://skipjack.github.io/react-banner/integration/sidebar\n[5]: https://www.npmjs.com/package/react-banner\n[6]: https://github.com/conventional-changelog/standard-version\n[7]: https://img.shields.io/npm/v/react-banner.svg\n[8]: https://img.shields.io/badge/release-standard%20version-brightgreen.svg","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskipjack%2Freact-banner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskipjack%2Freact-banner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskipjack%2Freact-banner/lists"}