I understand it is very abstract asking, but I am unable to visualize space( padding, margin) & size ( width, height) when following atomic design. I could understand intent of atom, molecules , organisms, but where should I keep my padding , margins, widths so that it could be scalable and responsive. At what layer component I should decide for responsive design approach and sizing related properties in atomic design?
Size-Spacing thinking and implementation approach in Atomic design suggested by Brad Frost in Responsive design
266 views Asked by spjgoku At
2
There are 2 answers
0
Noleli
On
Any component larger than an atom manages the relationships between other components. So the spacing between atoms within a molecule is determined by the molecule, the spacing between molecules is determined by whatever template those molecules are in, etc.
(Padding — the spacing within a component between its edges and its content — would be part of a component, even for an atom.)
In terms of responsiveness, this gets into specific technologies, which @brett-donald’s answer rightly cautions against in thinking about atomic design more generally. That said, if you’re using CSS you can use things like container queries and viewport units at any level, as appropriate.
Related Questions in CSS
- How to use custom font during html to pdf conversion?
- Storing the preferred font-size in localStorage
- mp4 embedded videos within github pages website not loading
- Is there any way to glow this bulb image like a real light bulb
- What can I do to improve my coding on both html and css
- Uncaught TypeError: google.maps.LatLng is not a constructor at init (script.js:7:13)
- Bootstrap modal not showing at the desired position on a web page when the screen size is smaller
- How to increase quality of mathjax output?
- Hover animation resetting( seemingly reverting back to original CSS and then again to hover)when moving mouse horizontaly accross a part of an element
- Storing selected language in localStorage
- How to clip grid cell and provide scroll as well?
- KeyboardAvoidingView makes a messy the flexbox
- Rotate an object around another object in javascript
- Understanding Scroll Anchoring Behavoir
- how to use only block layout in this css code?
Related Questions in REACT-NATIVE
- ussd reader in Recket Native module
- I can't make TextInput to auto expand properly in Android
- expo config plugin use import instead of require
- Custom Sound for Expo Push Notifications Only Works in Foreground
- run RTK dispatch on gesture start with React Native
- Should I set Back-End for my React Native application?
- using infoPlist in app.json for expo project seems to not be working
- Anyone have success configuring react-native-home-indicator?
- KeyboardAvoidingView makes a messy the flexbox
- I am getting lots of errors when building react native app in Xcode
- Search and highlight text of current text in PDFKit Swift
- Flatlist Sometimes Capped at 10 Items Bug
- Is there any way to page transition in react native (stack navigation)
- Screen inside Stack.Navigator not visible in React-Native
- React Native stopwatch implementation slow on iOS
Related Questions in RESPONSIVE-DESIGN
- Javascript Place Image Where User Clicks
- How can i prevent the image from zooming in when i resize the browser?
- Como mudar o src de uma imagem por responsividade
- What CSS & HTML do I need to switch a table from 4 cols of data in 1 row to 2 cols in 2 rows at 550px screen width w/o duplicate content?
- How to make my relatively-positioned elements 'stick' to a specific yet responsive background design without breaking from the design?
- How to Place a "Copy to Clipboard" Icon Inside of an Input Text Box?
- I'm trying to make a responsive SVG, but it isn't showing on Safari
- react-slick library carousel breakpoints do not work on mobile
- I want to create a creative website based on my project. I am new in this field
- Why is my display element not responsive?
- Dynamic sizing and responsive design
- How do I Center Score Text for a Basketball Scoreboard?
- Bootstrap 5.3 burger menu not responsive in Underscore WordPress template
- Why does it shows good in the editor and something completely different in the emulator?
- CSS formatting with flexbox and other divs
Related Questions in ATOMIC-DESIGN
- Naming classes on a framework that present multiple platforms
- Way to manage props simply in the react atomic design pattern
- Size-Spacing thinking and implementation approach in Atomic design suggested by Brad Frost in Responsive design
- How to extend styling of component without using wrapper element?
- Is possible to use Atomic Design in PHP Laravel Blade?
- React Native Components Override styles "leaking"
- Atomic Design with Storybook Dynamic elements
- Atomic Design with Redux: Where to place components using the store?
- Rendering a component inside another in Nunjucks & Fractal
- Atomic Design: should a wrapper be an atom if it's not reusable?
- BEM / ABEM Naming Convention: Strategy for Clear Communication of Modifier Location?
- Atomic design typescript react
- Unable to resolve module `../../../../src/redux` from `node_modules/react-redux/lib/connect/mapDispatchToProps.js
- Angular9's reactive forms & atomic design
- Angular 8 + Atomic Design
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
The final paragraph of this section from the Atomic Design book makes it clear that
and
But the whole point of atomic design is to be able to manage complexity, right? So we don't really want all the styling and spacing to be handled in a single CSS file at the page level, because that results in a large complex file which is hard to maintain.
I imagine that each component in the design (atoms, molecules, organisms) may need to consider styling and spacing in several ways:
I think the answer to your question is that all layers may need to consider responsive design. A search molecule consisting of an input box atom and a button atom may need to render itself differently on a narrow screen, for example. Perhaps the input box atom and the button atom don't need to consider responsive behaviour, but there might be other atoms which would need to. However, I am far from an expert in this area, having only read about Atomic Design just now for the first time.