Overview
Mantine provides pre-styled React components.
overall benefits
- solid, unremarkable, neutral, functional style (UI)
- easy to use and consistent API (DX)
- rapid development of utilitarian webapps
default overall style
The default overall style is functional, neutral and minimalist..
component variants
For some components, Mantine provides different variants. For example, it provides outline or filled Button. This serves as distinct appearances.
component inner components
a component is constructed through several, named, inner components. Slider example: a slider has a mark, a track and a bar.
against transformative customization
Mantine provides a set of cohesive style options.
The risk of big style change is to lose the cohesive aspect. We must ensure the custom style we bring is compatible with mantine default styles.
If we are to replace all mantine default style, We don't need to keep it cohesive with Mantine's design system. In this scenario, we use Mantine as a headless, unstyled library.
sourcecode
https://github.com/mantinedev/mantine/tree/master/packages/%40mantine/core/src/components