• Stars
    star
    607
  • Rank 72,165 (Top 2 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created about 4 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

๐Ÿ“• React component library designed on the "new skeuomorphism" or "neumorphism" UI/UX trend.

ui-neumorphism

NPM Build Status license JavaScript Style Guide

React component library designed on the "new skeuomorphism" or "neumorphism" UI/UX trend.

All the components are designed according to the neumorphic design trend.

Library features more than 50 individual components.

Demo

Fitness App by Jray

View examples here.

Documentation

Each component, and its API is well documented, with various examples along with their code and preview.

Check out the documentation here.

Install

npm install --save ui-neumorphism

Usage

import React, { Component } from 'react'

import { Button } from 'ui-neumorphism'
import 'ui-neumorphism/dist/index.css'

class Example extends Component {
  render() {
    return <Button />
  }
}

Theming

In neumorphism UI, theming is dead simple. It is accomplished by using and modifying root css variables for colors.

To change the theme, you modify the root css variables directly or with the help of overrideThemeVariables() function, like this.

import React, { Component } from 'react'

import { overrideThemeVariables } from 'ui-neumorphism'
import 'ui-neumorphism/dist/index.css'

class App extends Component {
  componentDidMount() {
    // takes an object of css variable key-value pairs
    overrideThemeVariables({
      '--light-bg': '#E9B7B9',
      '--light-bg-dark-shadow': '#ba9294',
      '--light-bg-light-shadow': '#ffdcde',
      '--dark-bg': '#292E35',
      '--dark-bg-dark-shadow': '#21252a',
      '--dark-bg-light-shadow': '#313740',
      '--primary': '#8672FB',
      '--primary-dark': '#4526f9',
      '--primary-light': '#c7befd'
    })
  }

  ...
}

Here --light-bg and --dark-bg are css variables that hold specific values of color.

Using this power of CSS variables, you can change the app theme from anywhere in the entire application.

All the css variable definition is present in root tag of index.css. These variables are used to theme the library and its available for you to modify.

License

MIT ยฉ AKAspanion

More Repositories

1

music-app

๐ŸŽต Music Player powered by PWA.
JavaScript
76
star
2

chat-app

๐Ÿ’ฌ Real-time chat application with no history.
TypeScript
29
star
3

ui-glassmorphism

๐Ÿ“˜ React component library on 'glassmorphism' UI/UX trend.
JavaScript
21
star
4

react-native-grocery

๐Ÿฑ A grocery app prototype design made with React Native.
JavaScript
17
star
5

platformer-game

๐ŸŽฎ A 2D platformer game.
JavaScript
17
star
6

keyboard

๐ŸŽน A simple piano keyboard made using CSS.
CSS
10
star
7

todo-pwa

๐Ÿ“ A TODO/Task Manager PWA made with Vue.
Vue
9
star
8

flash-cards

๐ŸŽด Flash Cards - Memorization & study helper PWA made with Vue.
Vue
7
star
9

react-redux-snake

๐Ÿ Snake game made with react-redux.
JavaScript
6
star
10

portfolio

๐Ÿ‘จโ€๐Ÿ’ป Personal/Portfolio website.
Vue
5
star
11

lens-n-light

๐Ÿ‘ค This is the photography/portfolio application for Lens-and-Light photography.
Vue
5
star
12

Awesome-Neomorphism

An awesome list that curates the best Neomorphism (neumorphism) Concept & Neumorphic libraries, tools, design, inspiration, tutorials, articles and more. (Neumorphic - iOS | Android | Flutter | React Native | Xamarin | Web | Design Inspiration)
5
star
13

my-projects

List of all my projects.
4
star
14

css-houdini-bubbles

๐ŸŽจ A CSS Houdini Paint Worklet to draw background bubbles.
JavaScript
3
star
15

portfolio-2018

HTML
2
star
16

lens-n-light-old

The old photography showcase website/portfolio for Amit Kumar Sahoo.
HTML
2
star
17

Polling

A Polling System application for Android.
Java
2
star
18

zoom-clone

๐Ÿ“บ A fun open, private, and multiple user chat room inspired by zoom using WebRTC.
JavaScript
2
star
19

tanstack-template

My starter template for Frontend using TanStack.
TypeScript
1
star
20

eight-puzzle

Program to solve 8-Puzzle or Sliding numbered tile puzzle
Python
1
star
21

Dropping-Box

A small fast paced java game .
Java
1
star
22

teams-test

Test application for teams.
TypeScript
1
star
23

dog-training-academy-start-up

Website for Jayashree Ram Mohan's Dog Training Academy.
CSS
1
star
24

collegedunia-test

Pagination demo for collegedunia interview test.
JavaScript
1
star
25

AKAspanion

๐Ÿ‘จ My Readme
1
star
26

flutter-weather

๐ŸŒฆ A beautiful flutter weather app.
Dart
1
star
27

portfolio-2017

My old Portfolio Website.
HTML
1
star
28

Music-Player

A Simple Music Player application for Android.
Java
1
star
29

react-redux-tictactoe

Tic-Tac-Toe using react-redux
JavaScript
1
star
30

manage-guest

Manage engagement guests
TypeScript
1
star
31

ownerstown-test-app

A bar phone created for Ownerstown interview test app.
JavaScript
1
star
32

splitify

๐Ÿงพ App to split bills. Splitwise clone.
TypeScript
1
star
33

monorepo-template

My opinionated Mono Repo template.
TypeScript
1
star
34

ui-neumorphism-svelte

๐Ÿ“• Svelte component library designed on the "new skeuomorphism" or "neumorphism" UI/UX trend.
Svelte
1
star