avatar
UI
Components
Changelog
LobeHub UI
Antd Components
Lucide Icons
CSSinJS
Ctrl
K
Chat
ChatInputArea
ChatItem
EditableMessage
Data Display
Card
ChatMarkdown
CollapseGroup
Descriptions
Highlighter
JsonViewer
LogViewer
ProCard
RichTextEditor
Status
Table
Tree
Data Entry
CodeEditor
Form
Mentions
MonacoEditor
SelectCard
SliderInput
Feedback
Alert
DragPanel
Drawer
Modal
Notification
General
Breadcrumb
Typography
WaveformIcon
Layout
Divider
Page
Navigation
ButtonGroup
Dropdown
Theme
ConfigProvider
Logo
TTS
useSpeechSynthes
Utils
FormHelper

Page

Page container, include Breadcrumb, Header, Content and Footer.

import { Page } from '@yuntijs/ui';
NPM
UNPKG
BundlePhobia
PackagePhobia
Anvaka Graph
Source
Edit
Previous
Divider
Next
ButtonGroup

Resources

Lobe UI-AIGC Components
Lobe Icon-AI / LLM Icon Collection
Lobe Charts-Modern Charts
Lobe TTS-TTS / STT Library

Community

Report Bug
Request Feature

Help

GitHub
Changelog

More Products

🤯 Lobe Chat-AI / LLM Chat Framework
🧸 Lobe Vidol-Virtual Idols for EveryOne
🅰️ Lobe Theme-Stable Diffusion Extension
🌐 Lobe i18n-AI i18next CLI
Copyright © 2022-2026
Made with ☁️ by YuntiJS
LobeHub

Page container, include Breadcrumb, Header, Content and Footer.

Usage

JSX
import { StarOutlined } from '@ant-design/icons';
import { Button, Input, Page, Space } from '@yuntijs/ui';
import { Link } from 'react-router';

const { Breadcrumb, Header, Content } = Page;

const IndexPage = () => {
  return (
    <Page Link={Link}>
      <Breadcrumb items={[{ title: '插件列表', path: '/plugins' }, { title: '插件' }] />
      <Header
        // 支持指定 Header 各个模块的 className
        classNames={{
          titleWrapper: 'custom-title-wrapper'
        }}
        descriptions={[
          {
            icon: {
              content: <UserOutlined />,
              tooltip: '创建者',
            },
            text: '张萝卜',
          },
        ]}
        extraContent={{
          items: [
            {
              key: 'delete',
              label: '删除',
              danger: true,
            },
          ],
          onClick: (key, e) => console.log('key', key, e),
        }}
        icon={'https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png'}
        status={{
          status: 'processing',
          text: '运行中',
        }}
        subTitle="我是一个插件的描述"
        title="我是一个插件"
      />
      <Content>
        <Space size={12}>
          <Button icon={<PlusOutlined />} type="primary">
            创建
          </Button>
          <Button icon={<ReloadOutlined />}>刷新</Button>
          <Input.Search placeholder="请输入关键字搜索" />
        </Space>
        {/* ... */}
      </Content>
    </Page>
  );
};
export default IndexPage;

Detail page

List page

Loading sample

Border Header sample

Error status sample

When specify status of Page, the Content will be rendered as Result. Support 403, 404 and 500.

API

待补充

  1. 插件列表
  2. /
  3. 插件详情

插件

  1. 插件列表
  2. /
  3. 插件详情

我是一个插件
运行中
张萝卜
2024-05-16 17:36:09
  1. 插件列表
  2. /
  3. 天气插件
  4. /
  5. 查询 15 日天气
No Found
404
Sorry, the page you visited does not exist.