Skip to main content
VelinStyle v1.3.0
⌂ Home
  1. Docs
  2. Components
  3. Forms & inputs
  4. Close Button

Close Button 1.2.2

A generic close button using .velin-btn--close. Renders a × symbol via CSS ::after — no inner HTML needed. Deutsch: Schliessen Button

Maturity: Documented as stable in VelinStyle 1.2.0. Design Intelligence (plan / review / agent meta) is separate and beta / foundation where noted.

When to use

When not

Basic Example

<button class="velin-btn--close" aria-label="Close"></button>

Disabled State

<button class="velin-btn--close" aria-label="Close" disabled></button>

Accessibility

CSS Variables

VariableDescription
--velin-color-text-mutedDefault colour
--velin-color-textHover colour
--velin-color-surface-dimHover background
--velin-radius-mdBorder radius