Skip to content

Liquid Glass

Latest

Choose a tag to compare

@mikakruschel mikakruschel released this 26 Oct 17:51
8cb2c79

The toolbar now floats above the keyboard as a Liquid Glass capsule, like the system keyboard toolbar on iOS 26.

What's new

  • Floating capsule above the keyboard, Liquid Glass on iOS 26+ with a material fallback
  • Items spread across the width when they fit, otherwise scroll with snapping
  • New options: isSelected, accessibilityLabel, font, selectionColor, margins, distributesItems, background (.glass, .tintedGlass, .color)
  • Dynamic Type is capped inside the toolbar, with large content viewer support

Breaking changes

  • Requires iOS 17 and Swift 6 (Xcode 16+); Xcode 26+ to build with Liquid Glass
  • init(backgroundColor:) is deprecated; use init(background: .color(_:)), or omit it for glass
  • .standard is now glass instead of a gray background
  • Style builders no longer have default arguments; withDividerBetweenItems() without an argument now enables dividers
  • dismissKeyboard uses the primary color instead of the accent color

Full changes: #6