{"id":15097936,"url":"https://github.com/ionic-team/ionic-ion-tinder-cards","last_synced_at":"2025-10-22T20:09:28.933Z","repository":{"id":19425289,"uuid":"22667909","full_name":"ionic-team/ionic-ion-tinder-cards","owner":"ionic-team","description":"Add Tinder-style card swiping to any app with this simple Ionic Ion.","archived":true,"fork":false,"pushed_at":"2016-03-22T19:40:00.000Z","size":9544,"stargazers_count":389,"open_issues_count":29,"forks_count":146,"subscribers_count":42,"default_branch":"master","last_synced_at":"2025-10-01T22:34:14.195Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/ionic-team.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":"2014-08-06T03:08:18.000Z","updated_at":"2025-02-04T04:54:47.000Z","dependencies_parsed_at":"2022-08-31T00:30:47.964Z","dependency_job_id":null,"html_url":"https://github.com/ionic-team/ionic-ion-tinder-cards","commit_stats":null,"previous_names":["driftyco/ionic-contrib-tinder-cards","driftyco/ionic-ion-tinder-cards"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ionic-team/ionic-ion-tinder-cards","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ionic-team%2Fionic-ion-tinder-cards","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ionic-team%2Fionic-ion-tinder-cards/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ionic-team%2Fionic-ion-tinder-cards/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ionic-team%2Fionic-ion-tinder-cards/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ionic-team","download_url":"https://codeload.github.com/ionic-team/ionic-ion-tinder-cards/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ionic-team%2Fionic-ion-tinder-cards/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278885168,"owners_count":26062837,"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","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-09-25T16:41:30.597Z","updated_at":"2025-10-08T03:30:54.821Z","avatar_url":"https://github.com/ionic-team.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Ionic Contrib: Tinder Cards\n===================\n\nSwipeable card based layout for Ionic and Angular. As seen in apps like [Tinder](http://www.gotinder.com/)  \nNote: There is also a similar ion library here: https://github.com/driftyco/ionic-ion-swipe-cards where you swipe the cards down instead of left or right.\n\n[Demo](http://codepen.io/ionic/pen/nxEdH)\n\n## Install\n\n`bower install ionic-contrib-tinder-cards`\n\n## Usage\n\nInclude `ionic.tdcards.js`, `collide.js` and `ionic.tdcards.css` after the rest of your Ionic and Angular includes. Add `ionic.contrib.ui.tinderCards` as a module dependency of your app. Then use the following AngularJS directives:\n\n```html\n\u003ctd-cards\u003e\n  \u003ctd-card ng-repeat=\"card in cards\" on-destroy=\"cardDestroyed($index)\" on-swipe=\"cardSwiped($index)\"\u003e\n    Card content here\n  \u003c/td-card\u003e\n\u003c/td-cards\u003e\n```\n\nTo add new cards dynamically, just add them to the cards array:\n\n```javascript\n$scope.cards = [\n  { // card 1 },\n  { // card 2 }\n];\n\n$scope.cardDestroyed = function(index) {\n  $scope.cards.splice(index, 1);\n};\n\n$scope.cardSwiped = function(index) {\n  var newCard = // new card data\n  $scope.cards.push(newCard);\n};\n```\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fionic-team%2Fionic-ion-tinder-cards","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fionic-team%2Fionic-ion-tinder-cards","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fionic-team%2Fionic-ion-tinder-cards/lists"}