Skip to content

chr314/react-native-neumorphism

Repository files navigation

react-native-neumorphism

Neumorphism shadows for Android, iOS and Web

screenshot

Installation

yarn add react-native-neumorphism

Usage

import Neumorphism from "react-native-neumorphism";

// ...

<Neumorphism
  lightColor={'#dedddd'}
  darkColor={'#979797'}
  shapeType={'flat'}
  radius={50}
>
  <View style={{ width: 200, height: 200}}>
    <Text>TEST</Text>
  </View>
</Neumorphism>

License

MIT