Skip to content

Subtle Modifier

The .subtle class creates elements with a muted, reduced-opacity background and softened colors. This style is useful for secondary actions where you want a subdued but still contextually colored appearance.

.subtle can be combined with Intent Variants like .secondary, .success, etc. for different color variations.

Buttons

Apply .subtle to <button> elements:

live preview
See code

Input Buttons

Like <input type="submit"> and <input type="reset">:

live preview
See code

Role Buttons

Any HTML element with [role="button"]:

live preview
See code

Cards

.subtle can also be applied to other elements or components, such as cards, to create a transparent background with colored borders and text.

live preview
See code