React native UI example/template. Invoice screen with taxes

React Native example/template, Invoice screen with taxes! . Take a look at this UI example and see how it can enhance your project. You can copy or download the code and use it in your project. Don't forget to browse our library of other free React Native templates for even more design and functionality inspiration. Happy coding!

import React from 'react';
import { View, Text, StyleSheet, TouchableOpacity, ScrollView } from 'react-native';

const InvoiceScreen = () => {
  return (
    <ScrollView contentContainerStyle={styles.container}>
      <Text style={styles.title}>Invoice</Text>
      <Text style={styles.date}>May 14, 2022 / No.456465</Text>
      <View style={styles.info}>
        <Text style={styles.infoText}>To: Alex Bets</Text>
        <Text style={styles.infoText}>Add: Inner The Embracedero New York</Text>
        <Text style={styles.infoText}>Mail: [email protected]</Text>
      </View>
      <View style={styles.divider} />
      <View style={styles.itemRow}>
        <Text style={styles.itemText}>UI Design</Text>
        <Text style={styles.itemText}>$2,000.00</Text>
      </View>
      <View style={styles.itemRow}>
        <Text style={styles.itemText}>UX Design</Text>
        <Text style={styles.itemText}>$2,000.00</Text>
      </View>
      <View style={styles.itemRow}>
        <Text style={styles.itemText}>Direction</Text>
        <Text style={styles.itemText}>$4,000.00</Text>
      </View>
      <View style={styles.itemRow}>
        <Text style={styles.itemText}>Logo Design</Text>
        <Text style={styles.itemText}>$2,300.00</Text>
      </View>
      <View style={styles.divider} />
      <View style={styles.itemRow}>
        <Text style={styles.itemText}>Subtotal</Text>
        <Text style={styles.itemText}>$10,300.00</Text>
      </View>
      <View style={styles.itemRow}>
        <Text style={styles.itemText}>Tax</Text>
        <Text style={styles.itemText}>$620.00</Text>
      </View>
      <View style={styles.divider} />
      <View style={styles.totalRow}>
        <Text style={styles.totalText}>Total</Text>
        <Text style={styles.totalText}>$10,920.00</Text>
      </View>
      <TouchableOpacity style={styles.button}>
        <Text style={styles.buttonText}>Send Email</Text>
      </TouchableOpacity>
    </ScrollView>
  );
};

const styles = StyleSheet.create({
  container: {
    flexGrow: 1,
    padding: 20,
    paddingTop: 40,
    backgroundColor: '#fff',
  },
  title: {
    fontSize: 32,
    fontWeight: 'bold',
    marginVertical: 10,
  },
  date: {
    fontSize: 16,
    color: '#888',
    marginBottom: 20,
  },
  info: {
    marginBottom: 20,
  },
  infoText: {
    fontSize: 16,
    marginBottom: 5,
  },
  divider: {
    borderBottomColor: '#000',
    borderBottomWidth: 1,
    marginVertical: 10,
  },
  itemRow: {
    flexDirection: 'row',
    justifyContent: 'space-between',
    marginVertical: 5,
  },
  itemText: {
    fontSize: 18,
  },
  totalRow: {
    flexDirection: 'row',
    justifyContent: 'space-between',
    marginVertical: 10,
  },
  totalText: {
    fontSize: 24,
    fontWeight: 'bold',
  },
  button: {
    backgroundColor: '#000',
    padding: 15,
    alignItems: 'center',
    marginTop: 20,
  },
  buttonText: {
    color: '#fff',
    fontSize: 18,
  },
});

export default InvoiceScreen;

                                            

Similar snippets

React native template. Invoice with logo and styled items

Invoice with logo and styled items

About this react-native template

This react-native template, Invoice screen with taxes, was published on Jun 17th, 13:02 by Bootdey Admin and it is free.

We hope you will enjoy this awesome react-native template and stay tuned for the latest updates, we believe it will save your precious time and gives trendy look to your next application.

This template currectly have views, Using this react-native template you have the following benefits:

Example Screens

You can jump start your development with our pre-built example, all you need to do is copy the code and execute it, You can also show it to your customers so that they have an idea of the final result.

Cross-platform for mobile development

This template was developed for Android and iOS.

Simple Integration

This template can be simply integrated on existing projects and new ones too, all you need to do is copy the code and start working.

Fully coded view

this is a functional example, You will save a lot of time going from prototyping to full-functional code.