Migration to v4
Track and review changes to the CoreUI for React.js components to help you migrate from v3 to v4.
On this page
CoreUI for React is the React.js version of CoreUI components library, so before read this migration guide, please check also CoreUI 3 to 4 migration guide.
Components#
CAlert#
- Deprecated property
innerRef. - Deprecated property
fade. - Deprecated property
onShowChange. - Deprecated property
closeButton, usedismissibleinstead of. - Deprecated property
show, usevisibleinstead of.
CBadge#
- Deprecated property
innerRef. - Deprecated property
tag, usecomponentinstead of.
CBreadcrumb#
- Deprecated property
innerRef.
CBreadcrumbItem#
- Deprecated property
innerRef.
CButton#
- Deprecated property
block. - Deprecated property
innerRef. - Deprecated property
pressed. - Deprecated property
tag, usecomponentinstead of.
CCallout#
- Deprecated property
innerRef.
CCard#
- Deprecated property
innerRef. - Deprecated property
accentColor, use utilitiesclassName="border-top-{#color} border-top-3"instead of.
CCardBody#
- Deprecated property
innerRef.
CCardFooter#
- Deprecated property
innerRef.
CCardGroup#
- Deprecated property
columns. - Deprecated property
deck. - Deprecated property
innerRef.
CCardHeader#
- Deprecated property
innerRef. - Deprecated property
tag, usecomponentinstead of.
CCardImg#
- Component renamed to
CCardImg - Deprecated property
variant, useorientationinstead of.
CCardImgOverlay#
- Component renamed to
CCardImgOverlay - Deprecated property
innerRef. - Deprecated property
tag.
CCardSubtitle#
- Deprecated property
innerRef. - Deprecated property
tag, usecomponentinstead of.
CCardText#
- Deprecated property
innerRef. - Deprecated property
tag, usecomponentinstead of.
CCardTitle#
- Deprecated property
innerRef. - Deprecated property
tag, usecomponentinstead of.
CCarousel#
- Deprecated property
autoSlide. - Deprecated property
innerRef. - Deprecated property
activeIndex, useindexinstead of.
CCarouselControl#
- Component is depracated, use
<CCarousel controls>instead of.
CCarouselIndicators#
- Component is depracated, use
<CCarousel indicators>instead of.
CCarouselInner#
- Component is depracated.
CCollapse#
- Deprecated property
innerRef. - Deprecated property
navbar. - Deprecated property
show, usevisibleinstead of.
CCreateElement#
- Component is depracated.
CDropdown#
- Deprecated property
innerRef. - Deprecated property
inNav, usevariant="nav-item"instead of. - Deprecated property
tag, usecomponentinstead of.
CDropdownitem#
- Deprecated property
color. - Deprecated property
divider. - Deprecated property
innerRef. - Deprecated property
header. - Deprecated property
onClick. - Deprecated property
tag, usecomponentinstead of.
CDropdownMenu#
- Deprecated property
innerRef. - Deprecated property
modifiers. - Deprecated property
placement, use<CDropdown placement="...">instead of. - Deprecated property
show, use<CDropdown visible>instead of.
CDropdownToggle#
- Deprecated property
innerRef. - Deprecated property
tag, usecomponentinstead of.
CEmbed#
- Component is depracated.
CFade#
- Component is depracated.
CHeader#
- Deprecated property
withSubheader. - Deprecated component
CHeaderNavItem, useCNavIteminstead of. - Deprecated component
CHeaderNavLink, useCNavLinkinstead of.
CImg#
- Component renamed to
CImage - Deprecated property
block. - Deprecated property
innerRef. - Deprecated property
fluidGrow. - Deprecated property
placeholderColor. - Deprecated property
shape. - Deprecated property
tag.
CJumbotron#
- Component is depracated.
CListGroup#
- Deprecated property
accent. - Deprecated property
horizontal, uselayoutinstead of. - Deprecated property
innerRef. - Deprecated property
tag, usecomponentinstead of.
CListGroupItem#
- Deprecated property
accent. - Deprecated property
action, use propertycomponent="a"orcomponent="button"instead of. - Deprecated property
innerRef. - Deprecated property
tag, usecomponentinstead of.
CMedia#
- Component is depracated.
CModal#
- Deprecated property
addContentClass. - Deprecated property
borderColor, use utilitiesclassName="border border-{#color}"instead of. - Deprecated property
centered. - Deprecated property
closeOnBackdrop. - Deprecated property
fade, usetransitioninstead of. - Deprecated property
innerRef. - Deprecated property
onClosed. - Deprecated property
onOpened. - Deprecated property
show, usevisibleinstead of.
CModalBody#
- Deprecated property
innerRef. - Deprecated property
tag.
CModalFooter#
- Deprecated property
innerRef. - Deprecated property
tag.
CModalHeader#
- Deprecated property
innerRef. - Deprecated property
tag.
CNav#
- Deprecated property
inCard. - Deprecated property
innerRef. - Deprecated property
fill, uselayout="fill"instead of. - Deprecated property
justified, uselayout="justified"instead of. - Deprecated property
tag, usecomponentinstead of.
CNavItem#
- Deprecated property
innerRef. - Deprecated property
tag, usecomponentinstead of.
CNavLink#
- Deprecated property
innerRef.
CNavbar#
- Deprecated property
expandable, useexpandinstead of. - Deprecated property
fixed, useplacement="fixed-top"instead of. - Deprecated property
innerRef. - Deprecated property
light, usecolorScheme="light"instead of. - Deprecated property
sticky, useplacement="sticky-top"instead of. - Deprecated property
tag, usecomponentinstead of.
CNavbarNav#
- Deprecated property
innerRef. - Deprecated property
tag, usecomponentinstead of.
CNavbarText#
- Deprecated property
innerRef. - Deprecated property
tag, usecomponentinstead of.
CPagination#
- **The component has been split into
CPaginationand toCSmartPaginationcomponents.
CPopover#
- Deprecated property
header, usetitleinstead of.
CProgress#
- Deprecated property
innerRef. - Deprecated property
max. - Deprecated property
precision. - Deprecated property
showPercentage. - Deprecated property
showValue. - Deprecated property
size, useheightinstead of. - Deprecated property
striped, usevariant="striped"instead of.
CProgressBar#
- Deprecated property
innerRef. - Deprecated property
max. - Deprecated property
precision. - Deprecated property
showPercentage. - Deprecated property
showValue. - Deprecated property
size, useheightinstead of. - Deprecated property
striped, usevariant="striped"instead of.
CSidebar#
- Deprecated property
minimizeusenarrowinstead of. - Deprecated property
dropdownMode. - Deprecated component
CSidebarForm, useCForminstead of. - Deprecated component
CSidebarNavDivider, useCNavDividerinstead of. - Deprecated component
CSidebarNavDropdown, useCNavGroupinstead of. - Deprecated component
CSidebarNavLink, useCNavLinkinstead of. - Deprecated component
CSidebarNavItem, useCNavIteminstead of. - Deprecated component
CSidebarNavTitile, useCNavTitleinstead of.
CSwitch#
- Component is depracated, use
CFormSwitchinstead of.
CSpinner#
- Deprecated property
innerRef. - Deprecated property
grow, usevariant="grow"instead of. - Deprecated property
tag, usecomponentinstead of.
CTabs#
- Component is depracated, use
<CNav variant="tabs" role="tablist">instead of
CTabContent#
- Deprecated property
innerRef. - Deprecated property
fade.
CTabPane#
- Deprecated property
active, usevisibleinstead of. - Deprecated property
innerRef.
CToast#
- Deprecated property
innerRef. - Deprecated property
fade, useanimationinstead of. - Deprecated property
show, usevisibleinstead of. - Deprecated property
onStateChange.
CToastBody#
- Deprecated property
innerRef.
CToastHeader#
- Deprecated property
innerRef.
CToggler#
- Component is depracated.
CTooltip#
- Deprecated property
interactive. - Deprecated property
advancedOptions.
Forms#
CFormGroup#
- Component is depracated.
CInput#
- Component renamed to
CFormInput - Deprecated property
plaintext, useplainTextinstead of.
CInputCheckbox#
- Component is depracated, use
<CFormCheck>instead of.
CInputFile#
- Component is depracated, use
<CFormInput type="file">instead of.
CInputRadio#
- Component is depracated, use
<CFormCheck type="radio">instead of.
CInputGroup#
- Deprecated property
innerRef.
CInputGroupAddon#
- Component is depracated, use
CInputGroupTextinstead of.
CSelect#
- Component is depracated, use
<CFormSelect>instead of.
CValidFeedback#
- Component is depracated, use
<CFormFeedback valid>instead of.
CInvalidFeedback#
- Component is depracated, use
<CCFormFeedback invalid>instead of.
Layout#
CContainer#
- Deprecated property
tag. - Deprecated property
innerRef.
CCol#
- Deprecated property
tag. - Deprecated property
width, usexs,sm,md,lg,xl,xxl.
CRow#
- Deprecated property
alignHorizontal. - Deprecated property
alignVertical. - Deprecated property
form. - Deprecated property
gutters. - Deprecated property
tag. - Deprecated property
width, usexs,sm,md,lg,xl,xxl.