> ## Documentation Index
> Fetch the complete documentation index at: https://x-preview-mintlify-93ac23a1.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Parameters

> A Follow button may be customized from its default settings by specifying parameter overrides. Documentation for the X developer platform covering parameter.

A Follow button may be customized from its default settings by specifying parameter overrides.

| Parameter | Description | Example |
| - | - | - |
| `screen_name` | The X username to be followed. Automatically extracted from the anchor element’s `href` attribute when using JavaScript-enhanced button markup. | `XDevelopers` |
| `show_screen_name` | Set to `false` to hide the username of the specified account. | `false` |
| `size` | Set to `large` to display a larger button. | `large` |
| `lang` | A supported [X language code](/x-for-websites/supported-languages). | `es` |
| `dnt` | When set to `true`, the button and its embedded page on your site are not used for purposes that include [personalized suggestions](https://support.x.com/articles/20169421) and [personalized ads](https://support.x.com/articles/20170405). | `true` |

## HTML example

```html theme={null}
<a class="twitter-follow-button"
  href="https://x.com/XDevelopers"
  data-show-screen-name="false"
  data-size="large"
>
Follow @XDevelopers
</a>
```

## JavaScript example

```javascript theme={null}
twttr.widgets.createFollowButton(
  "XDevelopers",
  document.getElementById("container"),
  {
    showScreenName: "false",
    size: "large"
  }
);
```
