Skip to content

shaneboyar/react-native-neumorphic

Repository files navigation

react-native-neumorphic

semantic-release CircleCI

Neumorph your components! Inspired by Neumorphism.io

Installation

npm install react-native-neumorphic

Usage

import Component from 'some-module';
import Neumorphic from 'react-native-neumorphic';

// ...
// You can pass an optional configuration object, if you don't this is what it will default to
const config = {
  distance: 50,
  intensity: 0.15,
  blur: 60,
  shape: NeumorphConfigShapes.Flat,
};
const NeumorphicComponent = Neumorphic(Component, config);

// ...

<Neumorphic />;

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published