Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

Cover image for Neomorphism designs, UI components library
Abdelrahman Ismail
Abdelrahman Ismail

Posted on • Edited on • Originally published atismail9k.com

     

Neomorphism designs, UI components library

Every while a new design trend arise and became the dominator of the shape of the period. Recently, the neomorphic design style becoming verytrending and is gaining more and more popularity.

The Neomorphism Design

You can form this effect, by adding two shadows to your flat-designed elements, one is a light shadow from the top left of the element, and the other is a dark shadow towards the bottom right. the combination of both creates the effect of the elements pushing themselves through your display.

You can read more about how to apply this technic in-depth here:Design trends: Neomorphic design.

Neomorphism design components

The first time I saw this design concept, I immediately loved it. I started to apply it to some basic web components; buttons, inputs, etc..

Then I had an idea, why not create a full set of UI components based on this concept.

I reviewed the most famous frameworks and components libraries structure and concepts, to design the structure I will follow. In the end, I summed up to:

  • Each component will have five sizes (xs, sm, md, lg, xl).
  • Components size will depend on its font-size only; when change the component'sfont-size property, its width, height, margin, and padding will be changed respectively because they all are inem unit.
  • The grid will have also five media breaking points (xs, sm, md, lg, xl).
  • Shadows depth will have five levels, in addition to two shadows style emboss and deboss.
  • Classes naming conventions will be a modified version ofSUIT naming convention
  • The components are written inStylus because it's the best 🤪🤪.

After TWO days of hard work 🤓🤓, and lots of potions coffee. I want to introduceNeomorphism, UI components library. (creative name, right? 🤷‍♂️🤷‍♂️)

GitHub logo ismail9k / neomorphism

UI components library in the new neomorphism design style

Final words

This project very far from completion, it still work-in-progress. I plan to include more components, and support dark-theme too, and maybe in the future expose it as React/Vuejs components. I just wanted to share it as early as possible, to gather feedback, and maybe to force myself, to dedicate more time to work on it 😭😭. Thank you for reading.

Top comments(9)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss
CollapseExpand
 
jp_semery profile image
Jean-Pierre Semery
  • Joined
• Edited on• Edited

Hi,

Nice work

I'm wondering how to use the dark.
Looking at the neomorphism.css file there seems to be adark theme.

theme. I'm abe to apply a button style like this. kind of blueish but I guess the colors can be changed.

How would you apply the dark theme to the whole site?

Thanks in advance

Jean-Pierre

CollapseExpand
 
indysigner_15 profile image
Markus Seyfferth
  • Joined
• Edited on• Edited

Amazing work, Abdelrahman!

Just shared your work on ourWebdesign Trends article (in German) on DrWeb.de. Keep up the great work! 🙏🏻

CollapseExpand
 
ismail9k profile image
Abdelrahman Ismail
👨‍💻 Tech Lead | 10+ yrs in Software Engineering🤖 Sharing pragmatic tips on AI & Development🌍 From 🇪🇬 based in 🇹🇷
  • Email
  • Location
    Istanbul, Turkey
  • Education
    Computer Engineering
  • Work
    Software Engineer & Tech Lead
  • Joined

Wow, very appreciated. Thank you Markus.

CollapseExpand
 
luigicampbell profile image
luigicampbell
Full Stack Dev
  • Location
    KTown/LA/NoHo
  • Education
    CPP, UCLA ext, National, Open MIT
  • Work
    Software Engineer(??) RD at MK Partners
  • Joined

very cool

CollapseExpand
 
ismail9k profile image
Abdelrahman Ismail
👨‍💻 Tech Lead | 10+ yrs in Software Engineering🤖 Sharing pragmatic tips on AI & Development🌍 From 🇪🇬 based in 🇹🇷
  • Email
  • Location
    Istanbul, Turkey
  • Education
    Computer Engineering
  • Work
    Software Engineer & Tech Lead
  • Joined

Thank you I am glad that you liked it

CollapseExpand
 
codebender828 profile image
Jonathan Bakebwa
I'm a passionate and habitual Javascript code bender.
  • Location
    Beijing
  • Education
    Bsc. Computer Science & Technology
  • Work
    UI/UX Engineer at Akkadu
  • Joined

Great stuff, Ismail! Your design looks good and I'm looking forward to seeing what you make of it in the future. Cheers!

CollapseExpand
 
ismail9k profile image
Abdelrahman Ismail
👨‍💻 Tech Lead | 10+ yrs in Software Engineering🤖 Sharing pragmatic tips on AI & Development🌍 From 🇪🇬 based in 🇹🇷
  • Email
  • Location
    Istanbul, Turkey
  • Education
    Computer Engineering
  • Work
    Software Engineer & Tech Lead
  • Joined

Thank you for your support. Cheers!

CollapseExpand
 
paul_melero profile image
Paul Melero
Creative Web Dev and Dad
  • Location
    Barcelona
  • Joined

there's a typo in "Styles", should be "Stylus" ;)

CollapseExpand
 
ismail9k profile image
Abdelrahman Ismail
👨‍💻 Tech Lead | 10+ yrs in Software Engineering🤖 Sharing pragmatic tips on AI & Development🌍 From 🇪🇬 based in 🇹🇷
  • Email
  • Location
    Istanbul, Turkey
  • Education
    Computer Engineering
  • Work
    Software Engineer & Tech Lead
  • Joined

Ooops, nice catch 😅😅

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

👨‍💻 Tech Lead | 10+ yrs in Software Engineering🤖 Sharing pragmatic tips on AI & Development🌍 From 🇪🇬 based in 🇹🇷
  • Location
    Istanbul, Turkey
  • Education
    Computer Engineering
  • Work
    Software Engineer & Tech Lead
  • Joined

More fromAbdelrahman Ismail

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp