All Projects → dondoko-susumu → react-native-card-media

dondoko-susumu / react-native-card-media

Licence: MIT License
Card Media component for React Native

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to react-native-card-media

CheckMarkView
UI view which draws programmatically a checkmark with different styles
Stars: ✭ 35 (-48.53%)
Mutual labels:  ui-components
react-awesome-notifications
A beautiful fully customizable React + Redux notification system built with styled-components
Stars: ✭ 29 (-57.35%)
Mutual labels:  ui-components
maxLibQt
A collection of C++ classes and QtQuick QML components for use with the Qt framework.
Stars: ✭ 18 (-73.53%)
Mutual labels:  ui-components
flextreemap
TreeMap data visualization component for Adobe Flex
Stars: ✭ 22 (-67.65%)
Mutual labels:  ui-components
native-kitchensink
📱 Playground for ReactiveSearch Native components
Stars: ✭ 46 (-32.35%)
Mutual labels:  ui-components
react-simple-infinite-loading
A list that infinitely loads content as user scrolls down in React
Stars: ✭ 56 (-17.65%)
Mutual labels:  ui-components
wlui
wl-ui 精美易用的前端复杂组件解决方案。Beautiful and easy-to-use front-end complex component solution
Stars: ✭ 32 (-52.94%)
Mutual labels:  ui-components
PuiSegmentedControl
PuiSegmentedControl is a customizable for segmented control.
Stars: ✭ 19 (-72.06%)
Mutual labels:  ui-components
evolution-ui
Cutting Edge UI Components for Modern Developers
Stars: ✭ 30 (-55.88%)
Mutual labels:  ui-components
demo-tailwindcss
🎐 TailwindCSS 2 + Oruga demo
Stars: ✭ 15 (-77.94%)
Mutual labels:  ui-components
svelteit
Svelteit is a minimalistic UI/UX component library for Svelte and Sapper projects
Stars: ✭ 64 (-5.88%)
Mutual labels:  ui-components
ng-mono-repo-starter
Angular Mono Repo Starter
Stars: ✭ 79 (+16.18%)
Mutual labels:  ui-components
awesome-cocoa
A curated list of awesome Cocoa controls for iOS, watchOS and macOS
Stars: ✭ 56 (-17.65%)
Mutual labels:  ui-components
phoenix component folders
Reusable UI components on Phoenix framework
Stars: ✭ 31 (-54.41%)
Mutual labels:  ui-components
pearl-ui
Pearl UI is a powerful UI toolkit that helps you build beautiful production-ready mobile apps right out of the box ⚡️
Stars: ✭ 19 (-72.06%)
Mutual labels:  ui-components
dashkit-ui
UI Components built on React.
Stars: ✭ 17 (-75%)
Mutual labels:  ui-components
SwimplyPlayIndicator
Animated PlayIndicator written in SwiftUI. Inspired by Apple's Music Player.
Stars: ✭ 52 (-23.53%)
Mutual labels:  ui-components
svelte-flat-ui
Flat UI Independent JS Components + English Docs =
Stars: ✭ 45 (-33.82%)
Mutual labels:  ui-components
merakiui
Tailwind CSS components that support RTL languages & fully responsive based on Flexbox & CSS Grid with elegant Dark Mode 🚀 ☄️.
Stars: ✭ 1,185 (+1642.65%)
Mutual labels:  ui-components
FDTextFieldTableViewCell
A UITableViewCell with an editable text field
Stars: ✭ 24 (-64.71%)
Mutual labels:  ui-components

react-native-card-media

Card Media component for React Native. Also supports multiple image layout.

single & double

single & double

three & four

three & four

five

five

Installation

npm install react-native-card-media --save

Examples

CardMediaExample

Usage

const files5 = [
  `${path}kids_play_640.jpeg`,
  `${path}road_640.jpg`,
  `${path}women_640.jpeg`,
  `${path}sea_kids_640.jpeg`,
  `${path}temple_640.jpeg`,
];

<CardMedia
  files={files5}
  style={{ height: 200 }}
  title="Title"
  showTitle={false}
  titleStyle={{ fontSize: 24, fontWeight: '400', lineHeight: 32, color: '#fafafa' }}
  onPress={(fileIndex) => this.onPress(fileIndex)}
  imageIconView={this.renderImageIconView}
  imageCountStyle={{ fontSize: 20, fontWeight: '500', lineHeight: 28, color: '#fafafa' }}
  imageTouchable={false}
/>

Props

Prop Description Type Default
files Media lists Array Required
style CardView style View Style Object undefined
title Title text is shown at below part of card String undefined
showTitle Title is shown or not Boolean true
titleStyle Title style View Style Object undefined
onPress Action is called when click in card
you can pass the file index as an argument
Function undefined
imageIconView Icon is shown near title Component undefined
imageCountStyle Icon style View Style Object undefined
imageTouchable Images in card is clickable or not Boolean true

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].