> 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/slider-widget.md).

# スライダーウィジェット

スライダーウィジェットはギャラリーウィジェットに似ていますが、画像や動画にテキストやコールトゥアクションを追加するなど、より多くの機能を備えています。

![](https://1369750374-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWQDl1MvGQxbiNyVOzW8v%2Fuploads%2FHm8Kvis59ktbYleg1TTG%2Fslider%20widget.PNG?alt=media\&token=bbd905e0-e9a2-441d-b12c-04368ed0ff53)

### スライダーの編集

スライダーを作成するには、まず「スライドの編集」タブを選択し、下図のようにプラスアイコンをクリックします。

![](https://1369750374-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWQDl1MvGQxbiNyVOzW8v%2Fuploads%2F5b7gNcNayTyTaRwibo5c%2Fslider%20edit.png?alt=media\&token=1f7fd6f8-bb09-4e00-bb6a-bd6ad06b8030)

プラスアイコンを選択すると、次の画像が表示されます。これがスライダーエディターです。

![](https://1369750374-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWQDl1MvGQxbiNyVOzW8v%2Fuploads%2FHOheHpetd9jN3MyFq4OV%2Fslider%20create%20new.PNG?alt=media\&token=0d1a9ea6-597d-487e-b8df-b99b8762bf52)

{% hint style="info" %}
注）画像である必要はありません。テキストや動画も可能です。
{% endhint %}

そして、追加したいレイヤーを選択します。この例では、画像レイヤーを使用します。

![](https://1369750374-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWQDl1MvGQxbiNyVOzW8v%2Fuploads%2FoAAX8lzBxgYypgPCx94c%2Fslider%20add%20layer.PNG?alt=media\&token=472612d2-9347-430f-b68b-b35f6f0f1264)

![](https://1369750374-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWQDl1MvGQxbiNyVOzW8v%2Fuploads%2FZ6jvz2RtIteYycC1JOAg%2Fslider%20add%20image.PNG?alt=media\&token=3bd35c00-4c0d-4ca1-b1e6-b97998a9f615)

画像レイヤーが追加されました。なお、画像をレイヤーとして追加しない場合は、エディター上部の「画像を変更」ボタンを選択することで、画像を背景として設定することができます。

さて、画像レイヤーを追加したところで、必要であればさらに加工することができます。アニメーションの設定から、画像へのURLリンクの追加まで可能です。

次に、画像にテキストを追加しましょう。そのためには、新規レイヤーを作成し、テキストレイヤーを選択するだけです。

![](https://1369750374-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWQDl1MvGQxbiNyVOzW8v%2Fuploads%2FZZNDu5TubIQ4A2qDza73%2Fslider%20text%20layer.PNG?alt=media\&token=8cd39b1c-4078-428e-aba4-8a55ac3519e9)

新しい編集ボックスが表示されました。新規レイヤーとして追加したいテキストを入力します。フォントのスタイルや色、アニメーションを設定すれば完成です。

![](https://1369750374-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWQDl1MvGQxbiNyVOzW8v%2Fuploads%2FoV6cM7VG0E6VTyyWeckT%2Fslider%20add%20font.PNG?alt=media\&token=fe46cb26-ec64-473f-a595-664133fe412d)


---

# 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/slider-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.
