📈 GH Trending Explorer 🎲 Surprise me

← all repos

mttmcknn / sea-glass

git clone https://github.com/mttmcknn/sea-glass.git

—

—
stars, 24h
+54
stars, 7 days · #849
+54
stars, 30 days · #5,232
54
★ total · +54% this week
2
forks · 0 open issues

Star history starts 2026-10-20; the chart appears after the second daily snapshot.

LanguageKotlin
LicenseApache-2.0
Created2026-10-13 (7d ago)
Last push1d ago
Watchers0
OwnerUser

Links

README excerpt
# Sea Glass
Frosted color, softly tumbled edges, and a little seaside whimsy for Jetpack Compose and Compose Multiplatform. Add glass with a modifier, or use the included buttons, surfaces, styles, and themes.
## Install
Sea Glass 0.1.0 is available on Maven Central. Add `mavenCentral()` to your repositories, then add the dependency in an existing Compose app:
 [code] 
Building the checkout requires JDK 17. See build setup for Android SDK requirements and desktop-only builds.
## Add some glass
Apply `Modifier.seaGlass()` inside a composable:
 [code] 
The modifier draws the material; your content, layout, and interactions stay Compose. Leave room around it for the glow. Existing controls may need a transparent fill and explicit content colors—see using glass with existing controls.
Use `SeaGlassButton` or `SeaGlassSurface` for ready-made components. Customize recipes and palettes, share component styles, and set defaults with `SeaGlassTheme`. Material You is supported too.
## Platforms
- **Android 7.0+ (API 24):** live rendering on Android 13+, with a background bitmap fallback on older versions.
- **Desktop/JVM** via Compose Multiplatform.
- **iOS:** ARM64 devices and Apple Silicon simulators; building requires Xcode on macOS.
The glass does not sample or distort content behind it. Check text contrast with your chosen colors. iOS rendering, older-Android fallback behavior on devices, and physical-device performance remain unverified. See rendering notes for details.
## Explore
- Run the playground — try palettes, recipes, and sample interfaces.
- Demos and capture notes · Screenshot gallery
- Usage and customization · Release process · Publishing
Sea Glass ports the material from the original web playground, whose source is included. Licensed under Apache 2.0.