Skip to content

Migrating from iTwinUI

Learn how to migrate from iTwinUI to StrataKit

This guide provides the necessary steps for migrating from iTwinUI to StrataKit.

  1. Set up StrataKit

    Follow the set up StrataKit guide to install the necessary dependencies and set up your project.

  2. Enable the StrataKit theme bridge

    Pass the StrataKit Root into the as prop of the iTwinUI ThemeProvider to render a single DOM element.

    <ThemeProvider
    theme={theme}
    as={Root}
    >
    {/* … */}
    </ThemeProvider>

    Specify the Root props directly on the ThemeProvider component.

    <ThemeProvider
    theme={theme}
    as={Root}
    colorScheme={theme}
    >
    {/* … */}
    </ThemeProvider>

    Finally, activate the themeBridge future flag.

    <ThemeProvider
    theme={theme}
    as={Root}
    colorScheme={theme}
    future={{ themeBridge: true }} // or future={true}
    >
    {/* … */}
    </ThemeProvider>
  3. Replace @itwin/itwinui-icons-react with @stratakit/icons

    Replace the usage of iTwinUI icons from @itwin/itwinui-icons-react with their StrataKit counterparts. Refer to the use StrataKit icons section below for the full icon mapping.

    import { SvgAdd } from '@itwin/itwinui-icons-react';
    <SvgAdd />
    import { Icon } from "@stratakit/mui";
    import { svgAdd } from "@stratakit/icons/add";
    <Icon href={svgAdd} />

    Once all usage of @itwin/itwinui-icons-react has been replaced, it is safe to remove the dependency.

    Terminal window
    npm uninstall @itwin/itwinui-icons-react
  4. Replace usage of @itwin/itwinui-react

    Replace the usage of components from @itwin/itwinui-react with their StrataKit counterparts. Some components are provided by @mui/material, while others live in @stratakit/structures. Refer to the use StrataKit components section below for the full component mapping.

    Once all usage of @itwin/itwinui-react has been replaced, it is safe to remove the dependency.

    Terminal window
    npm uninstall @itwin/itwinui-react

By default, StrataKit uses its preferred “aurora” green accent color. Some legacy applications rely on a blue accent color, especially when parts of the UI are not implemented with up-to-date iTwinUI components. In these cases, the aurora accent color can clash with the existing UI or require significant adjustments to it.

To ease the visual transition, use StrataKit’s “cobalt” accent color, which is designed for better compatibility with iTwinUI’s color palette. Set the unstable_accentColor prop on the Root component to apply the accent color to all StrataKit components.

<ThemeProvider
theme={theme}
as={Root}
colorScheme={theme}
future={true}
unstable_accentColor="cobalt"
>
{/* … */}
</ThemeProvider>

Once the visual transition is complete, remove the unstable_accentColor prop to continue using StrataKit’s preferred accent color.

Replace iTwinUI icons with their StrataKit counterparts using the mapping below.

