23 Neumorphism Design UI For Website

23 Neumorphism Design UI For Website


December, 11 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):

See the Pen Neumorphism cho trang web by haycuoilennao19 (@haycuoilennao19) on CodePen.

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):

See the Pen ví dụ khác về Neumorphism by haycuoilennao19 (@haycuoilennao19) on CodePen.

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.

trang web neumorphism.io

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

Link

Examples Of Neumorphism Design

Neumorphism Button CSS

Neumorphism Button CSS

You can check out the results below.

See the Pen Neumorphism transition using Houdini by jakob-e (@jakob-e) on CodePen.

Link

CSS3 Neumorphism Button

CSS3 Neumorphism Button

You can check out the results below.

See the Pen Neumorphic Buttons by Sikriti Dakua (@dev_loop) on CodePen.

Link

CSS Neumorphism UI

You can check out the results below.

See the Pen A bit of neumorphism by Damir (@drovosek2703) on CodePen.

Link

Neumorphism UI Button Pattern

Neumorphism UI Button Pattern

You can check out the results below.

See the Pen Soft-UI Button Pattern by Tyler Scott Williams (@ogdenstudios) on CodePen.

Link

Neumorphism Button HTML CSS

Neumorphism Button HTML CSS

You can check out the results below.

See the Pen Neumorphism Buttons by zeynep (@zeynepozdem) on CodePen.

Link

Neumorphism Component By HTML CSS

Neumorphism Component By HTML CSS

You can check out the results below.

See the Pen neumorph test by victor (@VictorUx) on CodePen.

Link

Neumorphism Menu Icon

Neumorphism Menu Icon

You can check out the results below.

See the Pen Neumorphism Button by Sebastian Piskaty (@sebastian-piskaty) on CodePen.

Link

Neumorphism By Shadow

Neumorphism By Shadow

You can check out the results below.

See the Pen Neumorphism: Inner and Drop Shadows by miranda (@mirandalwashburn) on CodePen.

Link

Click Neumorphism Button

 Click Neumorphism Button

You can check out the results below.

See the Pen Neumorphism Button by Naoya (@nxworld) on CodePen.

Link

Neumorphism Social Icon

Neumorphism Social Icon

You can check out the results below.

See the Pen Neumorphism - Animated Social Icons by Jitendra Nirnejak (@nirnejak) on CodePen.

Link

Neumorphism Share Button

Neumorphism Share Button

You can check out the results below.

See the Pen soft ui design #neumorphism by Igor Milenkovic (@imilenig) on CodePen.

Link

Neumorphism Card CSS3

Neumorphism Card CSS3

You can check out the results below.

See the Pen Neumorphism Card UI by Shivnath (@shivnath25) on CodePen.

Link

Neumorphism Card Menu CSS

Neumorphism Card Menu CSS

You can check out the results below.

See the Pen Neuphormism UI by Susanna Nevalainen (@zuzze) on CodePen.

Link

Neumorphism Social Icon Button CSS

Neumorphism Social Icon Button CSS

You can check out the results below.

See the Pen Neumorphism | Soft UI by Atul Prajapati (@atulcodex) on CodePen.

Link

Neumorphism Search Box CSS3

Neumorphism Search Box CSS3

You can check out the results below.

See the Pen Neumorphism Search Bar by Tran Dinh Trung (@tdtrung17693) on CodePen.

Link

Collection Of Neumorphism Button CSS3

Collection Of  Neumorphism Button CSS3

You can check out the results below.

See the Pen Satisfying Button (Neumorphism) by Yuhomyan (@yuhomyan) on CodePen.

Link

Neumorphism Card HTML5 CSS3

Neumorphism Card HTML5 CSS3

You can check out the results below.

See the Pen Neumorphism UI // Card by Cosimo Scarpa (@coswise) on CodePen.

Link

Neumorphism Submit Button

Neumorphism Submit Button

You can check out the results below.

See the Pen Simple & Minimal Neumorphic Buttons by Shinobis (@Shinobis) on CodePen.

Link

Neumorphism Menu CSS3

Neumorphism Menu CSS3

You can check out the results below.

See the Pen Neumorphism menu by Wouter (@wouterXD) on CodePen.

Link

Login Form Neumorphism CSS

Login Form Neumorphism CSS

You can check out the results below.

See the Pen neumorhism login form by Animation Bro (@animationbro) on CodePen.

Link

Neumorphism Gradient Loader

Neumorphism Gradient Loader

You can check out the results below.

See the Pen Neumorphism Gradient Loader by samuel garcia (@sam_garcia2) on CodePen.

Link

Music Player Neumorphic

Music Player Neumorphic

You can check out the results below.

See the Pen Music Player Neumorphic (Soft UI) Style by Dilum Sanjaya (@dilums) on CodePen.

Link

Responsive Menu Neumorphic

Responsive Menu Neumorphic

You can check out the results below.

See the Pen Responsive Resaturant Menu by Valentin (@nitnelav) on CodePen.

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!