io.github.nafg.scalajs.facades.mui.base

Members list

Type members

Classlikes

object Badge extends Simple

View original docs online: https://mui.com/api/badge/

View original docs online: https://mui.com/api/badge/

Demos:

API:

Attributes

Supertypes
trait Simple
trait NodeChildren
trait FacadeModule
trait FacadeModuleBase
class Object
trait Matchable
class Any
Show all
Self type
Badge.type
object Button extends Simple

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 Simple
trait FacadeModule
trait FacadeModuleBase
class Object
trait Matchable
class Any
Show all
Self type
Button.type
object ClassNameConfigurator extends Simple

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 Simple
trait FacadeModule
trait FacadeModuleBase
class Object
trait Matchable
class Any
Show all
Self type
object ClickAwayListener extends ChildrenOf[VdomElement]

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 FacadeModule
trait FacadeModuleBase
class Object
trait Matchable
class Any
Show all
Self type
object Dropdown extends Simple

View original docs online: https://mui.com/api/dropdown/

View original docs online: https://mui.com/api/dropdown/

Demos:

API:

Attributes

Supertypes
trait Simple
trait FacadeModule
trait FacadeModuleBase
class Object
trait Matchable
class Any
Show all
Self type
Dropdown.type
object FocusTrap extends ChildrenOf[Any]

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 FacadeModule
trait FacadeModuleBase
class Object
trait Matchable
class Any
Show all
Self type
FocusTrap.type
object FormControl extends Simple[VdomNode | Any => Any]

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 FacadeModule
trait FacadeModuleBase
class Object
trait Matchable
class Any
Show all
Self type
object Input extends Simple

View original docs online: https://mui.com/api/input/

View original docs online: https://mui.com/api/input/

Demos:

API:

Attributes

Supertypes
trait Simple
trait FacadeModule
trait FacadeModuleBase
class Object
trait Matchable
class Any
Show all
Self type
Input.type
object Menu extends Simple

View original docs online: https://mui.com/api/menu/

View original docs online: https://mui.com/api/menu/

Demos:

API:

Attributes

Supertypes
trait Simple
trait FacadeModule
trait FacadeModuleBase
class Object
trait Matchable
class Any
Show all
Self type
Menu.type
object MenuButton extends Simple

View original docs online: https://mui.com/api/menu-button/

View original docs online: https://mui.com/api/menu-button/

Demos:

API:

Attributes

Supertypes
trait Simple
trait FacadeModule
trait FacadeModuleBase
class Object
trait Matchable
class Any
Show all
Self type
MenuButton.type
object MenuItem extends Simple

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 Simple
trait FacadeModule
trait FacadeModuleBase
class Object
trait Matchable
class Any
Show all
Self type
MenuItem.type
object MenuProvider extends Simple

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 Simple
trait FacadeModule
trait FacadeModuleBase
class Object
trait Matchable
class Any
Show all
Self type
object Modal extends ChildrenOf[Any]

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 FacadeModule
trait FacadeModuleBase
class Object
trait Matchable
class Any
Show all
Self type
Modal.type
object NoSsr extends Simple

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 Simple
trait NodeChildren
trait FacadeModule
trait FacadeModuleBase
class Object
trait Matchable
class Any
Show all
Self type
NoSsr.type
object NumberInput extends Simple

View original docs online: https://mui.com/api/number-input/

View original docs online: https://mui.com/api/number-input/

Demos:

API:

Attributes

Supertypes
trait Simple
trait FacadeModule
trait FacadeModuleBase
class Object
trait Matchable
class Any
Show all
Self type
object Option extends FacadeModule

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 FacadeModule
trait FacadeModuleBase
class Object
trait Matchable
class Any
Self type
Option.type
object OptionGroup extends Simple

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 Simple
trait FacadeModule
trait FacadeModuleBase
class Object
trait Matchable
class Any
Show all
Self type
object Popper extends ChildrenOf[VdomNode | Any => Any]

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 FacadeModule
trait FacadeModuleBase
class Object
trait Matchable
class Any
Show all
Self type
Popper.type
object Popup extends Simple

View original docs online: https://mui.com/api/popup/

View original docs online: https://mui.com/api/popup/

Demos:

API:

Attributes

Supertypes
trait Simple
trait FacadeModule
trait FacadeModuleBase
class Object
trait Matchable
class Any
Show all
Self type
Popup.type
object Portal extends Simple

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 Simple
trait NodeChildren
trait FacadeModule
trait FacadeModuleBase
class Object
trait Matchable
class Any
Show all
Self type
Portal.type
object Select extends Simple

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 Simple
trait FacadeModule
trait FacadeModuleBase
class Object
trait Matchable
class Any
Show all
Self type
Select.type
object SelectProvider extends Simple

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 Simple
trait FacadeModule
trait FacadeModuleBase
class Object
trait Matchable
class Any
Show all
Self type
object Slider extends Simple

View original docs online: https://mui.com/api/slider/

View original docs online: https://mui.com/api/slider/

Demos:

API:

Attributes

Supertypes
trait Simple
trait FacadeModule
trait FacadeModuleBase
class Object
trait Matchable
class Any
Show all
Self type
Slider.type
object Snackbar extends Simple

View original docs online: https://mui.com/api/snackbar/

View original docs online: https://mui.com/api/snackbar/

Demos:

API:

Attributes

Supertypes
trait Simple
trait FacadeModule
trait FacadeModuleBase
class Object
trait Matchable
class Any
Show all
Self type
Snackbar.type
object Switch extends Simple

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 Simple
trait FacadeModule
trait FacadeModuleBase
class Object
trait Matchable
class Any
Show all
Self type
Switch.type
object Tab extends Simple

View original docs online: https://mui.com/api/tab/

View original docs online: https://mui.com/api/tab/

Demos:

API:

Attributes

Supertypes
trait Simple
trait FacadeModule
trait FacadeModuleBase
class Object
trait Matchable
class Any
Show all
Self type
Tab.type
object TabPanel extends Simple

View original docs online: https://mui.com/api/tab-panel/

View original docs online: https://mui.com/api/tab-panel/

Demos:

API:

Attributes

Supertypes
trait Simple
trait NodeChildren
trait FacadeModule
trait FacadeModuleBase
class Object
trait Matchable
class Any
Show all
Self type
TabPanel.type
object TablePagination extends FacadeModule

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 FacadeModule
trait FacadeModuleBase
class Object
trait Matchable
class Any
Self type
object Tabs extends Simple

View original docs online: https://mui.com/api/tabs/

View original docs online: https://mui.com/api/tabs/

Demos:

API:

Attributes

Supertypes
trait Simple
trait NodeChildren
trait FacadeModule
trait FacadeModuleBase
class Object
trait Matchable
class Any
Show all
Self type
Tabs.type
object TabsList extends Simple

View original docs online: https://mui.com/api/tabs-list/

View original docs online: https://mui.com/api/tabs-list/

Demos:

API:

Attributes

Supertypes
trait Simple
trait NodeChildren
trait FacadeModule
trait FacadeModuleBase
class Object
trait Matchable
class Any
Show all
Self type
TabsList.type
object TabsListProvider extends Simple

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 Simple
trait FacadeModule
trait FacadeModuleBase
class Object
trait Matchable
class Any
Show all
Self type
object TabsProvider extends Simple

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 Simple
trait FacadeModule
trait FacadeModuleBase
class Object
trait Matchable
class Any
Show all
Self type
object TextareaAutosize extends Simple

View original docs online: https://mui.com/api/textarea-autosize/

Attributes

Supertypes
trait Simple
trait FacadeModule
trait FacadeModuleBase
class Object
trait Matchable
class Any
Show all
Self type