# Appearance

The ToggleButton provides predefined appearance options such as different sizes, border radiuses, fill modes, and theme colors.

For a complete example, refer to the [Appearance Demo of the ToggleButton](https://demos.telerik.com/kendo-ui/togglebutton/appearance).

## Options

The ToggleButton provides the following methods for styling:

* [`size`](https://www.telerik.com/kendo-jquery-ui/documentation/controls/togglebutton/appearance#size)—configures the overall size of the component.
* [`themeColor`](https://www.telerik.com/kendo-jquery-ui/documentation/controls/togglebutton/appearance#themecolor)—configures what color will be applied to the component.
* [`fillMode`](https://www.telerik.com/kendo-jquery-ui/documentation/controls/togglebutton/appearance#fillmode)—defines how the color is applied to the ToggleButton.
* [`rounded`](https://www.telerik.com/kendo-jquery-ui/documentation/controls/togglebutton/appearance#rounded)—determines the border radius of the component.

### Size

To control the size of the ToggleButton, configure the `size` option with any of the following values:

* `small`
* `medium` - the default size
* `large`
* `none`

```dojo
    <button id="togglebutton">
        Toggle Button
    </button>
    <script>
        $(document).ready(function(){
            $("#togglebutton").kendoToggleButton({
                size: "medium"
            })
        })
    </script>
```

The structure of the class is `k-button-{size}`. The default size value is `Medium` and is applied to the rendered  element through the `k-button-md` class.

```html
    <button class="k-button k-button-md" >
    </button>
```

### FillMode

The `fillMode` configuration specifies how the color is applied to the component. The default ToggleButton fill mode is `solid`.

The following options are available for the `fillMode` configuration:

* `solid`
* `outline`
* `flat`
* `link`
* `none`

```dojo
    <button id="togglebutton">
        Toggle Button
    </button>
    <script>
        $(document).ready(function(){
            $("#togglebutton").kendoToggleButton({
                fillMode: "solid"
            })
        })
    </script>
```

The structure of the Html class is `k-button-{fillMode}`. The default `fillMode` value is `Solid` and is applied to the rendered element through the `k-button-solid` class.

```html
<button class="k-button " >
</button>
```

### ThemeColor

The `themeColor` configuration provides a variety of colors that can be applied to the ToggleButton. The available options are:

* `base`
* `primary`
* `secondary`
* `tertiary`
* `info`
* `success`
* `warning`
* `error`
* `inverse`

```dojo
    <button id="togglebutton">
        Toggle Button
    </button>
    <script>
        $(document).ready(function(){
            $("#togglebutton").kendoToggleButton({
                themeColor: "base"
            })
        })
    </script>
```

The default `themeColor` value is `base`. A ToggleButton with default `fillMode` and `themeColor` settings will have the `k-button-base` class applied.

```html
    
    <div class="k-button" >
    </div>
```

### Rounded

The border radius of the ToggleButton can be customized through the `rounded` option. The default option is `medium`.

The following values are available for the `rounded` option:

* `small`
* `medium`
* `large`
* `full`
* `none`

```dojo
    <button id="togglebutton">
        Toggle Button
    </button>
    <script>
        $(document).ready(function(){
            $("#togglebutton").kendoToggleButton({
                rounded: "medium"
            })
        })
    </script>
```

The structure of the class is `k-rounded-{size}`. The default rounded value of the ToggleButton is `medium` and is applied to the rendered element through the `k-rounded-md` class.

```html
    <button class="k-button k-rounded-md" >
    </button>
```

## See Also

* [Appearance of the ToggleButton HtmlHelper for Kendo UI for jQuery (Demo)](https://demos.telerik.com/kendo-ui/togglebutton/appearance)
* [ToggleButton Client-Side API](https://docs.telerik.com/kendo-ui/api/ui/togglebutton)
