{"id":18866422,"url":"https://github.com/quenice/react-native-cardview","last_synced_at":"2025-06-11T23:03:20.014Z","repository":{"id":32944249,"uuid":"146879867","full_name":"quenice/react-native-cardview","owner":"quenice","description":"A react-native library for cardview","archived":false,"fork":false,"pushed_at":"2020-08-06T11:44:54.000Z","size":220,"stargazers_count":21,"open_issues_count":4,"forks_count":9,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-25T18:05:03.887Z","etag":null,"topics":["android","cardview","ios","react-native"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/quenice.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-31T10:52:29.000Z","updated_at":"2024-11-09T01:37:26.000Z","dependencies_parsed_at":"2022-08-07T18:30:23.327Z","dependency_job_id":null,"html_url":"https://github.com/quenice/react-native-cardview","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/quenice/react-native-cardview","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quenice%2Freact-native-cardview","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quenice%2Freact-native-cardview/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quenice%2Freact-native-cardview/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quenice%2Freact-native-cardview/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/quenice","download_url":"https://codeload.github.com/quenice/react-native-cardview/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quenice%2Freact-native-cardview/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259360728,"owners_count":22845817,"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":["android","cardview","ios","react-native"],"created_at":"2024-11-08T05:06:30.183Z","updated_at":"2025-06-11T23:03:19.992Z","avatar_url":"https://github.com/quenice.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# react-native-card-view\n\n## Getting started\n\n`$ npm install react-native-rn-cardview --save`\n\n### Mostly automatic installation\n\n`$ react-native link react-native-rn-cardview`\n\n### Manual installation\n\n\n#### iOS\n\n\u003e no need link\n\n#### Android\n\n1. Open up `android/app/src/main/java/[...]/MainActivity.java`\n  - Add `import com.quenice.reactnative.RNCardViewPackage;` to the imports at the top of the file\n  - Add `new RNCardViewPackage()` to the list returned by the `getPackages()` method\n2. Append the following lines to `android/settings.gradle`:\n  \t```\n  \tinclude ':react-native-rn-cardview'\n  \tproject(':react-native-rn-cardview').projectDir = new File(rootProject.projectDir, \t'../node_modules/react-native-rn-cardview/android')\n  \t```\n3. Insert the following lines inside the dependencies block in `android/app/build.gradle`:\n  \t```\n      compile project(':react-native-rn-cardview')\n  \t```\n\n\n## Usage\n\n### example\n```javascript\n\n/**\n * Sample React Native CardView\n *\n */\nimport React, {Component} from 'react';\nimport {Platform, StyleSheet, Text, View} from 'react-native';\nimport CardView from 'react-native-rn-cardview'\n\n\nexport default class App extends Component {\n    render() {\n        return (\n\t\t\t\t\u003cCardView cardElevation={4}\n                          maxCardElevation={4}\n                          radius={10}\n                          backgroundColor={'#ffffff'}\u003e\n                    \u003cView style={{padding:10}}\u003e\n                        \u003cView\u003e\n                            \u003cText\u003eReactNative CardView for iOS and Android\u003c/Text\u003e\n                        \u003c/View\u003e\n                        \u003cView\u003e\n                            \u003cText\u003eThis is test\u003c/Text\u003e\n                        \u003c/View\u003e\n                    \u003c/View\u003e\n                \u003c/CardView\u003e\n        );\n    }\n}\n\n```\n### screenshots\n#### iOS\n![iOS](https://github.com/quenice/react-native-cardview/raw/master/screenshots/ios.png)\n#### android\n![android](https://github.com/quenice/react-native-cardview/raw/master/screenshots/android.png)\n\n## Attributes\nName | Type | Desc\n---|---|---\ncardElevation | Number | the elevation of the card view\nmaxCardElevation | Number | if not set, equals the ``` cardElevation ``` default\nradius | Number | the border radius of the card view\nbackgroundColor | String | the background color of the card view\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquenice%2Freact-native-cardview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquenice%2Freact-native-cardview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquenice%2Freact-native-cardview/lists"}