# Creating Buttons

You can use buttons to highlight a link on your detail layouts. You can create buttons in a few ways:

* Using a URL in a field
* Using a highlight widget
* Using a banner widget

## Using a URL in a field <a href="#h_01gjqb34npc0x4vrk1nc6pdvnh" id="h_01gjqb34npc0x4vrk1nc6pdvnh"></a>

Using a URL field to create buttons means you can have different URLs for different records. To do this you will need to use a URL field type to create this button.

![](https://support.stackerhq.com/hc/article_attachments/11560310030355)

1. Click **Edit Layout**
2. Drag a field widget onto the layout
3. Toggle the URL field
4. Hover over the field until a pencil icon appears and click the pencil
5. Check **Display as button**
6. Choose a title for your button

![buttons\_fields.gif](https://support.stackerhq.com/hc/article_attachments/11560243182995)

## Using a Highlight Widget <a href="#h_01h2xdk3g5grmgm5wqtbwm404t" id="h_01h2xdk3g5grmgm5wqtbwm404t"></a>

In our Hiring app, we use a button to highlight the applicants' LinkedIn profiles.

1. Click **Edit Layout**
2. Drag a **highlight widget** onto the layout
3. Toggle the URL field
4. Hover over the field until a pencil icon appears and click the pencil
5. Check **Display as button**
6. Choose a title for your button

![](https://support.stackerhq.com/hc/article_attachments/11736220410515)

## Using a Banner Widget <a href="#h_01gjqbtvpm1rw7wsh98v1qhvtx" id="h_01gjqbtvpm1rw7wsh98v1qhvtx"></a>

1. Click **Edit Layout**
2. Drag a banner widget onto the layout
3. Fill out the relevant information

![](https://support.stackerhq.com/hc/article_attachments/11561960559635)

Using the banner widget creates a button that will show on all layouts.

You can add any URLs you like including taking the users to another page of the app.

**Action Buttons**

Use Action buttons on detail layouts and list layouts to update records.


---

# Agent Instructions: 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:

```
GET https://docs.stackerhq.com/stacker-classic/customization/creating-buttons.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
