---
title: "DroppyGlassButtonStyle, DroppyKit"
description: "The glass control as a button style for labels that size themselves: shape and fill in, the ink from the fill unless the label sets its own (an accent glyph, red for a destructive action)."
canonical: "https://getdroppy.app/docs/droppykit/api/droppy-glass-button-style"
last-updated: "2026-09-09"
---

# DroppyGlassButtonStyle

The glass control as a button style for labels that size themselves: shape and fill in, the ink from the fill unless the label sets its own (an accent glyph, red for a destructive action).

`@MainActor struct DroppyGlassButtonStyle`

[`DroppyQuietButtonStyle`](https://getdroppy.app/docs/droppykit/api/droppy-quiet-button-style), [`DroppyAccentButtonStyle`](https://getdroppy.app/docs/droppykit/api/droppy-accent-button-style) and [`DroppyCircleButtonStyle`](https://getdroppy.app/docs/droppykit/api/droppy-circle-button-style) are this control with Droppy's own sizing; reach for this one when a label brings its own.

## Initializers

### init(shape:fill:)

`@MainActor init(shape: AnyShape = AnyShape(Capsule(style: .continuous)), fill: DroppyGlassControl.Fill = .veil)`

Creates the style.

- Parameters:
- shape: The control's silhouette. Defaults to a capsule.
- fill: What is painted over the glass. Defaults to plain glass.

## Properties

### fill

`@MainActor var fill: DroppyGlassControl.Fill`

### shape

`@MainActor var shape: AnyShape`

## Methods

### makeBody(configuration:)

```
@MainActor func makeBody(configuration: Configuration) -> some View
```
