All Projects → kristerkari → react-native-svg-example

kristerkari / react-native-svg-example

Licence: other
A simple example app that shows how you can use SVG files in React Native

Programming Languages

java
68154 projects - #9 most used programming language
javascript
184084 projects - #8 most used programming language
objective c
16641 projects - #2 most used programming language
Starlark
911 projects
ruby
36898 projects - #4 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to react-native-svg-example

Cakephp Realworld Example App
Stars: ✭ 103 (+232.26%)
Mutual labels:  demo-app
Swift project
原OC项目用swift实现,纯swift项目,可作为学习swift的demo,包含多个自定义控件,并且进行封装网络请求库,结构清晰。
Stars: ✭ 133 (+329.03%)
Mutual labels:  demo-app
Chatify Demo
Chatify Laravel Package Demo application
Stars: ✭ 189 (+509.68%)
Mutual labels:  demo-app
Cameraxdemo
A sample camera app with CameraX API from Android Jetpack
Stars: ✭ 112 (+261.29%)
Mutual labels:  demo-app
Todayx
🌈Flutter App:🎊「今日份的X」(每天推荐一个:图片、诗歌、名言、音乐、乐评、高等数学、两种配色、化学方程式、Github Repo、知乎问题、文章)
Stars: ✭ 128 (+312.9%)
Mutual labels:  demo-app
Redux React Navigation Demos
React-Native + Redux + Redux-Persist + React Navigation ( Authentication Flow with Redux demos)
Stars: ✭ 151 (+387.1%)
Mutual labels:  demo-app
Recyclerviewdemo
Demo showing the basics to advanced use cases of Android RecyclerView
Stars: ✭ 92 (+196.77%)
Mutual labels:  demo-app
Bottomsheet
BottomSheet dialog library for Android
Stars: ✭ 219 (+606.45%)
Mutual labels:  demo-app
Fullscreencamera
A Full Screen Camera App written in Swift
Stars: ✭ 131 (+322.58%)
Mutual labels:  demo-app
Estmusicplayer
An elegant and simple iOS music player.
Stars: ✭ 2,165 (+6883.87%)
Mutual labels:  demo-app
Dwwxpay
微信支付/订单查询
Stars: ✭ 122 (+293.55%)
Mutual labels:  demo-app
Searchviewsample
Sample app for Android SearchView with circular reveal animation like whatsapp
Stars: ✭ 125 (+303.23%)
Mutual labels:  demo-app
Weapp demos
持续更新中的微信小程序和小游戏的源码案例库。目前涵盖了120多个微信小程序或小游戏。
Stars: ✭ 2,466 (+7854.84%)
Mutual labels:  demo-app
All In One
👔 Health care application for reminding health-todo lists and making healthy habits every day.
Stars: ✭ 109 (+251.61%)
Mutual labels:  demo-app
Openui5 Sample App
OpenUI5 Sample App
Stars: ✭ 193 (+522.58%)
Mutual labels:  demo-app
Circleci Demo Python Django
Example Django application running on CircleCI
Stars: ✭ 100 (+222.58%)
Mutual labels:  demo-app
Realm Draw
The official Realm Draw app used in promotional videos
Stars: ✭ 150 (+383.87%)
Mutual labels:  demo-app
Realmcontent
Light Realm-powered content management system
Stars: ✭ 237 (+664.52%)
Mutual labels:  demo-app
Hello Kubernetes
Provides a demo app to deploy to a Kubernetes cluster. It displays a message, the name of the pod and details of the node it's deployed to.
Stars: ✭ 193 (+522.58%)
Mutual labels:  demo-app
Textdetection
Vision Framework Demo on Text Detection
Stars: ✭ 173 (+458.06%)
Mutual labels:  demo-app

React Native SVG demo

Platform - Android, iOS and Web contributions welcome

A simple example app that shows how you can use SVG files in React Native.

The SVG images used in this app can be found from the logos folder.

How does it work?

The .svg files can be imported inside a React component:

import Logo from "./logo.svg";

The images can then be used as a component:

<Logo width={120} height={40} />

Try it

Step 1: Install depencies to run React Native

Make sure that you have react-native-cli installed (npm install -g react-native-cli) and XCode (for iOS development) / Android Studio (for Android development) installed and working.

Step 2: Clone the repo and move to project

git clone [email protected]:kristerkari/react-native-svg-example.git
cd react-native-svg-example

Step 3: Install example app's dependencies

npm install

Step 4: Run React Native packager

You can open a new terminal tab to run React Native's packager.

npm start

Step 5: Run app on Android or iOS

First make sure that your Android emulator or iOS simulator is working, then:

npm run ios

or

npm run android

or

npm run web

Screenshots

iOS - Android - Web

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].