1590483420
Material Design implementation of Tabs
Install the dependency
npm i --save react-native-material-tabs
Or if you use yarn
yarn add react-native-material-tabs
Start using the component
import MaterialTabs from 'react-native-material-tabs';
import React, { useState } from 'react';
import { StyleSheet, SafeAreaView } from 'react-native';
import MaterialTabs from 'react-native-material-tabs';
const Example = () => {
const [selectedTab, setSelectedTab] = useState(0);
return (
<SafeAreaView style={styles.container}>
<MaterialTabs
items={['One', 'Two', 'Three', 'Four', 'Five']}
selectedIndex={selectedTab}
onChange={setSelectedTab}
barColor="#1fbcd2"
indicatorColor="#fffe94"
activeTextColor="white"
/>
</SafeAreaView>
);
};
const styles = StyleSheet.create({
container: {
flex: 1,
},
});
prop | default | type | description |
---|---|---|---|
barColor | #13897b | string | Color of the tab bar |
indicatorColor | #fff | string | Color of the indicator |
activeTextColor | #fff | string | Color of the text for the selected tab |
inactiveTextColor | rgba(255, 255, 255, 0.7) | string | Color of the text for inactive tabs |
items | none | array(string | element) |
selectedIndex | 0 | number | The index of current tab selected. Indexes are mapped to the items prop |
scrollable | false | boolean | Option between having fixed tabs or scrollable tabs |
textStyle | null | object(style) | Text style for tab titles |
activeTextStyle | {} | object(style) | Optional text style for the selected tab |
onChange | none | Function | Handler that’s emitted every time the user presses a tab. You can use this to change the selected index |
allowFontScaling | true | boolean | Specifies whether fonts should scale to respect Text Size accessibility settings |
uppercase | true | boolean | Specifies whether to uppercase the tab labels |
keyboardShouldPersistTaps | never | string | Specifies how the ScrollView should respond to taps while keyboard is open |
Author: iRoachie
Live Demo: https://material.io/components/tabs
GitHub: https://github.com/iRoachie/react-native-material-tabs
#react-native #programming
1609840501
Most landscapers think of their website as an online brochure. In reality of consumers have admitted to judging a company’s credibility based on their web design, making your website a virtual sales rep capable of generating massive amounts of leads and sales. If your website isn’t actively increasing leads and new landscaping contracts, it may be time for a redesign.
DataIT Solutions specializes in landscape website designing that are not only beautiful but also rank well in search engine results and convert your visitors into customers. We’ve specialized in the landscaping industry for over 10 years, and we look at your business from an owner’s perspective.
Why use our Landscapes for your landscape design?
Want to talk about your website?
If you are a gardener or have a gardening company please do not hesitate to contact us for a quote.
Need help with your website? Get in touch
#nature landscapes website design #landscapes website design #website design #website designing #website designer #designer
1621315250
The mobile technology world is growing at the speed of light, and the apps have become an integral part of our daily life. We can now see an influx of technology with tools that can help create mobile apps. All of them are becoming more accessible and hence people are getting on their first app making journeys. Since the mobile app industry is getting bigger and better than ever, businesses from all corners of the world are trying to develop mobile apps for their operations and marketing. Designing a mobile app for businesses is the first step, though. Company owners are in charge of the basic look and feel of the designed product. With a brilliant mobile app design, one can establish a relationship between app and user very well.
Read Blog Here: https://www.indianappdevelopers.com/blog/designing-mobile-apps-using-latest-ui-design-principles/
#designing mobile apps #ui design principles #mobile ui design #mobile app design #ui design #app design
1609758848
As web developers, we strive to meet your specific needs by creating a website that is user-friendly and remains relevant to the current design trends. This ensures that your website grabs the attention of your audience and keeps you ahead of your competitors.
DataIT Solutions team of experts works collaboratively to create ideas that can meet your requirements. Our Website Designing Company believes in High-Quality Professional Website Designing for your Security Website Designing. Our designers have experience in working on a wide array of projects, including websites of the next generation. We listen to your needs and then deliver.
Our Expertise includes:
Our team of experts has the expertise, knowledge, and skills to take control and dominate the web design industry over the next couple of years. They are on hand to listen to your ideas, goals, and help you to have a website that is unique and works with your business and brand.
Looking for a better design? Need a professional web design?
Get in touch with our, Web Design Professional experts.
#security website design #security website designing #security website designer #website designer #website designing #website design
1600459200
Good microcopy is one of the fastest ways to improve an interface. Try doing an audit on your UI with these tips to see how it stands up.
Address the reader instead of just talking out loud. Use the word you. People pay more attention when you talk directly to them.
#design #web-design #product-design #ux-design #ui-design #design-principles #microcopy #ux-writing
1607581403
Following the app design process and UI/UX design principles rightly guide UI/UX designers to purvey app designs that help in developing efficient mobile apps.
In this article, we will discuss a perfect app designing process that will help you build a mobile app with a great design that attracts the targeted audience and increases user engagement, hence boosting the conversion rate for an app.
#role of ui & ux design in app development #app design tips to follow #ui/ux design strategies #app designing process #ui/ux designers #ui design