Table of Contents

Class TwBlazorSpacingScale

Namespace
TwBlazor.Configuration
Assembly
TwBlazor.dll

A reusable four-step scale of uniform spacing presets (all sides equal, e.g. Tailwind's "p-" or "m-"), used by TwBlazorSpacing for both its Padding and Margin scales.

[ExcludeFromCodeCoverage]
public class TwBlazorSpacingScale
Inheritance
TwBlazorSpacingScale
Inherited Members

Constructors

TwBlazorSpacingScale()

public TwBlazorSpacingScale()

Properties

Lg

Gets or sets the standard preset, a step up from Md.

public string Lg { get; set; }

Property Value

string

Md

Gets or sets the compact preset, used for dense controls.

public string Md { get; set; }

Property Value

string

Sm

Gets or sets the tightest preset, used for the smallest touch targets.

public string Sm { get; set; }

Property Value

string

Xl

Gets or sets the comfortable preset, used for cards, dialogs, and toasts.

public string Xl { get; set; }

Property Value

string