Toggle Sidebar B
header.lightDarkMode D

Button Glass

Glassmorphic button with layered shadows, blur, and 3D press animation. Use for hero CTAs, marketing pages, and over-image overlays where a regular Button feels flat.

Default

Primary glass button.

Variants

default, outline, ghost, white, black variants.

Sizes

sm, md (default), lg, xl with matching rounded shapes.

Rounded shapes

Adjust corner radius from sharp (none) to fully pill (full).

API Reference

Props, events, and slots for each sub-component.

ButtonGlass

Props

PropTypeDefaultDescription
variant"default" | "outline" | "ghost" | "white" | "black" | "white-ghost" | "black-ghost" | "link""default"Visual style.
size"sm" | "md" | "lg" | "xl" | "icon""md"Height and padding.
rounded"none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "full""full"Corner radius.
toRouteLocationRawWhen set, renders as NuxtLink. External URLs open in a new tab.
asstring"button"HTML element when to is empty.

Slots

SlotDescription
defaultButton label and icons.