### Install Node.js Dependencies Source: https://github.com/coreui/coreui-react/blob/main/README.md Installs the necessary Node.js dependencies for the project. Run this command before other setup steps. ```bash yarn install npm install ``` -------------------------------- ### Install Chart.js React Wrapper (npm) Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/components/chart/index.mdx Install the @coreui/react-chartjs package using npm. ```bash npm install @coreui/react-chartjs ``` -------------------------------- ### Image Alignment (Start) Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/components/image/index.mdx Align images using the `align` property. This example demonstrates left alignment. ```jsx import React from 'react' import { CImage } from '@coreui/react' const ImageAligningExample = () => { return } export { ImageAligningExample } ``` -------------------------------- ### Install CoreUI CSS Source: https://github.com/coreui/coreui-react/blob/main/README.md Install the CoreUI CSS library using yarn or npm. ```bash yarn add @coreui/coreui ``` ```bash npm install @coreui/coreui --save ``` -------------------------------- ### Install Chart.js React Wrapper (Yarn) Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/components/chart/index.mdx Install the @coreui/react-chartjs package using Yarn. ```bash yarn add @coreui/react-chartjs ``` -------------------------------- ### Install CoreUI React Icons with Npm Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/components/icon.mdx Install the CoreUI icons and icons-react packages using npm. ```bash npm install @coreui/icons @coreui/icons-react ``` -------------------------------- ### Live React Toast Example Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/components/toast/index.mdx Provides a live example of a React Toast that can be triggered and displayed. This showcases the dynamic nature of toasts. ```jsx import React, { useState } from 'react' import { CButton, CToast, CToastBody, CToastClose, CToastHeader, } from '@coreui/react' const ToastLiveExample = () => { const [show, setShow] = useState(false) return ( <> setShow(!show)}>Toggle toast setShow(false)}> Toast header React Toast body ) } export default ToastLiveExample ``` -------------------------------- ### Install Bootstrap CSS Source: https://github.com/coreui/coreui-react/blob/main/README.md Install the Bootstrap CSS library using yarn or npm. ```bash yarn add bootstrap ``` ```bash npm install bootstrap ``` -------------------------------- ### Tab Panes Example with Different Content Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/components/navs-tabs/bootstrap.mdx Another example demonstrating tab panes with distinct content for each tab. ```jsx import React, { useState } from 'react' import { CNav, CNavItem, CNavLink, CTabContent, CTabPane, } from '@coreui/react' const NavTabPanes2Example = () => { const [activeKey, setActiveKey] = useState(1) return ( <> setActiveKey(key)}> Pills 1 Pills 2 Pills 3 Disabled Tart Iure Tart II Tart III Disabled Content ) } export default NavTabPanes2Example ``` -------------------------------- ### Base Nav Example Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/components/navs-tabs/bootstrap.mdx A basic example of the React Bootstrap Nav component. ```jsx import React from 'react' import { CNav, CNavItem, CNavLink, CTabContent, CTabPane, } from '@coreui/react' const NavExample = () => { return ( Link Link active Link disabled ) } export default NavExample ``` -------------------------------- ### Basic Placeholder Example Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/components/placeholder/index.mdx This example demonstrates how to create a loading card using placeholders, maintaining the same size and proportions as a typical card component. ```jsx import React from 'react' import { CPlaceholder, CCard, CCardImage, CCardBody, CCardTitle, CCardText, } from '@coreui/react' const PlaceholderExample = () => { return ( ) } export default PlaceholderExample ``` -------------------------------- ### Install CoreUI React Icons with Yarn Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/components/icon.mdx Install the CoreUI icons and icons-react packages using yarn. ```bash yarn add @coreui/icons @coreui/icons-react ``` -------------------------------- ### Install CoreUI with Npm Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/getting-started/introduction.mdx Install the CoreUI React package and its core dependencies using npm. ```bash npm install @coreui/react @coreui/coreui ``` -------------------------------- ### React Callout Example Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/components/callout/index.mdx A basic example demonstrating the usage of the React Callout component. ```jsx import React from 'react' import { CCallout } from '@coreui/react' const CalloutExample = () => { return ( <>
Info Callout
Example defining the info callout, which can be used to present additional not important information.
Success Callout
Example defining the success callout.
Warning Callout
Example defining the warning callout.
Danger Callout
Example defining the danger callout.
) } export default CalloutExample ``` -------------------------------- ### Install CoreUI PRO with Npm Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/getting-started/introduction.mdx Install the CoreUI PRO React package and its core dependencies using npm. ```bash npm install @coreui/react-pro @coreui/coreui-pro ``` -------------------------------- ### React Pagination Example Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/components/pagination/index.mdx Basic example of the CoreUI React Pagination component. Use this for standard pagination needs. ```jsx import React from 'react' import { CPagination, CPaginationItem, } from '@coreui/react' const PaginationExample = () => { return ( Previous 1 2 3 Next ) } export default PaginationExample ``` -------------------------------- ### Progress Bar Height Example 2 Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/components/progress/index.mdx Another example demonstrating the height adjustment of progress bars. ```jsx ``` -------------------------------- ### Placeholder Sizing Example Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/components/placeholder/index.mdx This example shows how to adjust the size of placeholders using the 'size' prop. Available options are 'lg', 'sm', and 'xs'. ```jsx import React from 'react' import { CPlaceholder, CRow, CCol, } from '@coreui/react' const PlaceholderSizingExample = () => { return ( ) } export default PlaceholderSizingExample ``` -------------------------------- ### Install react-imask using Npm Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/forms/input-mask/index.mdx Install the `react-imask` library using npm. This is a prerequisite for extending CoreUI for React components with input masking. ```bash npm install react-imask ``` -------------------------------- ### Default Select Example Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/forms/select/index.mdx A basic example of a React select component with predefined options. ```jsx ``` -------------------------------- ### Doughnut and Pie Charts Example Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/components/chart/index.mdx Example usage of the doughnut and pie chart components. ```jsx ``` -------------------------------- ### Install Project Dependencies Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/templates/installation.mdx Install local dependencies for the CoreUI React Admin Template. Use either npm or yarn. ```bash npm install ``` ```bash yarn install ``` -------------------------------- ### Install CoreUI CSS Source: https://github.com/coreui/coreui-react/blob/main/packages/coreui-react/README.md Install the CoreUI CSS library using yarn. This package provides the necessary styles for CoreUI components. ```bash yarn add @coreui/coreui ``` -------------------------------- ### Install react-imask using Yarn Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/forms/input-mask/index.mdx Install the `react-imask` library using yarn. This is a prerequisite for extending CoreUI for React components with input masking. ```bash yarn add react-imask ``` -------------------------------- ### Install CoreUI CSS with npm Source: https://github.com/coreui/coreui-react/blob/main/packages/coreui-react/README.md Install the CoreUI CSS library using npm. This package provides the necessary styles for CoreUI components. ```bash npm install @coreui/coreui --save ``` -------------------------------- ### Spinner Placement with Flexbox (Second Example) Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/components/spinner/index.mdx Another example of spinner alignment using flexbox utilities, showing different justification. ```jsx import React from 'react' import { CSpinner, } from '@coreui/react' const SpinnerBorderPlacementFlex2Example = () => { return (
Loading...
) } export { SpinnerBorderPlacementFlex2Example } ``` -------------------------------- ### File Input Examples Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/forms/form-control.mdx Demonstrates various file input configurations, including default, multiple files, disabled, small, and large sizes. ```jsx
Default file input example
Multiple files input example
Disabled file input example
Small file input example
Large file input example
``` -------------------------------- ### Run Development Server Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/templates/installation.mdx Start a local development server to view the template. This command compiles assets and serves the application. ```bash npm start ``` ```bash yarn start ``` -------------------------------- ### Spinner Placement with Floats Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/components/spinner/index.mdx Use float utilities to position spinners. This example floats the spinner to the start. ```jsx import React from 'react' import { CSpinner, } from '@coreui/react' const SpinnerBorderPlacementFloatsExample = () => { return ( <> ) } export { SpinnerBorderPlacementFloatsExample } ``` -------------------------------- ### Input Group Button Addons Example Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/forms/input-group/index.mdx Illustrates using buttons as addons within an input group. This example places buttons on both sides of the input. ```jsx import React from 'react'; import { CButton, CFormInput, CInputGroup, CInputGroupText, } from '@coreui/react'; const InputGroupButtonAddonsExample = () => { return ( <> Button Button Button Button ); }; export default InputGroupButtonAddonsExample; ``` -------------------------------- ### Navbar Placement Example Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/components/navbar/index.mdx Demonstrates various placement options for the navbar, including static, fixed, and sticky top. ```jsx import React from 'react' import { CContainer, CNavbar, CNavbarBrand, CNavbarNav, CNavbarToggler, CCollapse, CDropdown, CDropdownToggle, CDropdownMenu, CDropdownItem, CNavLink, } from '@coreui/react' const NavbarPlacementExample = () => { return ( Navbar Home Link Dropdown Action Another action Something else here ) } export default NavbarPlacementExample ``` -------------------------------- ### React Pagination Alignment Left Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/components/pagination/index.mdx Example of left-aligned CoreUI React Pagination. Use the `align="start"` prop for left alignment. ```jsx import React from 'react' import { CPagination, CPaginationItem, } from '@coreui/react' const PaginationAlignmentExample = () => { return ( Previous 1 2 3 Next ) } export default PaginationAlignmentExample ``` -------------------------------- ### Card Image Overlays Example Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/components/card/index.mdx Shows how to use an image as a background for card content, creating an image overlay effect. ```jsx import React from 'react' import { CCard, CCardBody, CCardImage, CCardText, CCardTitle, CCol, CRow } from '@coreui/react' const CardImageOverlaysExample = () => { return ( Card title This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer. Last updated 3 mins ago ) } export { CardImageOverlaysExample } ``` -------------------------------- ### Decorative Icon Example Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/components/icon.mdx For purely decorative icons, the `CIcon` component automatically adds `aria-hidden=true` to ensure screen readers ignore it. No additional setup is required. ```jsx ``` -------------------------------- ### Basic Header Usage Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/components/header.mdx This example demonstrates a basic responsive header with navigation links, a dropdown, and a search form. It utilizes the CHeader, CContainer, CHeaderBrand, CHeaderToggler, CCollapse, CHeaderNav, CNavItem, CNavLink, CDropdown, CForm, CFormInput, and CButton components. The header collapses at the 'lg' breakpoint. ```jsx const [visible, setVisible] = useState(false) return ( <> Header setVisible(!visible)} /> Home Link Dropdown button Action Another action Something else here Disabled Search ) ``` -------------------------------- ### Responsive Row Columns Across Breakpoints Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/layout/grid.mdx Build a responsive grid that changes column count at different breakpoints. This example starts with 1 column, then 2, then 4. ```jsx Column Column Column Column ``` -------------------------------- ### Align Dropdown Menu Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/api/CDropdown.api.mdx Use the `alignment` property to control where the dropdown menu appears relative to the toggle. This example aligns the menu to the end on large screens and to the start on smaller ones. ```jsx // Align dropdown menu to the end on large devices, otherwise start Toggle dropdown Action Another Action ``` -------------------------------- ### Table with Footer Example Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/components/table/bootstrap.mdx Demonstrates how to create a table with a footer using the `footer` prop. This includes defining columns, footer content, and table items. The `tableHeadProps` can also be applied for styling the header. ```jsx export const TableFoodExample = () => { const columns = [ { key: 'id', label: '#', _props: { scope: 'col' }, }, { key: 'class', _props: { scope: 'col' }, }, { key: 'heading_1', label: 'Heading', _props: { scope: 'col' }, }, { key: 'heading_2', label: 'Heading', _props: { scope: 'col' }, }, ] const footer = [ 'Footer', 'Footer', 'Footer', 'Footer', ] const items = [ { id: 1, class: 'Mark', heading_1: 'Otto', heading_2: '@mdo', _cellProps: { id: { scope: 'row' } }, }, { id: 2, class: 'Jacob', heading_1: 'Thornton', heading_2: '@fat', _cellProps: { id: { scope: 'row' } }, }, { id: 3, class: 'Larry the Bird', heading_2: '@twitter', _cellProps: { id: { scope: 'row' }, class: { colSpan: 2 } }, }, ] return } ``` ```jsx ... ... Footer Footer Footer Footer ``` ```jsx const columns = [...] const footer = [ 'Footer', 'Footer', 'Footer', 'Footer', ] const items = [...] return ``` -------------------------------- ### Override Body Background and Color with Traditional Sass Imports Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/customize/sass.mdx This example demonstrates how to override Sass variables in a traditional Sass setup. Variable overrides must be placed after importing CoreUI functions and before importing other CoreUI components. ```scss // Required @import "../node_modules/@coreui/coreui/scss/functions"; // Default variable overrides $body-bg: #000; $body-color: #111; // Required @import "../node_modules/@coreui/coreui/scss/variables"; @import "../node_modules/@coreui/coreui/scss/maps"; @import "../node_modules/@coreui/coreui/scss/mixins"; @import "../node_modules/@coreui/coreui/scss/root"; // Optional CoreUI components here @import "../node_modules/@coreui/coreui/scss/reboot"; @import "../node_modules/@coreui/coreui/scss/type"; // etc ``` -------------------------------- ### Link Local Packages and Install Dependencies Source: https://github.com/coreui/coreui-react/blob/main/README.md Links local packages together and installs any remaining package dependencies. This is a crucial step after installing base dependencies. ```bash yarn bootstrap npm run bootstrap ``` -------------------------------- ### CWidgetStatsF Example Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/components/widgets/index.mdx Example usage of the CWidgetStatsF component for displaying statistics. ```jsx import React from 'react' import { CWidgetStatsF, } from '@coreui/react-components' const WidgetStatsFExample = () => { return ( ) } export default WidgetStatsFExample ``` -------------------------------- ### CWidgetStatsE Example Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/components/widgets/index.mdx Example usage of the CWidgetStatsE component for displaying statistics. ```jsx import React from 'react' import { CWidgetStatsE, } from '@coreui/react-components' const WidgetStatsEExample = () => { return ( ) } export default WidgetStatsEExample ``` -------------------------------- ### CWidgetStatsD Example Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/components/widgets/index.mdx Example usage of the CWidgetStatsD component for displaying statistics. ```jsx import React from 'react' import { CWidgetStatsD, } from '@coreui/react-components' const WidgetStatsDExample = () => { return ( ) } export default WidgetStatsDExample ``` -------------------------------- ### Column Sizing Example Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/forms/layout/index.mdx Demonstrates how to use specific column classes to control the width distribution within a row. ```jsx import React from 'react' import { CCard, CCardBody, CCardHeader, CCol, CFormInput, CRow, } from '@coreui/react' const LayoutColumnSizingExample = () => { return ( React Column Sizing Example