iTwinUI iconStrataKit icon
2d2d
3d3d
activityactivity
add-circularadd-circle
addadd
airplaneairplane
align-bottomalign-bottom
align-center-horizontalalign-center-horizontal
align-center-verticalalign-center-vertical
align-leftalign-left
align-rightalign-right
align-topalign-top
androidbrand-android
annotationannotation
applebrand-apple
archivearchive
arrow-downarrow-down
arrow-leftarrow-left
arrow-rightarrow-right
arrow-uparrow-up
attachattach
automaticautomagic
awayuser-away
basketbasket
bentley-systemsbrand-bentley-systems
blank-
boltbolt
bookmarkbookmark
calendarcalendar
camera-animation-disabledcamera-video-disabled
camera-animationcamera-video
camera-retakecamera-retake
cameracamera
caret-down-smallcaret-down
caret-downcaret-down
caret-left-smallcaret-left
caret-leftcaret-left
caret-right-smallcaret-right
caret-rightcaret-right
caret-up-smallcaret-up
caret-upcaret-up
chartschart-bar
chatchat
checkbox-deselectcheckbox-deselect
checkbox-selectcheckbox-select
checkmark-smallcheckmark
checkmarkcheckmark
chevron-downchevron-down
chevron-left-doublechevron-left-double
chevron-leftchevron-left
chevron-right-doublechevron-right-double
chevron-right-smallchevron-right
chevron-rightchevron-right
chevron-upchevron-up
circlecircle
clashclash
clipboardclipboard
clockclock
close-circulardismiss-circle
close-smalldismiss
closedismiss
cloud-downloadcloud-download
cloud-uploadcloud-upload
cloudcloud
collapse-allcollapse-rows-all
collapsecollapse-rows
column-managercolumn-manage
comparecompare
computercomputer
configurationconfiguration
copycopy
cropcrop
crowncrown
cursor-clickcursor-click
cursorcursor
cutcut
databasedatabase
deletedelete
detailsdetails
developerdeveloper
disconnectdisconnect
distribute-bottom-
distribute-center-horizontaldistribute-center-horizontal
distribute-center-verticaldistribute-center-vertical
distribute-leftdistribute-left
distribute-rightdistribute-right
distribute-topdistribute-top
dock-bottomdock-bottom
dock-leftdock-left
dock-rightdock-right
dock-topdock-top
document-lockdocument-locked
document-referencedocument-reference
documentdocument-blank
documentationdocumentation
downloaddownload
drag-handle-verticaldrag-handle-vertical
drag-handledrag-handle-horizontal
drawdraw
duplicateduplicate
edit-alledit-all
editedit
ellipseellipse
email-atemail-at
emailemail
exitexit
expand-allexpand-rows-all
expandexpand-rows
exportexport
eyedropper-dropeyedropper-drop
eyedropper-filledeyedropper-filled
eyedroppereyedropper
fast-backwardfast-backward
fast-forwardfast-forward
feedbackfeedback
filter-hollowfilter
filterfilter
findfind
fire-extinguisherfire-extinguisher
fit-to-viewfit-to-view
flagflag
folder-addfolder-add
folder-browsefolder-browse
folder-chevron-downfolder-chevron-down
folder-chevron-upfolder-chevron-up
folder-exportfolder-export
folder-importfolder-import
folder-lockfolder-lock
folder-minimize-
folder-openedfolder-open
folder-removefolder-remove
folder-shortcutfolder-shortcut
folderfolder
font-boldfont-bold
font-colorfont-color
font-italicfont-italic
font-sizefont-size
formsform
frame-backwardframe-backward
frame-forwardframe-forward
functionfunction
geosearchgeolocate
gesture-one-finger-draggesture-one-finger-drag
gesture-one-finger-tap-doublegesture-one-finger-double-tap
gesture-one-finger-tapgesture-one-finger-tap
gesture-pinchgesture-pinch
gesture-touchgesture-touch
gesture-two-finger-draggesture-two-finger-drag
gesture-two-finger-tapgesture-two-finger-tap
gesture-two-fingergesture-two-finger
globeglobe
go-to-endgo-to-end
go-to-startgo-to-start
graph-barchart-bar
graph-pie-chartchart-pie
graph-scatter-chartgraph-scatter-chart
graphchart-line
gridgrid
group-ungroupungroup
groupgroup
handhand
heartheart
help-circular-hollowhelp
help-circularhelp
hide-manually-suppressed-
hide-rule-suppressed-
hierarchy-treehierarchy-tree
historyhistory
homehome
hourglasshourglass
i-beami-beam
image-frameimage
imageimage
imodel-hollowimodel
imodelimodel
importimport
important-smallimportant
important-veryimportant-very
importantimportant
info-circular-hollowinfo
info-circularinfo
infoinfo
installinstall
isolateisolate
issue-reportissue
item-
itwinitwin
keykey
labellabel
layerslayers
lightbulb-hollowlightbulb
lightbulblightbulb
lineline
linklink
listlist
locationlocation
lock-unlockedlock-unlocked
locklock
looploop
maintenancemaintenance
managermanager
map-infomap-info
mapmap
measuremeasure
menumenu
mergemerge
minimizeminus
modelmodel
moonmoon
more-circularmore-horizontal-circle
more-smallmore-horizontal-circle
more-vertical-circularmore-vertical-circle
more-vertical-smallmore-vertical-circle
more-verticalmore-vertical
moremore-horizontal
mouse-click-leftmouse-click-left
mouse-click-rightmouse-click-right
mouse-click-wheelmouse-click-middle
mouse-clickmouse-click
movemove
named-version-addadd
networknetwork
newnew
newsnews
notification-settingsnotifications-settings
notificationnotifications
object-moveobject-move
object-rotateobject-rotate
object-scaleobject-scale
offlinecloud-offline
paintbrushpaint-brush
palettepalette
panorama-modelpanorama-model
panoramapanorama
paste-hollowclipboard
pasteclipboard
pause-circularpause-circle
pausepause
perspectiveperspective
pin-hollowpin
pin-unpinpin-unpin
pinpin
placeholderplaceholder
play-backwardplay-backward
play-circularplay-circle
playplay
pluginplugins
polygonpolygon
print-previewprint-preview
print-settingsprint-settings
printprint
processprocess
progress-backward-circularchevron-left
progress-backwardchevron-left
progress-forward-circularchevron-right
progress-forwardchevron-right
projectproject
properties-listsettings
propertiesproperties
puzzlepuzzle
re-centerre-center
read-onlyread-only
reality-meshreality-mesh
recordrecord
recordsrecords
rectanglerectangle
redoredo
refreshrefresh
removedismiss
renamerename
reorderreorder
replacereplace
reportsreport
roadroad
rotate-leftrotate-left
rotate-rightrotate-right
save-assave-as
save-settingssave-settings
save-update-
savesave
saved-viewsaved-views
scaleobject-scale
screenshare-stopscreenshare-stop
screensharescreenshare
script-runscript-run
script-statusscript-status
scriptscript
searchsearch
selection-clearselection-clear
selectionselection
sendsend
settingssettings
setupsetup
shareshare
smartphonesmartphone
smiley-happy-hollowsmiley-happy
smiley-happy-very-hollowsmiley-very-happy
smiley-happy-verysmiley-very-happy
smiley-happysmiley-happy
smiley-neutral-hollowsmiley-neutral
smiley-neutralsmiley-neutral
smiley-sad-hollowsmiley-sad
smiley-sad-very-hollowsmiley-very-sad
smiley-sad-verysmiley-very-sad
smiley-sadsmiley-sad
sort-downsort-ascending
sort-menusorting
sort-upsort-descending
sound-loudsound-loud
sound-mutesound-mute
sound-quietsound-quiet
spinspin
star-hollowstar
starstar
status-draftstatus-draft
status-error-hollowstatus-error
status-errorstatus-error
status-pending-hollowstatus-pending
status-pendingstatus-pending
status-rejected-hollowstatus-rejected
status-rejectedstatus-rejected
status-runningstatus-running
status-success-hollowstatus-success
status-successstatus-success
status-updatestatus-update
status-warningstatus-warning
stop-circularstop-circle
stopstop
sunsun
suppress-manuallysuppress
swapswap
sync-disabledcloud-offline
syncloop
table-of-contentstable-of-contents
tabletable
tagtag
technical-preview-badge-bwtechnical-preview-badge
technical-preview-bwtechnical-preview
technical-preview-mini-bwtechnical-preview
text-align-centertext-align-center
text-align-justifytext-align-justify
text-align-lefttext-align-left
text-align-righttext-align-right
text-mediumtext
text-smalltext
texttext
thumbnails-
timertimer
transparencytransparency
tree-navigate-down-
tree-navigate-up-
underlinefont-underline
undoundo
unlinkunlink
upgradeupdate
upload-to-cloudcloud-upload
uploadupload
user-adduser-add
user-restricteduser-restricted
useruser
usersusers
validatevalidate
visibility-emphasizevisibility-emphasis
visibility-halfvisibility-partial
visibility-hidevisibility-hide
visibility-showvisibility-show
walkwalk
wifi-disabledwifi-disabled
wifiwifi
window-addwindow-add
window-areawindow-area
window-backwardwindow-back
window-collapsewindow-collapse
window-forwardwindow-forward
window-full-screenwindow-expand
window-maximizewindow-maximize
window-minimizewindow-minimize
window-popoutwindow-popout
window-settingswindow-settings
window-split-horizontalwindow-split-horizontal
window-split-verticalwindow-split-vertical
window-zoom-inwindow-zoom-in
window-zoom-outwindow-zoom-out
windowwindow
windowsbrand-windows
zoom-in-circularzoom-in-circle
zoom-inzoom-in-magnifier
zoom-out-circularzoom-out-circle
zoom-outzoom-out-magnifier
zoom-searchsearch

