diff --git a/packages/design/src/button/demo/dropdown.tsx b/packages/design/src/button/demo/dropdown.tsx
new file mode 100644
index 000000000..81542bc5a
--- /dev/null
+++ b/packages/design/src/button/demo/dropdown.tsx
@@ -0,0 +1,46 @@
+import React from 'react';
+import { Dropdown, Space } from '@oceanbase/design';
+import { DownOutlined } from '@oceanbase/icons';
+
+const items = [
+ {
+ key: '1',
+ label: '1st item',
+ },
+ {
+ key: '2',
+ label: '2nd item',
+ },
+ {
+ key: '3',
+ label: '3rd item',
+ },
+];
+
+const App: React.FC = () => (
+
+ {
+ console.log('click', e);
+ },
+ }}
+ >
+ Dropdown
+
+ {
+ console.log('click', e);
+ },
+ }}
+ icon={}
+ >
+ Dropdown
+
+
+);
+
+export default App;
diff --git a/packages/design/src/button/demo/icon.tsx b/packages/design/src/button/demo/icon.tsx
new file mode 100644
index 000000000..9a3a0de4b
--- /dev/null
+++ b/packages/design/src/button/demo/icon.tsx
@@ -0,0 +1,35 @@
+import React, { useState } from 'react';
+import { PlusOutlined } from '@oceanbase/icons';
+import { Button, Divider, Radio, Space } from '@oceanbase/design';
+
+const App: React.FC = () => {
+ const [position, setPosition] = useState<'start' | 'end'>('end');
+
+ return (
+ <>
+
+ setPosition(e.target.value)}>
+ start
+ end
+
+
+
+ Preview
+
+
+ } iconPosition={position}>
+ Primary
+
+ } iconPosition={position}>
+ Default
+
+ } iconPosition={position}>
+ Dashed
+
+ } iconPosition={position} />
+
+ >
+ );
+};
+
+export default App;
diff --git a/packages/design/src/button/index.md b/packages/design/src/button/index.md
index 8f1ba3b6a..edee91975 100644
--- a/packages/design/src/button/index.md
+++ b/packages/design/src/button/index.md
@@ -3,6 +3,8 @@ title: Button 按钮
nav:
title: 基础组件
path: /components
+demo:
+ cols: 2
---
- 🔥 完全继承 antd [Button](https://ant.design/components/button-cn) 的能力和 API,可无缝切换。
@@ -10,13 +12,13 @@ nav:
## 代码演示
+
-
-
-
+
-
-
+
+
+
## API