Toggle Sidebar B
AppearanceLight & dark mode 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.

Replay preview

Variants

default, outline, ghost, white, black variants.

Replay preview

Sizes

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

Replay preview

Rounded shapes

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

Replay preview

API Reference

ButtonGlass

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.
SlotDescription
defaultButton label and icons.