As shown in the previous examples, our grid system allows you to place any number of <CCol>s within a <CRow>. They'll split the available width equally between them. You may also pick a subset of your columns to take up more or less space, while the remaining <CCol>s equally split the rest, with specific column classes like <CCol sm={7} >.

) } export default LayoutColumnSizingExample ``` -------------------------------- ### CWidgetStatsC Example Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/components/widgets/index.mdx Example usage of the CWidgetStatsC component for displaying statistics. ```jsx import React from 'react' import { CWidgetStatsC, } from '@coreui/react-components' const WidgetStatsCExample = () => { return ( ) } export default WidgetStatsCExample ``` -------------------------------- ### Basic Grid Example Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/layout/grid.mdx Creates three equal-width columns across all devices and viewports using predefined grid classes. The columns are centered within a parent CContainer. ```jsx One of three columns One of three columns One of three columns ``` -------------------------------- ### CWidgetStatsB Example Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/components/widgets/index.mdx Example usage of the CWidgetStatsB component for displaying statistics. ```jsx import React from 'react' import { CWidgetStatsB, } from '@coreui/react-components' const WidgetStatsBExample = () => { return ( ) } export default WidgetStatsBExample ``` -------------------------------- ### Basic Footer Example Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/components/footer.mdx A simple footer with copyright information and a link to CoreUI. ```jsx import { CFooter, CLink } from '@coreui/react'
CoreUI © 2026 creativeLabs.
Powered by CoreUI
``` -------------------------------- ### CWidgetStatsA Example Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/components/widgets/index.mdx Example usage of the CWidgetStatsA component for displaying statistics. ```jsx import React from 'react' import { CWidgetStatsA, } from '@coreui/react-components' const WidgetStatsAExample = () => { return ( ) } export default WidgetStatsAExample ``` -------------------------------- ### Live Demo of React Popover Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/components/popover/index.mdx Demonstrates a basic live example of the React Popover component. ```jsx ``` -------------------------------- ### Scatter Chart Example Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/components/chart/index.mdx Example usage of the scatter chart component. ```jsx ``` -------------------------------- ### Bubble Chart Example Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/components/chart/index.mdx Example usage of the bubble chart component. ```jsx ``` -------------------------------- ### Radar Chart Example Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/components/chart/index.mdx Example usage of the radar chart component. ```jsx ``` -------------------------------- ### Basic Navbar Example Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/components/navbar/index.mdx A responsive light-themed navbar that automatically collapses at the lg breakpoint, demonstrating the integration of various sub-components. ```jsx Navbar Home Features Pricing Dropdown Action Another action Something else here ``` -------------------------------- ### Bar Chart Example Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/components/chart/index.mdx Example usage of the bar chart component. ```jsx ``` -------------------------------- ### Line Chart Example Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/components/chart/index.mdx Example usage of the line chart component. ```jsx ``` -------------------------------- ### Card Header with Text Example Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/components/card/index.mdx A card example where the header contains only text. ```jsx import React from 'react' import { CCard, CCardBody, CCardHeader, CCardText, } from '@coreui/react' const CardHeader3Example = () => { return ( Header
Special title treatment
With supporting text below as a natural lead-in to additional content. Go somewhere
) } export default CardHeader3Example ``` -------------------------------- ### Form Grid Layout Example Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/forms/layout/index.mdx Demonstrates using CoreUI's grid classes to create complex form layouts with multiple columns and varied widths. ```jsx import React from 'react' import { CButton, CCard, CCardBody, CCardHeader, CCol, CFormCheck, CFormInput, CFormLabel, CRow, } from '@coreui/react' const LayoutFormGridExample = () => { return ( React Form Grid Example

Using CoreUI's grid system, you can create complex layouts with multiple columns, varied widths, and additional alignment options.

) } export default LayoutFormGridExample ``` -------------------------------- ### Pagination Alignment Start Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/components/pagination/bootstrap.mdx Align pagination to the start using the `align` prop. ```jsx import React from 'react' import { CPagination, CPaginationItem, } from '@coreui/react' const PaginationAlignmentExample = () => { return ( « 1 2 3 » ) } export default PaginationAlignmentExample ``` -------------------------------- ### Importing CBadge Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/api/CBadge.api.mdx Demonstrates two ways to import the CBadge component: directly from the main package or from its specific path. ```jsx import { CBadge } from '@coreui/react' // or import CBadge from '@coreui/react/src/components/badge/CBadge' ``` -------------------------------- ### React Form Checkbox Disabled Example Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/forms/checkbox/index.mdx Example of a disabled React form checkbox. ```jsx import React from 'react' import { CFormCheck } from '@coreui/react' const CheckboxDisabledExample = () => { return ( <> ) } export default CheckboxDisabledExample ``` -------------------------------- ### React Form Checkbox Example Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/forms/checkbox/index.mdx Basic example of a React form checkbox component. ```jsx import React from 'react' import { CFormCheck } from '@coreui/react' const CheckboxExample = () => { return ( <> ) } export default CheckboxExample ``` -------------------------------- ### Card Sizing with Utilities Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/components/card/index.mdx Shows how to set card widths using CoreUI's available sizing utility classes. ```jsx import React from 'react' import { CCard, CCardBody, CCardHeader, CCol, CRow } from '@coreui/react' const CardSizing2Example = () => { return ( {/* ... card content ... */} {/* ... card content ... */} {/* ... card content ... */} ) } export { CardSizing2Example } ``` -------------------------------- ### Polar Area Chart Example Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/components/chart/index.mdx Example usage of the polar area chart component. ```jsx ``` -------------------------------- ### Basic Form Example Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/forms/overview.mdx Demonstrates a basic form structure with email and password input fields, a checkbox, and a submit button using CoreUI React components. ```jsx
Email address We'll never share your email with anyone else.
Email Password
{ console.log(e.target) }} /> Submit
``` -------------------------------- ### Basic Input Group Example Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/forms/input-group/index.mdx Demonstrates a basic input group with an addon on one side. Ensure labels are placed outside the group. ```jsx import React from 'react'; import { CButton, CFormInput, CInputGroup, CInputGroupText, } from '@coreui/react'; const InputGroupExample = () => { return ( @ ); }; export default InputGroupExample; ``` -------------------------------- ### Standard Sidebar Example Source: https://github.com/coreui/coreui-react/blob/main/packages/docs/content/components/sidebar/bootstrap.mdx Demonstrates the default behavior of the sidebar, which is visible on desktop and hidden on mobile. ```jsx import React from 'react' import { CSidebar, CSidebarBrand, CSidebarNav, CSidebarToggler, } from '@coreui/react' import CIcon from '@coreui/icons-react' import { cilBell } from '@coreui/icons' import { AppSidebarNav } from './AppSidebarNav' import sidebarNavbars from './_nav' const SidebarExample = () => { return ( ) } export default SidebarExample ```