Replace iTwinUI components component usage with their MUI counterparts, StrataKit counterparts, or code suggestions.

iTwinUI componentSuggested replacement
AlertMUI Alert
AnchorMUI Link
AvatarMUI Avatar
AvatarGroupMUI AvatarGroup
BadgeMUI Badge
BlockquoteNative <blockquote>
BreadcrumbsMUI Breadcrumbs
ButtonMUI Button
ButtonGroupMUI ButtonGroup or MUI ToggleButtonGroup or StrataKit Toolbar
CarouselNo direct replacement
CheckboxMUI Checkbox
CodeMUI Typography rendered as <code>
ColorPickerComposite color picker
ComboBoxMUI Autocomplete
DatePickerMUI DatePicker or MUI DateCalendar
Dialog and ModalMUI Dialog
DividerMUI Divider
DropdownButtonMUI Button and MUI Menu
DropdownMenuMUI Menu
ExpandableBlockMUI Accordion
FieldsetNative <fieldset>
FileUploadComposite file selection
FlexMUI Stack
FooterComposite footer
HeaderComposite header
IconButtonMUI IconButton
IdeasButtonMUI Button
InformationPanelMUI Drawer
InputMUI TextField or MUI Input
InputGridNo direct replacement
InputGroupMUI FormControl
InputWithDecorationsMUI TextField or MUI Input
KbdMUI Typography rendered as <kbd>
LabelMUI FormLabel or MUI Typography
LinkActionNo direct replacement
ListMUI List
MiddleTextTruncationNo direct replacement
NonIdealStateNo direct replacement
NotificationMarkerMUI Badge
OverlayMUI Backdrop
PanelsNo direct replacement
PopoverMUI Popover
ProgressLinearMUI LinearProgress
ProgressRadialMUI CircularProgress
RadioMUI Radio
RadioTileComposite radio tile
SearchBoxMUI TextField or MUI Input
SelectMUI Select or MUI NativeSelect
SideNavigationStrataKit NavigationRail
SkipToContentLinkComposite skip link
SliderMUI Slider
SplitButtonMUI ButtonGroup and MUI Menu
StatusMessageMUI FormHelperText and MUI Typography
StepperMUI Stepper
SurfaceMUI Paper
TableMUI Table
TabsMUI Tabs
TagMUI Chip
TextMUI Typography
TextareaMUI TextField
TileMUI Card
ToastMUI Snackbar
ToggleSwitchMUI Switch
TooltipMUI Tooltip
TransferListComposite transfer list
TreeStrataKit Tree
VisuallyHiddenMUI visuallyHidden utility

Replace the Alert component from @itwin/itwinui-react with the Alert component from @mui/material. See Alert examples for reference.

  • Replace status with the severity prop.
  • MUI Alert has no equivalent to iTwinUI Alert’s sticky prop. Set the CSS position property to sticky instead.

Replace the Anchor component from @itwin/itwinui-react with the Link component from @mui/material. See Link examples for reference.

Replace the Avatar component from @itwin/itwinui-react with the Avatar component from @mui/material. See Avatar examples for reference.

  • Replace size with the CSS block-size and inline-size properties.
  • Replace status by wrapping the Avatar in Badge.
  • MUI Avatar does not assign background colors automatically like iTwinUI.

Replace the AvatarGroup component from @itwin/itwinui-react with the AvatarGroup component from @mui/material. See AvatarGroup examples for reference.

Replace the Badge component from @itwin/itwinui-react with the Badge component from @mui/material. See Badge examples for reference.

Replace the Blockquote component from @itwin/itwinui-react with the native <blockquote> element.

Replace the Breadcrumbs component from @itwin/itwinui-react with the Breadcrumbs component from @mui/material. See Breadcrumbs examples for reference.

Replace the Button component from @itwin/itwinui-react with the Button component from @mui/material. See Button examples for reference.

  • Replace styleType="cta" with color="primary".
  • Replace styleType="borderless" with variant="text".
  • Replace styleType="high-visibility" with the default Button. If it is the main action of a dialog or page, use color="primary".
  • The size and loading props require no changes.

Replace the ButtonGroup component from @itwin/itwinui-react with the ButtonGroup component from @mui/material. See ButtonGroup examples for reference.

  • Replace <ButtonGroup role="toolbar"> with Toolbar from @stratakit/structures for grouped commands, or with MUI ToggleButtonGroup when the buttons select an option.
  • Replace a ButtonGroup that combines buttons with an Input with TextField and its startAdornment or endAdornment props.

There is no direct replacement for the Carousel component from @itwin/itwinui-react. StrataKit discourages the use of carousels.

Replace the Checkbox component from @itwin/itwinui-react with the Checkbox component from @mui/material. See Checkbox examples for reference.

  • Replace status="negative" with error on a wrapping FormControl and a FormHelperText message. See the Checkbox error example.
  • MUI Checkbox has no equivalent to iTwinUI Checkbox’s loading prop. Render CircularProgress in place of the checkbox while loading.
  • MUI Checkbox has no equivalent to iTwinUI Checkbox’s visibility prop.

Replace the Code component from @itwin/itwinui-react with the Typography component from @mui/material rendered as <code>. See Typography examples for reference.

Replace the ColorPicker component from @itwin/itwinui-react with the color picker composite component.

  • For a limited set of colors, use the Select component from @mui/material instead.

Replace the ComboBox component from @itwin/itwinui-react with the Autocomplete component from @mui/material. See Autocomplete examples for reference.

  • Replace multiple with MUI Autocomplete’s multiple prop.

Replace the DatePicker component from @itwin/itwinui-react with the DatePicker component from @mui/x-date-pickers. See DatePicker examples for reference.

  • Replace enableRangeSelect with two DatePickers, one for the start date and one for the end date.
  • For a standalone calendar, use the DateCalendar component from @mui/x-date-pickers.

Replace the Dialog component from @itwin/itwinui-react with the Dialog component from @mui/material. See Dialog examples for reference.

  • MUI Dialog has no equivalent to iTwinUI Dialog’s isDismissible prop. Add a close IconButton when dismissal is allowed; otherwise, omit it, set disableEscapeKeyDown, and ignore "backdropClick" in onClose.
  • MUI Dialog has no equivalent to iTwinUI Dialog’s isDraggable prop. Implement dragging with react-draggable or another third-party library.
  • MUI Dialog has no equivalent to iTwinUI Dialog’s isResizable prop. To allow resizing, apply CSS resize: both and overflow: auto to the dialog paper using slotProps.paper.className, and set appropriate size limits.
  • Replace styleType="fullPage" with the fullScreen prop.
  • MUI Dialog has no equivalent to iTwinUI Dialog’s placement prop. Position the dialog paper with CSS position: absolute instead.
  • MUI Dialog has no equivalent to iTwinUI Dialog’s non-modal behavior. See MUI’s non-modal dialog guidance.

Replace the Divider component from @itwin/itwinui-react with the Divider component from @mui/material. See Divider examples for reference.

Replace the DropdownButton component from @itwin/itwinui-react with a Button that opens a Menu, both from @mui/material. See Menu examples for reference.

Replace the DropdownMenu component from @itwin/itwinui-react with the Menu component from @mui/material. See Menu examples for reference.

  • Replace a start icon with an Icon inside ListItemIcon before the text in MenuItem.
  • Replace an end icon with an Icon after ListItemText in MenuItem, aligned to the end.
  • Replace a sublabel with ListItemText’s primary and secondary props inside MenuItem.
  • MUI MenuItem has no equivalent to iTwinUI MenuItem’s submenu support.
  • Replace MenuDivider with a Divider between MenuItem components.

Replace the ExpandableBlock component from @itwin/itwinui-react with the Accordion component from @mui/material. See Accordion examples for reference.

  • Replace a caption with two Typography elements inside AccordionSummary.
  • Replace an accordion of blocks with adjacent Accordion components. If only one should be open at a time, control their expanded props with shared state.
  • MUI Accordion has no equivalent to iTwinUI ExpandableBlock’s status prop. Place a status Icon in AccordionSummary instead.
  • MUI Accordion has no equivalent to iTwinUI ExpandableBlock’s size prop. Its default size matches iTwinUI’s size="small".
  • Replace styleType="borderless" with variant="elevation".

Replace the Fieldset component from @itwin/itwinui-react with the native <fieldset> element.

Replace the FileUpload component from @itwin/itwinui-react with the file selection composite component.

Replace the Flex component from @itwin/itwinui-react with the Stack component from @mui/material.

  • Replace gap prop with the spacing prop. Convert the value to a number representing the distance in StrataKit spacing units.
  • Replace the flexDirection property with the direction prop.
  • Remove alignItems, justifyContent, and flexWrap. Apply CSS styling that sets those properties.

Replace the Footer component from @itwin/itwinui-react with the footer composite component.

Replace the Header component from @itwin/itwinui-react with the header composite component.

Replace the IconButton component from @itwin/itwinui-react with the IconButton component from @mui/material. See IconButton examples for reference.

  • Replace styleType="cta" with color="primary" and variant="outlined".
  • Replace styleType="high-visibility" with variant="outlined". If it is the key action, add color="primary".
  • Replace styleType="default" with variant="outlined".
  • Remove styleType="borderless"; the default MUI IconButton appearance is borderless.

Replace the IdeasButton component from @itwin/itwinui-react with the Button component from @mui/material, positioned with CSS. See Button examples for reference.

