--- title: FillSwatch description: Binding-aware semantic preview for solid, gradient, and image fills. --- # FillSwatch `FillSwatch` exposes a semantic preview for a fill without imposing application styling. Its slot provides the effective fill, preview background, category, and transparency state. The root also publishes `data-fill-type`, `data-fill-category`, and `data-transparent` for styling and tests. When nested in `BindableValueRoot`, a bound solid fill previews the provider's resolved color and forwards the binding state attributes. Reading or focusing a swatch never detaches the binding. Consumers can place a checkerboard below the slot's `background` value for transparent paints. ```vue twoslash ``` ## Generated API reference ## Related APIs - [FillRoot](./fill-root) - [BindableValue](./bindable-value)