Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

document @mui/material-icons

Manav Rathi5854a9e10ae0
diff --git a/web/docs/dependencies.md b/web/docs/dependencies.md
index 2025fe5471..56b6712e00 100644
--- a/web/docs/dependencies.md
+++ b/web/docs/dependencies.md
@@ -96,13 +96,21 @@ some cases.
[React](https://react.dev) ("react") is our core framework. It also has a
sibling "react-dom" package that renders JSX to the DOM.
-### MUI and Emotion
+### MUI and Material Icons
-We use [MUI](https://mui.com) ("@mui/material"), which is a React component
-library, to get a base set of components.
+We use [MUI](https://mui.com)'s
+
+- [@mui/material](https://mui.com/material-ui/getting-started/installation/),
+ which is a React component library, to get a base set of components; and
+
+- [@mui/material-icons](https://mui.com/material-ui/material-icons/). which
+ provides Material icons exported as React components (a `SvgIcon`).
+
+### Emotion
MUI uses [Emotion](https://emotion.sh/) (a styled-component variant) as its
-preferred CSS-in-JS library.
+preferred CSS-in-JS library, and we use the same in our code too to reduce
+moving parts.
Emotion itself comes in many parts, of which we need the following: