Questions tagged [base-ui]

This tag should be used for questions regarding Base UI: a library of unstyled React UI components and low-level hooks. This open-source project is maintained by MUI.

Related tags

  • for questions that are React-related.
  • for questions that are Material UI related, another open-source UI library by MUI.
  • for questions that are Joy UI related, another open-source UI library by MUI.
  • for questions that are MUI X related, another open-source UI library by MUI.
3 questions
2
votes
1 answer

Styled Base UI component with parameter throws TypeScript error

This tsx code: import React from "react"; import BaseButton from "@mui/base/Button"; import styled from "@emotion/styled"; export const enum BUTTON_TYPE { MAIN = "main", LINK = "link", } const Button = ({ text, type, }: { text: string; …
Csati
  • 1,251
  • 1
  • 15
  • 28
2
votes
2 answers

Module not found: Error: Can't resolve '@mui/base'

I just installed Material UI, and found messages like this: Compiled with problems: ERROR in ./node_modules/@mui/material/AccordionActions/AccordionActions.js 7:0-70 Module not found: Error: Can't resolve '@mui/base' in…
Kholiq
  • 45
  • 2
  • 6
0
votes
0 answers

How to get ThemeProvider in MUI BaseUi working

I was trying to create a themed app with MUI BaseUi using ThemeProvider and createTheme as described in the docs. But in my app the theme is not used. I am using @mui/base 5.0.0-beta.8 together with @mui/system 5.14.1 and @emotion/react…
robbit
  • 407
  • 3
  • 11