Replace the InformationPanel component from @itwin/itwinui-react with the Drawer component from @mui/material. See Drawer examples for reference.

  • Replace orientation="vertical" with anchor="right", and orientation="horizontal" with anchor="bottom".
  • MUI Drawer has no equivalent to iTwinUI InformationPanel’s resizable prop. To allow resizing, add a drag handle to the drawer paper and manage its width or height with appropriate limits.

Replace the Input component from @itwin/itwinui-react with the Input or TextField components from @mui/material. See TextField examples for reference.

  • Replace size with size="small" or the default size="medium". There is no equivalent to size="large".
  • Replace status="negative" with TextField’s error and helperText props. There is no equivalent for "positive" or "warning".
  • Replace inline labels by arranging FormLabel and Input side by side with CSS. StrataKit TextField displays its label above the input.
  • Replace an input paired with a button with an IconButton inside InputAdornment in TextField’s slotProps.input.endAdornment.

There is no direct replacement for the InputGrid component from @itwin/itwinui-react, which groups a label, field, and message. Compose an equivalent layout from MUI components instead.

  • For a text input, use TextField with label and helperText, such as <TextField label="Name" helperText="Message" />.
  • For other fields, compose FormControl with the appropriate label and input, plus FormHelperText for the message. Use InputLabel with MUI Select and FormLabel with fields that need a separate label.
  • To preserve iTwinUI’s labelPlacement="inline", place the label and input side by side using Stack or custom layout. Neither TextField nor FormControl provides this layout by default.

Replace the InputGroup component from @itwin/itwinui-react with the FormControl component from @mui/material.

Replace the InputWithDecorations component from @itwin/itwinui-react with the Input or TextField components from @mui/material. Use InputAdornment for content alongside the input, passed through slotProps.input on TextField or directly as props on Input.

  • Replace InputWithDecorations.Icon with an Icon inside InputAdornment in startAdornment or endAdornment.
  • Replace InputWithDecorations.Button with an IconButton inside an end InputAdornment. Additional text, dividers, and actions can be composed in the same adornment with custom layout styling.
  • Replace isDisabled with disabled on the input. Disable interactive adornments separately, since disabling the input does not disable their buttons.

Replace the Kbd component from @itwin/itwinui-react with the Typography component from @mui/material rendered as <kbd>. See Typography examples for reference.

Replace the Label component from @itwin/itwinui-react with the FormLabel component from @mui/material.

There is no direct replacement for the LinkBox and LinkAction components from @itwin/itwinui-react. Use the pseudo-content trick to make the entire element clickable.

Replace the List component from @itwin/itwinui-react with the List component from @mui/material. See List examples for reference.

  • Replace ListItem with MUI ListItem. Replace start icons with an Icon inside ListItemIcon, and end icons with an Icon after ListItemText, aligned to the end.
  • Replace ListItem.Content and ListItem.Description with ListItemText’s primary and secondary props.
  • MUI ListItem has no equivalent to iTwinUI ListItem’s size="large" prop. Use CSS to keep rows without descriptions the same height when needed.
  • Replace actionable and ListItem.Action with ListItemButton inside ListItem. Render it as a link for navigation or keep it as a button for an in-page action. Put independent controls in ListItem’s secondaryAction prop rather than inside the primary action.
  • Replace active and disabled with ListItemButton’s selected and disabled props. selected is visual only; add semantics separately, such as aria-current for navigation or role="option" with aria-selected for a listbox.

There is no direct replacement for the MiddleTextTruncation component from @itwin/itwinui-react. Truncated text can make content harder to discover and read, particularly for people with low vision or cognitive disabilities. See The accessibility pitfalls of truncating text for more detail. Prefer wrapping text onto multiple lines or allowing horizontal scrolling.

There is no direct replacement for the NonIdealState component from @itwin/itwinui-react. Compose an equivalent layout from MUI components instead.

  • Replace heading with Typography rendered as the appropriate heading level.
  • Replace svg with an image or illustration appropriate to the error.
  • Replace actions with Button or Link components.

Replace the NotificationMarker component from @itwin/itwinui-react with the Badge component from @mui/material. See Badge examples for reference.

  • Replace the wrapped content by wrapping the same icon or control in Badge. Set variant="dot" for a direct replacement, or variant="standard" to show a count.
  • Replace enabled={false} with invisible.
  • Replace status with the color prop. There is no equivalent for status="white".
  • MUI Badge has no equivalent to iTwinUI NotificationMarker’s pulsing prop.

