{"id":13666516,"url":"https://github.com/baianat/hooper","last_synced_at":"2025-04-04T16:14:33.751Z","repository":{"id":34116205,"uuid":"156580654","full_name":"baianat/hooper","owner":"baianat","description":"🎠 A customizable accessible carousel slider optimized for Vue","archived":false,"fork":false,"pushed_at":"2022-12-10T19:27:13.000Z","size":2280,"stargazers_count":717,"open_issues_count":116,"forks_count":133,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-28T15:07:14.319Z","etag":null,"topics":["carousel","carousel-component","carousel-slider","hooper","slide","slider","vue","vuejs"],"latest_commit_sha":null,"homepage":"https://baianat.github.io/hooper/","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/baianat.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":"2018-11-07T17:04:03.000Z","updated_at":"2025-02-28T03:02:38.000Z","dependencies_parsed_at":"2023-01-15T04:45:34.916Z","dependency_job_id":null,"html_url":"https://github.com/baianat/hooper","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baianat%2Fhooper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baianat%2Fhooper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baianat%2Fhooper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baianat%2Fhooper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/baianat","download_url":"https://codeload.github.com/baianat/hooper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247208145,"owners_count":20901570,"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":["carousel","carousel-component","carousel-slider","hooper","slide","slider","vue","vuejs"],"created_at":"2024-08-02T06:01:19.655Z","updated_at":"2025-04-04T16:14:33.735Z","avatar_url":"https://github.com/baianat.png","language":"JavaScript","funding_links":[],"categories":["UI Components [🔝](#readme)","Vue","JavaScript","Components \u0026 Libraries","UI Components"],"sub_categories":["Sliders","UI Components","Carousel"],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://baianat.github.io/hooper/\" target=\"_blank\"\u003e\n    \u003cimg width=\"400\" alt=\"leaps logo\" src=\"https://github.com/baianat/hooper/blob/master/hooper.svg\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"http://isitmaintained.com/project/baianat/hooper\"\u003e\u003cimg src=\"http://isitmaintained.com/badge/resolution/baianat/hooper.svg\" alt=\"Average time to resolve an issue\"/\u003e\u003c/a\u003e\n  \u003ca href=\"http://isitmaintained.com/project/baianat/hooper\"\u003e\u003cimg src=\"http://isitmaintained.com/badge/open/baianat/hooper.svg\" alt=\"Percentage of issues still open\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://npm-stat.com/charts.html?package=hooper\"\u003e\u003cimg src=\"https://img.shields.io/npm/dm/hooper.svg\" alt=\"npm\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/hooper\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/hooper.svg\" alt=\"npm\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\n# Hooper\n\nVue.js carousel component, optimized to work with Vue.\n\n## Features\n\n* Easily customizable through rich API and addons.\n* Touch, Keyboard, Mouse Wheel, and Navigation support.\n* Two way control carousels (sync).\n* Full RTL layout support.\n* Supports vertical sliding.\n* Responsive breakpoints.\n* Seamless infinite scroll.\n* Accessible by providing a robust structure and user control.\n* Optimized to work with Vue framework.\n* SSR Support.\n\n## Browser Support\n| ![Chrome](https://raw.github.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png) | ![Firefox](https://raw.github.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png) | ![Safari](https://raw.github.com/alrra/browser-logos/master/src/safari/safari_48x48.png) | ![Opera](https://raw.github.com/alrra/browser-logos/master/src/opera/opera_48x48.png) | ![Edge](https://raw.github.com/alrra/browser-logos/master/src/edge/edge_48x48.png) | ![IE](https://raw.github.com/alrra/browser-logos/master/src/archive/internet-explorer_9-11/internet-explorer_9-11_48x48.png) |\n| --- | --- | --- | --- | --- | --- |\n| Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | 11 ✔ |\n\n## Getting started\n\n### Installation\n\nFirst step is to install it using `yarn` or `npm`:\n\n```bash\nnpm install hooper\n\n# or use yarn\nyarn add hooper\n```\n\n### Use Hooper\n\n```vue\n\u003ctemplate\u003e\n  \u003chooper\u003e\n    \u003cslide\u003e\n      slide 1\n    \u003c/slide\u003e\n    \u003cslide\u003e\n      slide 2\n    \u003c/slide\u003e\n    ...\n  \u003c/hooper\u003e\n\u003c/template\u003e\n\n\u003cscript\u003e\n  import { Hooper, Slide } from 'hooper';\n  import 'hooper/dist/hooper.css';\n\n  export default {\n    name: 'App',\n    components: {\n      Hooper,\n      Slide\n    }\n  }\n\u003c/script\u003e\n```\n\n\u003e If you are using [PurgeCSS](https://www.purgecss.com/), make sure to whitelist hooper css When importing `hooper/dist/hooper.css`.\n\nmore info at [Documentation](https://baianat.github.io/hooper/)\n\n### Available Props\n\n|Prop             |Default |Description|\n|-----------------|-----|-----------|\n|`itemsToShow`    |1    |count of items to showed per view  (can be a fraction).|\n|`itemsToSlide`   |1    |count of items to slide when use navigation buttons.|\n|`initialSlide`   |0    |index number of initial slide.|\n|`infiniteScroll` |false|enable infinite scrolling mode.|\n|`centerMode`     |false|enable center mode.|\n|`vertical`       |false|enable vertical sliding mode.|\n|`rtl`            |null |enable rtl mode.|\n|`mouseDrag`      |true |toggle mouse dragging.|\n|`touchDrag`      |true |toggle touch dragging.|\n|`wheelControl`   |true |toggle mouse wheel sliding.|\n|`keysControl`    |true |toggle keyboard control.|\n|`shortDrag`      |true |enable any move to commit a slide.|\n|`autoPlay`       |false|enable auto sliding to carousel. This could be changed dynamically.|\n|`playSpeed`      |2000 |speed of auto play to trigger slide in ms.|\n|`transition`     |300  |sliding transition time in ms.|\n|`sync`           |''   |sync two carousels to slide together.|\n|`hoverPause`     |true |pause autoPlay if the mouse enters the slide.|\n|`trimWhiteSpace` |false|limit carousel to slide only when there will be no completely empty slide-space.|\n|`settings`       |{ }  |an object to pass all settings.|\n\n### Available CSS Properties\n\nPlease also look at the source to style the slider. An initial style can be imported as\n`@import '~hooper/dist/hooper.css';`\n\n|Class            | Property | Default | Description|\n|-----------------|----------|---------|------------|\n|`hooper`         | `height` | 200px   | the default height of the slider, set to auto to scale with content\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaianat%2Fhooper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbaianat%2Fhooper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaianat%2Fhooper/lists"}