23 Neumorphism Design UI For Website

Niemvuilaptrinh
5 min readDec 25, 2021

Today we will learn how to design components in the style of Neumorphism by combining simple colors with shadow effects in CSS.

Create a Neumorphism HTML CSS Effect

Before going into this, I would like to briefly explain the main attribute to create this effect is box-shadow with the following general syntax:

box-shadow: [horizontal offset] [vertical offset] [blur radius] [spread radius] [color];
  • horizontal offset: Horizontal offset of the shadow
  • horizontal offset: Shade vertical offset
  • blur radius : Opacity of the shadow
  • spread radius : If the value of this property is greater than 0, the shadow size will be increased, otherwise will reduce the size.(You can choose to use or remove this element)
  • color: Color of the shadow

And to design Neumorphism for components in the website, we need to note some of the following characteristics:

  • Shadows: Objects must have two shadows (one light and one dark)
  • Background colors: The object's background color must be the same as the parent element's background color.
  • Edges: The edge of the Neumorphism object will have to be rounded.
  • Borders: The outline of the object should be set to be subtle, with contrast high.

HTML

<div class="doi_tuong"></div>

CSS

body {
align-items: center;
background-color: DodgerBlue;
display: flex;
height: 100vh;
justify-content: center;
}
.doi_tuong{
align-items: center;
background-color: DodgerBlue;
box-shadow:
12px 12px 16px 0 rgba(0, 0, 0, 0.25),
-8px -8px 12px 0 rgba(255, 255, 255, 0.3);
border-radius: 50px;
display: flex;
height: 200px;
justify-content: center;
margin-right: 4rem;
width: 200px;
}

And the final result you see below (You should switch to 0.5x screen mode to see it better):

Link

As you can see in the above example, creating a component with a Neumorphism design is not difficult. The important thing is that we need to know how to set the correct value for the attribute box-shadow. Here are two more examples of Neumorphism (You switch to 0.5x screen mode to see more clearly):

Link

Online Neumorphism Effect Tool

In addition to hand-coding, we can also use the neumorphism.io tool to design component in the style of Neumorphism easily. What I like about this tool is that you just need to customize it Adjust the values of the provided properties and then see the results immediately.

Link

Neumorphism UI Library

Neumorphism UI is a library built on Bootstrap with pre-provided components and designed in Neumorphism style. It is completely free to use, but if you want to add more components to your website, you have to buy it for about $ 69.

Neumorphism UI Library

Link

Neumorphism Button CSS

Neumorphism Button CSS

You can check out the results below.

Link

CSS3 Neumorphism Button

CSS3 Neumorphism Button

You can check out the results below.

Link

CSS Neumorphism UI

CSS Neumorphism UI

You can check out the results below.

Link

Neumorphism UI Button Pattern

Neumorphism UI Button Pattern

You can check out the results below.

Link

Neumorphism Button HTML CSS

Neumorphism Button HTML CSS

You can check out the results below.

Link

Neumorphism Component By HTML CSS

Neumorphism Component By HTML CSS

You can check out the results below.

Link

Neumorphism Menu Icon

Neumorphism Menu Icon

You can check out the results below.

Link

Neumorphism By Shadow

Neumorphism By Shadow

You can check out the results below.

Link

Click Neumorphism Button

Click Neumorphism Button

You can check out the results below.

Link

Neumorphism Social Icon

Neumorphism Social Icon

You can check out the results below.

Link

Neumorphism Share Button

Neumorphism Share Button

You can check out the results below.

Link

Neumorphism Card CSS3

Neumorphism Card CSS3

You can check out the results below.

Link

Neumorphism Card Menu CSS

Neumorphism Card Menu CSS

You can check out the results below.

Link

Neumorphism Social Icon Button CSS

Neumorphism Social Icon Button CSS

You can check out the results below.

Link

Neumorphism Search Box CSS3

Neumorphism Search Box CSS3

You can check out the results below.

Link

Collection Of Neumorphism Button CSS3

Collection Of Neumorphism Button CSS3

You can check out the results below.

Link

Neumorphism Card HTML5 CSS3

Neumorphism Card HTML5 CSS3

You can check out the results below.

Link

Neumorphism Submit Button

Neumorphism Submit Button

You can check out the results below.

Link

Neumorphism Menu CSS3

Neumorphism Menu CSS3

You can check out the results below.

Link

Login Form Neumorphism CSS

Login Form Neumorphism CSS

You can check out the results below.

Link

Neumorphism Gradient Loader

Neumorphism Gradient Loader

You can check out the results below.

Link

Music Player Neumorphic

Music Player Neumorphic

You can check out the results below.

Link

Responsive Menu Neumorphic

Responsive Menu Neumorphic

You can check out the results below.

Link

Summary:

I hope the article will provide you with useful Neumorphic for development, the web and if you have any questions just send an email I will respond as soon as possible. I hope you continue to support the site so that I can write more good articles. Have a nice day!

Buy me a Coffee

If you want more read more articles, please go to https://us.niemvuilaptrinh.com/

--

--

Niemvuilaptrinh

Where you can find programming resources for web development such as HTML, CSS, Javascript, Bootstrap, Programming Resources, Web Design.