组件

以下列出 React Suite 提供的所有组件及工具。


Layout

Container
(容器布局)
  • <Container>
  • <Header>
  • <Footer>
  • <Content>
  • <Sidebar>
FlexboxGrid
(弹性栅格)
  • <FlexboxGrid>
  • <FlexboxGrid.Item>
Grid
(栅格)
  • <Grid>
  • <Row>
  • <Col>
Stack
(堆叠)
  • <Stack>
  • <Stack.Item>
  • <HStack>
  • <VStack>

Buttons

ButtonGroup
(按钮组)
  • <ButtonGroup>
  • <ButtonToolbar>

Status

Progress
(进度条)
  • <Progress.Line>
  • <Progress.Circle>
Placeholder
(占位符)
  • <Placeholder.Graph>
  • <Placeholder.Grid>
  • <Placeholder.Paragraph>

Typography

Overlays

Drawer
(抽屉)
  • <Drawer>
  • <Drawer.Header>
  • <Drawer.Body>
  • <Drawer.Footer>
Dropdown
(下拉菜单)
  • <Dropdown>
  • <Dropdown.Item>
  • <Dropdown.Menu>
Modal
(模态框)
  • <Modal>
  • <Modal.Header>
  • <Modal.Body>
  • <Modal.Footer>
Breadcrumb
(面包屑)
  • <Breadcrumb>
  • <Breadcrumb.Item>
Nav
(导航)
  • <Nav>
  • <Nav.Item>
  • <Nav.Menu>
Navbar
(导航栏)
  • <Navbar>
  • <Navbar.Brand>
Sidenav
(侧导航)
  • <Sidenav>
  • <Sidenav.Header>
  • <Sidenav.Body>
Steps
(步骤条)
  • <Steps>
  • <Steps.Item>

Media and icons

Avatar
(头像)
  • <Avatar>
  • <AvatarGroup>

Form

Form
(表单)
  • <Form>
  • <Form.Group>
  • <Form.Control>
  • <Form.ControlLabel>
  • <Form.HelpText>
  • <Form.ErrorMessage>
Form Validation
(表单校验)
  • <Form>
  • <Form.Control>
  • Schema

Data Display

Card
(卡片)
  • <Card>
  • <Card.Header>
  • <Card.Body>
  • <Card.Footer>
  • <CardGroup>
Supported from version 5.75.0
List
(列表)
  • <List>
  • <List.Item>
Stat
(统计数值)
  • <Stat>
  • <Stat.Label>
  • <Stat.ValueText>
  • <Stat.ValueUnit>
  • <Stat.HelpText>
  • <Stat.Trend>
Supported from version 5.75.0
Timeline
(时间轴)
  • <Timeline>
  • <Timeline.Item>
Panel
(面板)
  • <Panel>
  • <PanelGroup>

Disclosure

Accordion
(手风琴)
  • <Accordion>
  • <Accordion.Item>
Supported from version 5.52.0
Tabs
(选项卡)
  • <Tabs>
  • <Tabs.Tab>
Supported from version 5.53.0

Utilities

Animation
(动画)
  • <Animation.Transition>
  • <Animation.Fade>
  • <Animation.Bounce>
  • <Animation.Slide>
  • <Animation.Collapse>
useMediaQuery
  • useMediaQuery
Unstable 🧪
useBreakpointValue
  • useBreakpointValue
Unstable 🧪
Supported from version 5.63.0

没有找到想要的组件?申请添加新组件

Vercel banner