> For the complete documentation index, see [llms.txt](https://docs.opusbooster.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.opusbooster.com/platform/widgets/button-widget.md).

# ボタンウィジェット

ボタンの追加とウェブサイトでの使用方法

**ボタンウィジェット**を見つけるには - ウィジェットセクションを開き、ボタンウィジェットは「**ベーシック**」ウィジェットの下に位置しています。

ページやコンテナの任意の場所にボタンを**ドラッグ＆ドロップ**するだけです。

![](https://1369750374-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWQDl1MvGQxbiNyVOzW8v%2Fuploads%2FQaAuSjLuDdLno7NOwWxm%2Fsendly%20button%20widget.PNG?alt=media\&token=b97ab318-7f35-4b5d-bec8-a11996f3d8b0)

ボタンを好きな場所に配置したら、ボタンの設定を編集・変更できるようになります。

![](https://1369750374-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWQDl1MvGQxbiNyVOzW8v%2Fuploads%2FppdE0Julojpjfd9fj9ON%2Fwidget%20button%20edit.PNG?alt=media\&token=83697a79-20c8-45d0-b390-81df8737ce80)

1. 編集
2. リンク
3. スタイル
4. 位置合わせ
5. アニメーションと遅延効果
6. コピー
7. 削除

### 編集

編集タブでは、ボタンのテキストを変更したり、2行目のテストを追加したり、テキストの前後にアイコンを追加したり、ボタンを押した後に訪問者に移動してもらいたいリンクを添付することができます。

![](https://1369750374-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWQDl1MvGQxbiNyVOzW8v%2Fuploads%2FyQOmcsSy6bFAi6MnnT3v%2Fwidget%20button%20editing.PNG?alt=media\&token=0656fd48-bf66-4e28-a828-bb42aed87a1d)

### スタイル

ボタンの色からアニメーションまで、ページ上でどのように表示させるか、完全にコントロールできます。

![](https://1369750374-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWQDl1MvGQxbiNyVOzW8v%2Fuploads%2Fum1PLK1ut2ORlTV1g6NH%2Fwidget%20button%20styling.PNG?alt=media\&token=382a3be4-5b95-41de-8e4e-c7742475a73f)

### ボタンのバリエーション

ボタンのスタイリングで、文字通り無限のデザインの可能性があります。以下はその一例です。

![](https://1369750374-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWQDl1MvGQxbiNyVOzW8v%2Fuploads%2FKGRzywFFVqXoaJyZjluy%2Fwidget%20button%20options%20example.PNG?alt=media\&token=55d5136f-3ca5-4462-b5a7-36e4f72d065e)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.opusbooster.com/platform/widgets/button-widget.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
