Atomic Design Pattern
Introduction
As a React JS Developer, I work on UI components on daily basis. Component reusability
This is button is the smallest part/component for the project by combining such small components we can build some meaningful parts like a card or header or some other parts. This is the way that leads us to maintain and develop react components
To maintain this type of structure Atomic Design Pattern
What Atomic Design Pattern?
In the introductory part of this article, we looked into some small generic parts which help to build some meaningful web designs and some more introductory descriptions so in this section we are going to discuss what Atomic Design is?
Atomic Design Pattern contains 5 parts,
let's discuss these parts one by one
Atoms - atoms are the smallest parts of the Atomic Design. for example, generic button, label component, input component which are useful in the entire project.
领英推荐
Molecules - with combining atoms we can build some useful components like a navigation bar, search bar component, custom card component, etc. Assume a basic navigation component it has some navigation menus/links which helps the user navigate to a particular page, and again it may contain some button.
Organisms - Organisms can use one or many molecules or atoms. Assume a header now we can get a clear understanding of the organisms with it. A simple header contains the brand logo on one side and navigation menus and some buttons on the other or as per design. buttons and navigation bar, brand logo images are separate parts that combine together to build a header. here button and brand logo image are atoms and navigation menu are molecules.
Templates - Combining organisms, atoms, molecules to achieve a meaningful web page where users can see final design of the page.
Pages - different template rendering in the system to complete a project completely. there are many examples like home page, login page, about us page, etc.
Need of Atomic Design
Such a type of UI design pattern makes the project more modular and readable. Organizing a React file structure
This is a basic introductory article is related to atomic design patterns. I hope you like it. suggestions and corrections are most welcome. feel free to share if you find this useful.
Project Management | Organisational Growth | Resource Management
3 年Hey Shubham, nice to blog to read and know the importance of Atomic Structure. Appreciate it!!!