Replace the Overlay component from @itwin/itwinui-react with the Backdrop component from @mui/material. See Backdrop examples for reference.

  • Replace content with Backdrop’s children, such as a loading message or CircularProgress. Control visibility with the open prop.
  • iTwinUI Overlay blurs its children and makes them inert. MUI Backdrop only covers them visually. Set inert on the underlying content while the backdrop is shown, keep the backdrop outside the inert subtree, and add a blur with CSS if needed.
  • To cover only a section, place the backdrop in a positioned wrapper and position it with CSS. MUI Backdrop is fixed to the viewport by default.
  • For a loading state, describe it in accessible text and set aria-busy on the affected region. Use a Dialog instead if the foreground requires modal interaction and focus management.

There is no direct replacement for the Panels component from @itwin/itwinui-react. iTwinUI marked Panels as unstable, so StrataKit does not currently provide a supported equivalent.

Replace the Popover component from @itwin/itwinui-react with the Popover component from @mui/material. See Popover examples for reference.

  • MUI Popover does not wrap its trigger. Render the trigger button separately, store it as anchorEl, and toggle open from its onClick. Set aria-haspopup="dialog" and aria-expanded on the trigger.
  • Replace content with Popover’s children.
  • Replace visible and onVisibleChange with open and onClose.
  • Replace placement with anchorOrigin and transformOrigin.
  • Replace positionReference with anchorEl set to the reference element.

Replace the ProgressLinear component from @itwin/itwinui-react with the LinearProgress component from @mui/material. See LinearProgress examples for reference.

  • MUI LinearProgress is indeterminate by default. When passing value, also set variant="determinate".
  • Remove isAnimated. MUI LinearProgress animates value changes by default.
  • Replace status with the color prop.
  • Replace labels with Typography.
  • iTwinUI adds a visually hidden “Loading” label automatically. With MUI, label the bar with aria-labelledby pointing to the visible label, or aria-label.

Replace the ProgressRadial component from @itwin/itwinui-react with the CircularProgress component from @mui/material. See CircularProgress examples for reference.

  • MUI CircularProgress is indeterminate by default. When passing value, also set variant="determinate".
  • Replace status with the color prop.
  • Replace size with the size prop, which accepts a pixel value.
  • MUI CircularProgress has no equivalent to iTwinUI ProgressRadial’s children. Position content over it with CSS. See the determinate example.
  • iTwinUI adds a visually hidden “Loading” label automatically. With MUI, label the indicator with aria-labelledby pointing to the visible label, or aria-label.

Replace the Radio component from @itwin/itwinui-react with the Radio component from @mui/material. See Radio examples for reference.

  • Replace label by wrapping the Radio in FormControlLabel and passing the text to its label prop.
  • Replace labelProps with FormControlLabel’s slotProps.typography, and wrapperProps with props on FormControlLabel.
  • Group radios in RadioGroup inside <FormControl render={<fieldset />} role="radiogroup"> with a FormLabel rendered as <legend>. Move name to RadioGroup.
  • Replace status="negative" with error on FormControl and a FormHelperText message. See the Radio error example. There is no equivalent for "positive" or "warning".

Replace the RadioTile component from @itwin/itwinui-react with the radio tile composite component.

Replace the SearchBox component from @itwin/itwinui-react with the Input or TextField components from @mui/material. See the TextField search example for reference.

Replace the Select component from @itwin/itwinui-react with the Select or NativeSelect components from @mui/material. See Select examples for reference.

  • Replace options with MenuItem children.
    • Replace each option’s value with the value prop on MenuItem.
    • For options without icons, pass the label as the direct child of MenuItem.
    • For options with icons, use ListItemIcon and ListItemText inside MenuItem. See the Select icon example.
  • Replace status="negative" with error on a wrapping FormControl and a FormHelperText message.
  • Replace placeholder with a disabled MenuItem. See the MUI Select placeholder example.

Replace the SideNavigation component from @itwin/itwinui-react with the NavigationRail component from @stratakit/structures. See NavigationRail examples for reference.

  • Replace items with NavigationRail.Anchor or NavigationRail.Button children of NavigationRail.Content.
  • Replace secondaryItems with NavigationRail.Anchor or NavigationRail.Button children of NavigationRail.Footer.
  • Remove expanderPlacement. StrataKit supports a single expander location.
  • Replace isExpanded with expanded when managing the expanded state.
  • Replace onExpandedClick with setExpanded when managing the expanded state.
  • Remove styleType="borderless". StrataKit does not support this appearance.

Replace the SkipToContentLink component from @itwin/itwinui-react with the skip link composite component.

