Veldora
Components Button

Button

Flexible button component with semantic variants, sizes, outline styles, icon support, loading state, and button groups.

<x-button>

Solid Semantic Variants

Use variant to pick the role. All variants use Veldora design tokens — no hardcoded colours.

Outline Variants

Transparent background with coloured border. Ideal for secondary actions alongside a solid primary button.

Sizes

Three built-in sizes: sm, md (default), and lg.

With Icons

Inline SVG icons sit flush with the label thanks to the flex gap built into .vui-btn.

Loading & Disabled States

Show feedback during async operations or lock unavailable actions.

Button Group

Attach buttons into a segmented control using .vui-btn-group.

Skeuomorphic — Beveled Embossed Button

3D physical press simulation with specular highlight highlight, inset depth on active, and multi-layer box-shadow bevel.

Flat Minimal 2D Button

Pure flat design — no shadows, no gradients. Bold colour fill with strict 2D border-radius. Outline variant also available.

Neumorphic Soft UI Button

Extruded dual-shadow soft plate that physically recesses inward on click — pure CSS depth illusion.

Glassmorphism Button

Frosted-glass effect with backdrop-blur, translucent tinted fill, and soft outer glow. Perfect for hero sections over dark imagery.