io.github.nafg.scalajs.facades.mui.base
Members list
Type members
Classlikes
View original docs online: https://mui.com/api/badge/
Attributes
- Supertypes
-
trait Simpletrait NodeChildrentrait FacadeModuletrait FacadeModuleBaseclass Objecttrait Matchableclass AnyShow all
- Self type
-
Badge.type
View original docs online: https://mui.com/api/button/
View original docs online: https://mui.com/api/button/
The foundation for building custom-styled buttons.
Demos:
API:
Attributes
- Supertypes
-
trait Simpletrait FacadeModuletrait FacadeModuleBaseclass Objecttrait Matchableclass AnyShow all
- Self type
-
Button.type
View original docs online: https://mui.com/api/class-name-configurator/
View original docs online: https://mui.com/api/class-name-configurator/
Allows to configure the components within to not apply any built-in classes.
Attributes
- Supertypes
-
trait Simpletrait FacadeModuletrait FacadeModuleBaseclass Objecttrait Matchableclass AnyShow all
- Self type
View original docs online: https://mui.com/api/click-away-listener/
View original docs online: https://mui.com/api/click-away-listener/
Listen for click events that occur somewhere in the document, outside of the element itself. For instance, if you need to hide a menu when people click anywhere else on your page.
Demos:
API:
Attributes
- Supertypes
-
trait ChildrenOf[VdomElement]trait FacadeModuletrait FacadeModuleBaseclass Objecttrait Matchableclass AnyShow all
- Self type
-
ClickAwayListener.type
View original docs online: https://mui.com/api/dropdown/
Attributes
- Supertypes
-
trait Simpletrait FacadeModuletrait FacadeModuleBaseclass Objecttrait Matchableclass AnyShow all
- Self type
-
Dropdown.type
View original docs online: https://mui.com/api/focus-trap/
View original docs online: https://mui.com/api/focus-trap/
Utility component that locks focus inside the component.
Demos:
API:
Attributes
- Supertypes
-
trait ChildrenOf[Any]trait FacadeModuletrait FacadeModuleBaseclass Objecttrait Matchableclass AnyShow all
- Self type
-
FocusTrap.type
View original docs online: https://mui.com/api/form-control/
View original docs online: https://mui.com/api/form-control/
Provides context such as filled/focused/error/required for form inputs. Relying on the context provides high flexibility and ensures that the state always stays consistent across the children of the FormControl
. This context is used by the following components:
- FormLabel
- FormHelperText
- Input
- InputLabel
You can find one composition example below and more going to the demos.
<FormControl>
<InputLabel htmlFor="my-input">Email address</InputLabel>
<Input id="my-input" aria-describedby="my-helper-text" />
<FormHelperText id="my-helper-text">We'll never share your email.</FormHelperText>
</FormControl>
⚠️ Only one Input
can be used within a FormControl because it create visual inconsistencies. For instance, only one input can be focused at the same time, the state shouldn't be shared.
Demos:
API:
Attributes
- Supertypes
-
trait Simple[VdomNode | Any => Any]trait ChildrenOf[VdomNode | Any => Any]trait FacadeModuletrait FacadeModuleBaseclass Objecttrait Matchableclass AnyShow all
- Self type
-
FormControl.type
View original docs online: https://mui.com/api/input/
Attributes
- Supertypes
-
trait Simpletrait FacadeModuletrait FacadeModuleBaseclass Objecttrait Matchableclass AnyShow all
- Self type
-
Input.type
View original docs online: https://mui.com/api/menu/
Attributes
- Supertypes
-
trait Simpletrait FacadeModuletrait FacadeModuleBaseclass Objecttrait Matchableclass AnyShow all
- Self type
-
Menu.type
View original docs online: https://mui.com/api/menu-button/
Attributes
- Supertypes
-
trait Simpletrait FacadeModuletrait FacadeModuleBaseclass Objecttrait Matchableclass AnyShow all
- Self type
-
MenuButton.type
View original docs online: https://mui.com/api/menu-item/
View original docs online: https://mui.com/api/menu-item/
An unstyled menu item to be used within a Menu.
Demos:
API:
Attributes
- Supertypes
-
trait Simpletrait FacadeModuletrait FacadeModuleBaseclass Objecttrait Matchableclass AnyShow all
- Self type
-
MenuItem.type
View original docs online: https://mui.com/api/menu-provider/
View original docs online: https://mui.com/api/menu-provider/
Sets up the contexts for the underlying MenuItem components.
Attributes
- Supertypes
-
trait Simpletrait FacadeModuletrait FacadeModuleBaseclass Objecttrait Matchableclass AnyShow all
- Self type
-
MenuProvider.type
View original docs online: https://mui.com/api/modal/
View original docs online: https://mui.com/api/modal/
Modal is a lower-level construct that is leveraged by the following components:
If you are creating a modal dialog, you probably want to use the Dialog component rather than directly using Modal.
This component shares many concepts with react-overlays.
Demos:
API:
Attributes
- Supertypes
-
trait ChildrenOf[Any]trait FacadeModuletrait FacadeModuleBaseclass Objecttrait Matchableclass AnyShow all
- Self type
-
Modal.type
View original docs online: https://mui.com/api/no-ssr/
View original docs online: https://mui.com/api/no-ssr/
NoSsr purposely removes components from the subject of Server Side Rendering (SSR).
This component can be useful in a variety of situations:
- Escape hatch for broken dependencies not supporting SSR.
- Improve the time-to-first paint on the client by only rendering above the fold.
- Reduce the rendering time on the server.
- Under too heavy server load, you can turn on service degradation.
Demos:
API:
Attributes
- Supertypes
-
trait Simpletrait NodeChildrentrait FacadeModuletrait FacadeModuleBaseclass Objecttrait Matchableclass AnyShow all
- Self type
-
NoSsr.type
View original docs online: https://mui.com/api/number-input/
Attributes
- Supertypes
-
trait Simpletrait FacadeModuletrait FacadeModuleBaseclass Objecttrait Matchableclass AnyShow all
- Self type
-
NumberInput.type
View original docs online: https://mui.com/api/option/
View original docs online: https://mui.com/api/option/
An unstyled option to be used within a Select.
Demos:
API:
Attributes
- Supertypes
-
trait FacadeModuletrait FacadeModuleBaseclass Objecttrait Matchableclass Any
- Self type
-
Option.type
View original docs online: https://mui.com/api/option-group/
View original docs online: https://mui.com/api/option-group/
An unstyled option group to be used within a Select.
Demos:
API:
Attributes
- Supertypes
-
trait Simpletrait FacadeModuletrait FacadeModuleBaseclass Objecttrait Matchableclass AnyShow all
- Self type
-
OptionGroup.type
View original docs online: https://mui.com/api/popper/
View original docs online: https://mui.com/api/popper/
Poppers rely on the 3rd party library Popper.js for positioning.
Demos:
API:
Attributes
- Supertypes
-
trait ChildrenOf[VdomNode | Any => Any]trait FacadeModuletrait FacadeModuleBaseclass Objecttrait Matchableclass AnyShow all
- Self type
-
Popper.type
View original docs online: https://mui.com/api/popup/
Attributes
- Supertypes
-
trait Simpletrait FacadeModuletrait FacadeModuleBaseclass Objecttrait Matchableclass AnyShow all
- Self type
-
Popup.type
View original docs online: https://mui.com/api/portal/
View original docs online: https://mui.com/api/portal/
Portals provide a first-class way to render children into a DOM node that exists outside the DOM hierarchy of the parent component.
Demos:
API:
Attributes
- Supertypes
-
trait Simpletrait NodeChildrentrait FacadeModuletrait FacadeModuleBaseclass Objecttrait Matchableclass AnyShow all
- Self type
-
Portal.type
View original docs online: https://mui.com/api/select/
View original docs online: https://mui.com/api/select/
The foundation for building custom-styled select components.
Demos:
API:
Attributes
- Supertypes
-
trait Simpletrait FacadeModuletrait FacadeModuleBaseclass Objecttrait Matchableclass AnyShow all
- Self type
-
Select.type
View original docs online: https://mui.com/api/select-provider/
View original docs online: https://mui.com/api/select-provider/
Sets up the contexts for the underlying Option components.
Attributes
- Supertypes
-
trait Simpletrait FacadeModuletrait FacadeModuleBaseclass Objecttrait Matchableclass AnyShow all
- Self type
-
SelectProvider.type
View original docs online: https://mui.com/api/slider/
Attributes
- Supertypes
-
trait Simpletrait FacadeModuletrait FacadeModuleBaseclass Objecttrait Matchableclass AnyShow all
- Self type
-
Slider.type
View original docs online: https://mui.com/api/snackbar/
Attributes
- Supertypes
-
trait Simpletrait FacadeModuletrait FacadeModuleBaseclass Objecttrait Matchableclass AnyShow all
- Self type
-
Snackbar.type
View original docs online: https://mui.com/api/switch/
View original docs online: https://mui.com/api/switch/
The foundation for building custom-styled switches.
Demos:
API:
Attributes
- Supertypes
-
trait Simpletrait FacadeModuletrait FacadeModuleBaseclass Objecttrait Matchableclass AnyShow all
- Self type
-
Switch.type
View original docs online: https://mui.com/api/tab/
Attributes
- Supertypes
-
trait Simpletrait FacadeModuletrait FacadeModuleBaseclass Objecttrait Matchableclass AnyShow all
- Self type
-
Tab.type
View original docs online: https://mui.com/api/tab-panel/
Attributes
- Supertypes
-
trait Simpletrait NodeChildrentrait FacadeModuletrait FacadeModuleBaseclass Objecttrait Matchableclass AnyShow all
- Self type
-
TabPanel.type
View original docs online: https://mui.com/api/table-pagination/
View original docs online: https://mui.com/api/table-pagination/
A pagination for tables.
Demos:
API:
Attributes
- Supertypes
-
trait FacadeModuletrait FacadeModuleBaseclass Objecttrait Matchableclass Any
- Self type
-
TablePagination.type
View original docs online: https://mui.com/api/tabs/
Attributes
- Supertypes
-
trait Simpletrait NodeChildrentrait FacadeModuletrait FacadeModuleBaseclass Objecttrait Matchableclass AnyShow all
- Self type
-
Tabs.type
View original docs online: https://mui.com/api/tabs-list/
Attributes
- Supertypes
-
trait Simpletrait NodeChildrentrait FacadeModuletrait FacadeModuleBaseclass Objecttrait Matchableclass AnyShow all
- Self type
-
TabsList.type
View original docs online: https://mui.com/api/tabs-list-provider/
View original docs online: https://mui.com/api/tabs-list-provider/
Sets up the contexts for the underlying Tab components.
Attributes
- Supertypes
-
trait Simpletrait FacadeModuletrait FacadeModuleBaseclass Objecttrait Matchableclass AnyShow all
- Self type
-
TabsListProvider.type
View original docs online: https://mui.com/api/tabs-provider/
View original docs online: https://mui.com/api/tabs-provider/
Sets up the contexts for the underlying Tab and TabPanel components.
Attributes
- Supertypes
-
trait Simpletrait FacadeModuletrait FacadeModuleBaseclass Objecttrait Matchableclass AnyShow all
- Self type
-
TabsProvider.type
View original docs online: https://mui.com/api/textarea-autosize/
Attributes
- Supertypes
-
trait Simpletrait FacadeModuletrait FacadeModuleBaseclass Objecttrait Matchableclass AnyShow all
- Self type
-
TextareaAutosize.type