# ButtonStyle

Canonical page: https://www.adaptabletools.com/docs/reference/buttonstyle

Appearance of an AdapTable button.

`variant` is `'text'`, `'outlined'` (the default) or `'raised'`. `tone` is the colour: `'neutral'` (the default), `'success'`, `'error'`, `'warning'`, `'info'`, `'accent'` or `'none'`. `className` adds a CSS class.

```ts title="TypeScript"
export interface ButtonStyle 
```

## Properties

| Property | Type | Description | Default |
| --- | --- | --- | --- |
| [className](https://www.adaptabletools.com/docs/reference/buttonstyle.md#classname) | `string` | CSS Classname to use for the Button |   |
| [tone](https://www.adaptabletools.com/docs/reference/buttonstyle.md#tone) | `'success' \| 'error' \| 'neutral' \| 'none' \| 'warning' \| 'info' \| 'accent'` | Button&#39;s Tone - values: &#39;success&#39;, &#39;error&#39;, &#39;neutral&#39;, &#39;none&#39;, &#39;warning&#39;, &#39;info&#39;, &#39;accent&#39; | &#39;neutral&#39; |
| [variant](https://www.adaptabletools.com/docs/reference/buttonstyle.md#variant) | `'text' \| 'outlined' \| 'raised'` | How Button appears - values: &#39;text&#39;, &#39;outlined&#39;, &#39;raised&#39; | &#39;outlined&#39; |

## Property Details

### className

CSS Classname to use for the Button

```ts title="TypeScript"
className?: string;
```

###### Property Value

`string`

### tone

Button&#39;s Tone - values: &#39;success&#39;, &#39;error&#39;, &#39;neutral&#39;, &#39;none&#39;, &#39;warning&#39;, &#39;info&#39;, &#39;accent&#39;

```ts title="TypeScript"
tone?: 'success' | 'error' | 'neutral' | 'none' | 'warning' | 'info' | 'accent';
```

###### Default Value

&#39;neutral&#39;

###### Property Value

`'success' | 'error' | 'neutral' | 'none' | 'warning' | 'info' | 'accent'`

### variant

How Button appears - values: &#39;text&#39;, &#39;outlined&#39;, &#39;raised&#39;

```ts title="TypeScript"
variant?: 'text' | 'outlined' | 'raised';
```

###### Default Value

&#39;outlined&#39;

###### Property Value

`'text' | 'outlined' | 'raised'`
