Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

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