Last modified: Sep 8, 2021

Styling

Styling (css)

Summary Styling in React is done per component using a combination of Material-UI and compatible JSS. Components shall not be styled with CSS classes in .CSS files. Different component types should use different styling methods, or a combination. Proposed order of styling methods The following order is proposed when considering styling methods: Styled Components (Accepts props, logic, theming) Material-UI’s JSS (Accepts theming) Inline Styling, the React way (Accepts props, logic, theming. »