Replace the Slider component from @itwin/itwinui-react with the Slider component from @mui/material. See Slider examples for reference.

  • Replace values with value or defaultValue. Pass a single number for a single value, or [number, number] for a range.
  • Replace trackDisplayMode="none" with track={false}.
  • Replace trackDisplayMode="even-segments" with track="inverted".
  • Replace trackDisplayMode="odd-segments" with track="normal", or remove it.
  • Replace trackDisplayMode="auto" with track="normal" or track="inverted". If the number of values varies, alternate between them based on the count.
  • Replace tickLabels with the marks prop. See the Slider marks example.
    • Use marks={true} to place a mark at every step.
    • Use marks={array} to provide custom values and labels.
  • Replace tooltipProps with valueLabelDisplay. Set it to "off" to hide the value label when the value is displayed elsewhere.
  • Replace minLabel and maxLabel with a Stack that wraps the labels and Slider. See the Slider tooltip example.

Replace the SplitButton component from @itwin/itwinui-react with a ButtonGroup containing two Buttons, both from @mui/material. The first runs the primary action; the second opens a Menu of alternatives. See the split button example.

Replace the StatusMessage component from @itwin/itwinui-react with a FormHelperText and Typography components from @mui/material.

Replace the Stepper component from @itwin/itwinui-react with the Stepper component from @mui/material. See Stepper examples for reference.

  • The default type requires no changes.
  • Replace type="long" with a custom implementation based on the long stepper example.
  • For smaller viewports, consider MobileStepper.

Replace the Surface component from @itwin/itwinui-react with the Paper component from @mui/material. See Paper examples for reference.

  • Replace elevation using the table below. Both components have an elevation prop, but the scales differ.
Surface.elevationPaper.elevation
01
14
27
313
417
524
  • Replace Surface.Header with Card, or with your own styling using Typography.

Replace the Table component from @itwin/itwinui-react with the Table component from @mui/material. See Table examples for reference.

Replace the Tabs component from @itwin/itwinui-react with the Tabs component from @mui/material. See Tabs examples for reference.

  • Replace Tabs.Panel with <div role="tabpanel">. See the Tabs example implementation for display and labeling details.
  • Remove type. StrataKit uses a single tab appearance and has no equivalent to "borderless" or "pills".
  • Replace color with textColor. See the Tabs colors example.
  • Replace Tab.Label and Tab.Description with two Typography elements as the Tab content.

Replace the Tag component from @itwin/itwinui-react with the Chip component from @mui/material. See Chip examples for reference.

Replace the Text component from @itwin/itwinui-react with the Typography component from @mui/material. See Typography examples for reference.

  • Replace variant with Typography’s variant prop to control visual size.
  • Replace as with the render prop to control the semantic element.

Replace the Textarea component from @itwin/itwinui-react with the TextField component from @mui/material and set multiline. See the TextField multiline example for reference.

Replace the Tile component from @itwin/itwinui-react with the Card component from @mui/material. See Card examples for reference.

  • Replace Tile.Action with CardActionArea.
  • Replace Tile.Buttons with CardActions.
  • Replace Tile.ThumbnailPicture with CardMedia.
  • Replace a thumbnail avatar with a large Avatar inside CardMedia, centered with CSS.

Replace the Toast component from @itwin/itwinui-react with the Snackbar component from @mui/material. See Snackbar examples for reference.

  • MUI Snackbar shows one notification at a time. See MUI’s examples for consecutive snackbars and stacking alternatives.
  • MUI Snackbar closes on the next click outside it, rather than after a timeout. This is preferred because it lets users control how long the notification stays visible.
  • Replace type="persisting" with a Snackbar that ignores click-away, and provide a close button to dismiss it.
  • Replace type="temporary" (or an unset type) with a Snackbar. Leave autoHideDuration unset.
  • Replace placement with the anchorOrigin prop.
  • Replace status with a wrapped Alert and its severity prop.

Replace the ToggleSwitch component from @itwin/itwinui-react with the Switch component from @mui/material. See Switch examples for reference.

Replace the Tooltip component from @itwin/itwinui-react with the Tooltip component from @mui/material. See Tooltip examples for reference.

Replace the TransferList component from @itwin/itwinui-react with the transfer list composite component.

Replace the Tree component from @itwin/itwinui-react with the Tree component from @stratakit/structures. See Tree examples for reference.

Replace the VisuallyHidden component from @itwin/itwinui-react with the visuallyHidden style utility from @mui/utils.