Skip to Content
CrowCrow

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, and ToasterState stacking 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?

On this page