Animated Category Card For React Native

Animated Category Card For React Native

Animated Category Card For React Native .Fully customizable category card.

React Native Category Card

Demo

React Native Category Card Library

React Native Category Cards | React Native Category Card |

Installation

Add the dependency:

npm i react-native-category-card

Peer Dependencies

IMPORTANT! You need install them

"react": ">= 16.x.x",
"react-native": ">= 0.55.x",
"react-native-androw": ">= 0.0.34",
"react-native-linear-gradient": ">= 2.5.6",
"@freakycoder/react-native-helpers": ">= 0.1.3",
"@freakycoder/react-native-custom-text": ">= 0.0.12",
"@freakycoder/react-native-bounceable": ">= 0.1.1"

Usage

Import

import CategoryCard from "react-native-category-card";

CategoryCard Usage

<CategoryCard onPress={() => console.log("Fruits")} />
<CategoryCard
  titleText={"Meat & Poultry"}
  customDescriptionComponent={<Text fontSize={20}>Butcher</Text>}
  count={1}
  gradientColors={["#FAF9D1", "#EECA66", "#E8B730"]}
  imageSource={require("./lib/assets/meat.png")}
  onPress={() => console.log("Meat & Poultry")}
/>
<CategoryCard
  titleText="Books"
  borderRadius={16}
  disableDescriptionText={true}
  count={3}
  gradientColors={["#F4A09C", "#EE8F66", "#E83A30"]}
  imageSource={require("./lib/asset/book.png")}
  onPress={() => console.log("Books")}
/>

Configuration - Props

Property Type Default Description
shadowStyle style fdf change the shadowStyle
shadowColor string '#757575' change the shadowColor
height number 80 change the containers height
width number ScreenWidth * 0.8 change the the containers width
borderRadius number 32 change the the containers borderRadius
backgroundColor string '#fff' change the containers backgroundColor
gradientColors array ['#9CF4DF', '#30C9E8', '#107C91'] change the Linear Gradient Colors
imageStyle style default change the left image style
imageSource asset default change the image source
customImageComponent component default set your own custom component instead of default Image one
titleText style default change the title text
customTitleTextComponent component default set your own custom component instead of default Text one
disableDescriptionText boolean false change the disable description text
descriptionText string change the description text
customDescriptionComponent component default set your own custom component instead of default Text one
count number 10 change the count
disableCountContainer boolean false change the disable count container
customCountTextComponent component default set your own custom component instead of default Text one
onPress function () set your own function when onPress
rightButtonImageSource asset default change the right button image source
buttonImageStyle style default change the button image style

Future Plans

  • LICENSE

Change Log

Change log will be here !

Author

Sevval Eygul, [email protected]

Download Details:

Author: sevvaleygul0

Source Code: https://github.com/sevvaleygul0/react-native-category-card

react-native react mobile-apps

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

How native is React Native? | React Native vs Native App Development

Article covers: How native is react native?, React Native vs (Ionic, Cordova), Similarities and difference between React Native and Native App Development.

React Native Mobile App Development

Skenix is providing React Native Development Services with qualified React Native App Developers. Get the best React Native App Development Services.

How React Native Is Shaping Mobile App Development

Are you a mobile app developer looking for more efficient tools for your projects? Mobile app development is getting tougher and tougher as the market continues to grow. As a developer, you need to develop Apps which meet the demands of your users. To achieve this, adopt the right tools, like the React Native development framework.

Top React Native Mobile App Development Companies in USA

Looking for top React Native mobile app development company in USA for Startups & Enterprise? Find out the top list of React Native mobile app development company in USA.

Which is the best React Native app development company in New York?

Hire top react native app development company in New York to build and develop custom react native mobile apps for Android & iOS with the latest features.