v1.0.62

Icons

Every site have distinct sets of icons that they use throughout to maintain consistency. So, we didn’t wanted to enforce any icon guidelines onto our users. So, we chose react-native-vector-icons for our icon system which provides over 3k+ icons from popular libraries.

You can browse all icons from this link - https://oblador.github.io/react-native-vector-icons/

Changing Icon types

you can easily change the Icon family by using the fontFamily prop. For example

Screenshot_20210602-215728~2

Copy
import { Icon, Div } from "react-native-magnus";
<Div row my={32} flex={1} alignItems='center' justifyContent='space-around'>
 <Icon name='map-pin' fontFamily='Feather' fontSize={32} color='white' bg='blue500' h={60} w={60} rounded='md' />
 <Icon name='location-pin' fontFamily='MaterialIcons' fontSize={32} color='black' bg='yellow500' h={60} w={60} rounded='md' />
 <Icon name='location-outline' fontFamily='Ionicons' fontSize={32} color='white' bg='blue500' h={60} w={60} rounded='md' />
 <Icon name='location' fontFamily='Octicons' fontSize={32} color='black' bg='red500' h={60} w={60} rounded='md' />
</Div>