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.

Dark previewReplay preview

Variants

default, outline, ghost, white, black variants.

Dark previewReplay preview

Sizes

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

Dark previewReplay preview

Rounded shapes

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

Dark previewReplay 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.
toRouteLocationRaw—When set, renders as NuxtLink. External URLs open in a new tab.
asstring"button"HTML element when to is empty.
SlotDescription
defaultButton label and icons.