| Element | Group | Partials | Templates | Yields | |
|---|---|---|---|---|---|
| Only 1 Element | X | ||||
| 2+ Elements | X | X | X | ||
| Functional | X | X | |||
| Class Based | X | X | X | X | X |
| Logic | X | X | X | ||
| Routes | X | X | |||
| Can Be Top Most | X |
| Element | Group | Partials | Templates | Yields | |
|---|---|---|---|---|---|
| Only 1 Element | X | ||||
| 2+ Elements | X | X | X | ||
| UI Design | X | X | X | ||
| UX Design | X | X | X | ||
| External Data | X | X | X | ||
| URL Based Coices | X | X | |||
| Can Be Outer Most | X |
All types of components can have another component of their own level or less
Example Breakdown
- component type (Group)
- ComponentName
- index.js
- style.scss
- ComponentName
- groups
- InputField
- index.js
- style.scss
- InputField
A single HTML Element
- Password Field
- Text Field
- Button
- Image
- Label
- Form (Container)
- A form that contains inputs or buttons
- An input group i.e. an input with a label
A loading symbol can be used in an element as long as there isn't a duplicate element without a loading symbol.
Elements that require state should be placed in the elements folder since it should only exist in one location.
If it appears to be an element, as in it looks like 1 element, a drop down etc., but requires extra divs, it is still an element.
User experience design (UX, UXD, UED or XD) is the approach of using analytical tools to improve the mechanics of the interface.
User interface design (UI) is used to describe graphical or aesthetic changes that improve the interface.
Good design is not focused only on mechanics or function, and good design is not focused entirely on what is the most aesthetically pleasing, and good design is not focusing on mechanics and aesthetics at the same time. Good design is focusing on mechanics and aesthetics separately, at different times, but giving them equal attention. This doesn't mean that in some way that can't drive one another, it just means that they are different things and what looks good won't always keep users, and what works well doesn't always draw in users, both areas must be addressed.
