Repository navigation
Releases
v2.3.2 - Docs website moved to mui-components.nishkohli.in
Released - 18 November, 2026
🔧 Maintenance
- Docs website moved to mui-components.nishkohli.in. The
homepagefield, READMEs and the JSDoc links on components and helpers now point to the new domain. - READMEs: Ramakanth Evani moved to a new Past Sponsors section.
v1.4.2 - Docs website moved to mui-components.nishkohli.in
Released - 18 November, 2026
🔧 Maintenance
- Docs website moved to mui-components.nishkohli.in. The
homepagefield, READMEs and the JSDoc links on components and helpers now point to the new domain. - READMEs: Ramakanth Evani moved to a new Past Sponsors section.
v2.3.1 - Fix ConfigProvider sx merging; docs: prop links in Contents
Released - 13 October, 2026
📖 Docs
- Ask AI:
apps/ragembedscript now finds stale vectors by listing the Pinecone index itself instead of relying only on the localembed-manifest.json. Renaming or removing a doc section while the manifest was out of sync (e.g. reset, or embedded from another machine) left orphan vectors in Pinecone that were never deleted, so Ask AI kept retrieving chunks for pages and sections that no longer exist. - The page's "Contents" sidebar now lists each prop of the API table as a link under API (collapsible, with deep links such as
#prop-fieldName), and the page padding is adjusted so docs pages leave room for the Contents rail while the Examples pages keep their full width. - Every component page now states everything its
onValueChangereceives (for example{ newValue, event },{ newValue, context }or{ color, colorValue, setColor }), right after the first usage example. TheMUIColorPickerpage also no longer listshslas acolorValueformat; it ishex,rgborhsv, set byvalueKey. - Increase the number of Algolia Docsearch results from 5 to 10.
- Update package README: the "Why" and "Features" sections are merged and now include a before/after comparison with plain Material UI.
🔧 Maintenance
- Removed
@mui/systemfrompeerDependencies. The only import of it was a type (ResponsiveStyleValue, used forMUIUnitInput'sunitWidth), which is now declared in the package;@mui/materialalready depends on@mui/system. Nothing changes for consumers.
🐞 Bug Fixes
ConfigProvider:defaultFormLabelSx,defaultFormControlLabelSxanddefaultFormHelperTextSxaccept anySxPropsvalue, but objects were spread onto the defaults, so a theme callback or an array lost its styles. They are now combined withmergeSx, andMUIComponentsConfiguses theSxProps/Themetypes from@mui/material/styles, the same as the components.
v1.4.1 - Fix ConfigProvider sx merging- #46
Released - 13 October, 2026
🔧 Maintenance
- Removed
@mui/systemfrompeerDependencies. The only import of it was a type (ResponsiveStyleValue, used forMUIUnitInput'sunitWidth), which is now declared in the package;@mui/materialalready depends on@mui/system. Nothing changes for consumers.
🐞 Bug Fixes
ConfigProvider:defaultFormLabelSx,defaultFormControlLabelSxanddefaultFormHelperTextSxaccept anySxPropsvalue, but objects were spread onto the defaults, so a theme callback or an array lost its styles. They are now combined withmergeSx, andMUIComponentsConfiguses theSxProps/Themetypes from@mui/material/styles, the same as the components.
v2.3.0 - MUITextArea; comprehensive component docs, bug fixes & SEO improvements
Released - 9 October, 2026
✨ Enhancements
- New Component -
MUITextArea: A controlled multiline text field with built-in label, error and helper-text handling.maxCharscaps the length — typing stops at the limit and pasted text is cut to fit.showCharLimitrenders acurrent/maxcounter inside the field, andrenderCharLimitreplaces its content with your own node. - New helper -
mergeSx: exported from@nish1896/mui-components/form-helpers. It merges any number ofsxvalues (objects, theme callbacks and arrays, plusfalse/null/undefinedfor conditional styles) into onesxarray without losing styles, so components that accept ansxprop can combine it with their own base styles. - Helper functions now link to the respective docs page from their JSDoc.
📖 Docs
- Added comprehensive details for each component, especially under the Usage section, with a detailed guide on how to customize the behavior and UI of every component.
- Examples: the complete-form examples (State, React Hook Form, Formik and TanStack) now include
MUITextArea,MUIUnitInput,MUIOTPInput,MUINumberStepperandMUITipTapRte, which were missing from the demos. Their fields and imports now follow the same order as the sidebar, with the combined Slider/Rating and Checkbox/Switch demos split into one per component. - SEO: the homepage
rel=canonicalandog:urlresolved to/indexinstead of/, conflicting with the sitemap and JSON-LD. Both are now pinned to the site root, and/indexpermanently redirects (308) to/so the homepage has a single URL. - SEO: component page titles now include a descriptor people actually search for, e.g.
MUITextField — Material UI Text Field for React, and drop the| MUI Componentssuffix. All page titles stay within 60 characters. - SEO: sitemap
lastmodwas being stamped from Vercel's shallow git clone, where every file resolves to the same boundary commit, so unrelated pages shared one date. The generator now keeps the committed dates on shallow clones, and a page's date also tracks its props table, demo form (and, for the homepage,components/home) — not justpage.mdx.
🐞 Bug Fixes
-
Label placement: for fields with no inline label (
MUISlider,MUIRating,MUINativeSelect,MUIRadioGroup,MUICheckboxGroup,MUIColorPicker,MUIRichTextEditorandMUITipTapRte), theallLabelsAboveFieldsconfig overrode theshowLabelAboveFormFieldprop, so a field could not opt out of a globalallLabelsAboveFields.The prop now takes precedence over the config in every component, as the docs describe.Apart from
MUIRichTextEditor, these fields also keep an accessible name (aria-label) when the visible label is hidden through the prop, andMUIOTPInputnames its group when its label is hidden. -
All form components:
helperText={0}was not rendered because the helper-text visibility check used a truthiness test. The number0now renders;undefined,null,falseand''still render nothing. -
Option-based components (
MUISelect,MUINativeSelect,MUIAutocomplete,MUIAutocompleteObject,MUIMultiAutocomplete,MUIMultiAutocompleteObject,MUICheckboxGroup,MUIRadioGroupandMUIUnitInput) now validate their options on render. A clear error is thrown when the options aren't an array, or when they are objects andlabelKeyorvalueKeyis missing, instead of silently rendering[object Object]. -
MUIMultiAutocomplete: withfreeSolo, typing text that matched an already-selected option (e.g.rewhileReactis selected) and then blurring the field deselected that option, becauseautoSelectmade MUI toggle the highlighted option on blur. Blurring no longer removes a selected value; only the chip's delete icon or Backspace does. -
MUIOTPInput: with many boxes on a small viewport (e.g. a 10-character license key), the default horizontal padding of each input could exceed the shrunken box width and hide the typed character. The padding is now dropped so the character stays visible, and the separators no longer shrink. -
Remove the deprecated
idprop fromMUIRichTextEditor
v1.4.0 - TextArea component and bug fixes- #44
Released - 9 October, 2026
✨ Enhancements
- New Component -
MUITextArea: A controlled multiline text field with built-in label, error and helper-text handling.maxCharscaps the length — typing stops at the limit and pasted text is cut to fit.showCharLimitrenders acurrent/maxcounter inside the field, andrenderCharLimitreplaces its content with your own node. mergeSxis now exported from@nish1896/mui-components/form-helpersand accepts falsy values (false,null,undefined), so conditional styles can be passed inline.- Helper functions now link to the respective docs page from their JSDoc.
🐞 Bug Fixes
-
Label placement: for fields with no inline label (
MUISlider,MUIRating,MUINativeSelect,MUIRadioGroup,MUICheckboxGroup,MUIColorPicker,MUIRichTextEditorandMUITipTapRte), theallLabelsAboveFieldsconfig overrode theshowLabelAboveFormFieldprop, so a field could not opt out of a globalallLabelsAboveFields.The prop now takes precedence over the config in every component, as the docs describe.Apart from
MUIRichTextEditor, these fields also keep an accessible name (aria-label) when the visible label is hidden through the prop, andMUIOTPInputnames its group when its label is hidden. -
All form components:
helperText={0}was not rendered because the helper-text visibility check used a truthiness test. The number0now renders;undefined,null,falseand''still render nothing. -
Option-based components (
MUISelect,MUINativeSelect,MUIAutocomplete,MUIAutocompleteObject,MUIMultiAutocomplete,MUIMultiAutocompleteObject,MUICheckboxGroup,MUIRadioGroupandMUIUnitInput) now validate their options on render. A clear error is thrown when the options aren't an array, or when they are objects andlabelKeyorvalueKeyis missing, instead of silently rendering[object Object]. -
MUIMultiAutocomplete: withfreeSolo, typing text that matched an already-selected option (e.g.rewhileReactis selected) and then blurring the field deselected that option, becauseautoSelectmade MUI toggle the highlighted option on blur. Blurring no longer removes a selected value; only the chip's delete icon or Backspace does. -
MUIOTPInput: with many boxes on a small viewport (e.g. a 10-character license key), the default horizontal padding of each input could exceed the shrunken box width and hide the typed character. The padding is now dropped so the character stays visible, and the separators no longer shrink. -
Remove the deprecated
idprop fromMUIRichTextEditor
v2.2.3 - Deprecate id prop in MUIRichTextEditor, docs UI enhancements
Released - 29 September, 2026
⚠️ Deprecations
MUIRichTextEditor:idprop is deprecated, will be removed in the next minor release. UsecustomIds.fieldto assign an id to theCKEditorinstance instead.
📖 Docs
- Ask AI:
renderInlineMd/renderAnswerBlocksnow only render a[label](url)link when the URL is same-origin or points tomui.com— the answer text is LLM output over retrieved chunks, so any other link (e.g. from a prompt-injection attempt) is now shown as plain text instead of a clickable link. build-docs.ymlandalgolia-reindex.yml: added an explicitpermissions: { contents: read }block instead of relying on the default (write-capable)GITHUB_TOKENscope.algolia-reindex.yml: moved the Algolia crawler credentials from thecurlcommand line intoenvvars, so they no longer appear in the process table.- Remove unused
/api/askApi. - Ask AI: the answer cache (
answerCache.ts) is embedding-similarity keyed, so a jailbroken answer containing an attacker-chosen link could previously get replayed to other visitors asking a near-duplicate question./api/answernow skips caching whenever the synthesized answer contains an external link that isn't verbatim present in the content of the chunks actually used to generate it. - Theme bootstrap now delegates to MUI's
InitColorSchemeScriptinstead of a hand-rolled inline script, removing a flash-of-wrong-theme window on first load and reload while keeping Algolia DocSearch'sdata-themeattribute in sync. - Install command's copy button now shows a clipboard icon with a small checkmark badge on successful copy, replacing the plain "Copy"/"Copied" text button.
- Prioritize props in algolia search results.
- Separate dev and production indexes for Algolia DocSearch.
v1.3.2 - MUIRichTextEditor: deprecate id prop
Released - 29 September, 2026
⚠️ Deprecations
MUIRichTextEditor:idprop is deprecated, will be removed in the next minor release. UsecustomIds.fieldto assign an id to theCKEditorinstance instead.
v2.2.2 - Implement "Ask AI" in docs, link component props and source code
Released - 20 September, 2026
✨ Enhancements
- Added Ask AI: a RAG-powered chat assistant on the docs site. Answers are grounded in the component library's own docs — props tables, usage guides, JSDocs — embedded with OpenAI and retrieved from a Pinecone vector index, with lexical rescue for exact component/prop-name matches and per-IP rate limiting on the answer endpoint.
📖 Docs
- Each prop in a component's API table is now individually linkable (
#prop-<name>) — hover a row to reveal a permalink, shareable and stable across doc versions. - Added a Source Code section to every component's doc page, linking straight to its implementation on GitHub — pinned to the exact tag/branch that page's content was built from.
- Fixed inline
<code>spans (e.g.useState) not getting the docs site's code styling in a few places outside the main article content — now applied via a single global rule instead of a per-page class, so it can't be missed again. - Algolia search results refinement in
DocSearchcomponent usingtransformItems: dropped duplicate rows for the same page (a page's base hit and its own anchor hit were showing up as two separate results) and stripped the redundant| MUI Componentssuffix from every result title. - Added an
algolia-reindexGitHub Action that triggers the Algolia Crawler on every push tomain, so the search index picks up new/changed docs without waiting for its monthly schedule.
v2.2.1 - Algolia DocSearch and add Sponsors Section
Released - 17 September, 2026
📖 Docs
- Added an Algolia-powered search bar for faster and easier documentation navigation.
- Replace npm and github icons sourced from
img.icons8with locally hosted assets. - Add TrustedBadges section in Homepage.
- Added "Sponsors" section in docs homepage and package
README.md
🐞 Bug Fixes
- Fixed the
MUIPhoneInputlink on theUnitInputdocumentation page.