A common way to sort the imports in the file is by their source: external, absolute, relative separated by an empty line. Each of those groups can be sorted by line length, but that's not super important.
Lowercase kebab cased files located in src/pages/sample-page.tsx which correspond to /sample-page url.
Types
The common convention is that the main type of the component's props is called after the component itself with suffix -Props. Prop types of AdvancedForm becomes AdvancedFormProps.
File convention is based on a suffix .module.scss (ex. about.module.scss)
🌞 Nice when dealing with complex nested structures that are scoped in a single component. When dealing with sub-components we're not sure if some of the rules will be left unused.
⛅ Too verbose for simple use cases, if it contains less than 2 css rules in a dedicated file. Use Box instead
⛈️ Cannot use theme support or theme variables Use hook instead