Lens Liquid Glass (crow-lens)
Apple HIG × shadcn × zero-wiring Liquid Glass design system powered by Crow UI's SDF glass engine.
Lens (crow-lens) is Crow's signature modern design system: combining shadcn's composable, variant-driven clarity, Apple HIG typography and hierarchy, and a zero-wiring Liquid Glass engine built directly into Crow UI's renderer.
Zero-Wiring Liquid Glass
Most Android blur and glass libraries force you to wire source/backdrop modifiers up and down your view hierarchy (hazeSource / hazeChild).
Crow's glass engine needs zero wiring: Crow UI's renderer already knows what is drawn beneath every surface. Any glass surface automatically samples the live backdrop behind it with:
- Any-shape SDF refraction with continuous corners
- Specular Fresnel rim lighting & subtle chromatic dispersion
- Tilt & touch-reactive specular highlights
- Adaptive label contrast that keeps text readable over shifting imagery
- Liquid merging groups & morphing IDs
- Interactive swell & stretch on press and drag
- Reduced-resolution blur pass for smooth 120 Hz framing
Components
Lens ships typed, variant-driven components built over Crow's unstyled bases:
@Ui
fun BrewSheetActions(@Once onCancel: () -> Unit, @Once onSave: () -> Unit) {
Row(
Modifier.fillMaxWidth().padding(horizontal = 16.dp, vertical = 10.dp),
horizontalArrangement = Arrangement.SpaceBetween,
verticalAlignment = Alignment.CenterVertically,
) {
Button(
onClick = onCancel,
variant = ButtonVariant.Ghost,
size = ButtonSize.Sm,
) {
Text("Cancel")
}
Text("Log Brew", style = Lens.typography.headline)
Button(
onClick = onSave,
variant = ButtonVariant.Default,
size = ButtonSize.Sm,
) {
Text("Save")
}
}
}Highlights in crow-lens
- Floating Liquid Glass
TabBar— hosts tabs plus an optional floating glass action orb, automatically morphing its active selection pill. - Detent
Sheet— glass bottom sheets with fractional detents (SheetDetent.Fraction(0.62f),SheetDetent.Large), scroll handoff, swipe-away dismissal, and predictive back. - Grouped Controls —
ListGroup,ListRow,ListTextField,TextArea,SegmentedControl,Stepper,Button(Default,Secondary,Destructive,Outline,Ghost,Link,Glass,GlassProminent), arrowed glass popovers, andToasterStatestacking notifications. - Typography & Tokens —
Lens.typography(largeTitle,title1–title3,headline,body,callout,subheadline,footnote,caption1–caption2) with Apple-inspired semantic label hierarchy.
How is this guide?
Material 3 (crow-material3)
Optional Material 3 design system built over core unstyled bases — live signal-backed ColorScheme, dynamic wallpaper color, and full component catalog.
Symbols & Variable Icons (crow-symbols)
All 3,893 Material Symbols in Rounded, Outlined, and Sharp styles (+ SymbolStyle.Soft) with live variable font axes, SF-style effects, and automatic font subsetting.