Coder Social home page Coder Social logo

wrathchaos / react-native-imaged-card-view Goto Github PK

View Code? Open in Web Editor NEW
22.0 3.0 4.0 25.48 MB

Rising Imaged Card View with Awesome Shadows and Fully Customizable Library for React Native

Home Page: https://www.freakycoder.com

License: MIT License

JavaScript 50.70% Java 8.53% Ruby 10.80% Objective-C 20.49% Starlark 9.48%
card-view card material material-design ios android react-native react reactjs customizable

react-native-imaged-card-view's Introduction

React Native Imaged Card View

Battle Tested โœ…

Rising Imaged Card View with Awesome Shadows and Fully Customizable Library for React Native

npm version npm Platform - Android and iOS License: MIT styled with prettier

React Native Imaged Card View React Native Imaged Card View

Installation

Add the dependency:


React Native:

npm i react-native-imaged-card-view

Peer Dependencies

IMPORTANT! You need install them.
"react": ">= 16.8.6",
"react-native": ">= 0.60.5",
"react-native-androw": ">= 0.0.33",
"react-number-format": ">= 4.2.0",
"react-native-star-review": ">= 0.0.23",
"react-native-vector-icons": ">= 6.6.0",
"react-native-dynamic-vector-icons": ">= 0.2.1"

Usage

Import

import ImagedCardView from "react-native-imaged-card-view";

Basic Usage

<ImagedCardView />

Fully Customizable Usage

<ImagedCardView
  stars={5}
  reviews={456}
  ratings={4.5}
  title="Yosemite"
  rightSideValue="$990"
  subtitle="California"
  leftSideValue="3 Days"
  backgroundColor="#ff6460"
  source={{
    uri: yosemite
  }}
/>

Configuration - Props

Property Type Default Description
width number ScreenWidth * 0.75 change the width of the card
height number 170 change the height of the card
title string Island Bali set your own title
subtitle string Indonesia set your own subtitle
borderRadius number 24 change the border radius of the card
titleColor color white change the title text's color
subtitleColor color "#dbdbdb" change the subtitle text's color
backgroundColor color "#0a96ea" change the card's background color
leftSideTitle string Days set your own title for left sided one
leftSideValue string 4 days set your own title's value for left sided one
leftSideColor color white set your color for left sided title
leftSideValueColor color white set your color for left sided value
rightSideTitle string Price set your own title for right sided one
rightSideValue string $1500 set your own title's value for right sided one
rightSideColor color white set your color for right sided title
rightSideValueColor color white set your color for right sided value
dividerColor color "#c4c4c4" set your color for divider
onPress function undefined set your own function for onPress

React Native Star Review Props

Please check out React Native Star Review for StarReview Props It is also fully customizable

Future Plans

  • LICENSE
  • Write an article about the lib on Medium

Change Log

Change log will be here !

Credits

I inspired the design by Olivia Graphics. Thank you for this awesome design :)

Author

FreakyCoder, [email protected]

License

React Native Imaged Card View is available under the MIT license. See the LICENSE file for more info.

react-native-imaged-card-view's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.