Container

The container layout can define the main frame of the page.

  • <Container> Container, used for layout.
  • <Header> Container header.
  • <Content> Container content.
  • <Footer> Container footer.
  • <Sidebar> Container sidebar.

Import

import { Container, Header, Content, Footer, Sidebar } from 'rsuite';

// or
import Container from 'rsuite/Container';
import Header from 'rsuite/Header';
import Content from 'rsuite/Content';
import Footer from 'rsuite/Footer';
import Sidebar from 'rsuite/Sidebar';

Examples

Basic Layout

Login Page Layout