1.0.6 • Published 2 years ago

neopop-native v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

what is NeoPOP?

NeoPOP was created with one simple goal, to create the next generation of the next beautiful, more affirmative, design system. NeoPOP stays true to everything that design at CRED stands for.

what this library features?

  • Easy to use and beautifully designed React Native components based on NeoPOP design system.
  • Flexible and composable components which accepts custom configurations.
  • Commonly used utility methods and functions.
  • Fluid and highly optimized animations.

note: currently the components in this library are optimized for mobile views, we will soon release support for desktop views.

how to install?

to use NeoPOP library, all you need to do is install the neopop-native package and its peer dependencies:

yarn add neopop-native react-native-svg react-native-web

# or

npm i neopop-native react-native-svg react-native-web

how to use?

to start using the library you can,

  • import components from neopop-native/components
  • import primitives from neopop-native/primitives
  • import hooks from neopop-native/hooks
  • import utils from neopop-native/utils

for example, to use button refer the following code snippet:

import { Button } from 'neopop-native/components';

const Page = () => (
    <Button
        variant="primary"
        kind="elevated"
        size="big"
        colorMode="dark"
        onPress={() => {
            console.log("I'm pressed");
        }}
    >
        Primary
    </Button>
);

export default Page;

a detailed documentation and an interactive playground can be found here

contributing

pull requests are welcome! we'd love help improving this library. feel free to browse through open issues to look for things that need work. if you have a feature request or bug, please open a new issue so we can track it.

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago