Skip to content

Scroll Container

github-actions[bot] edited this page Nov 7, 2026 · 5 revisions

Scroll Container

This example demonstrates the scroll widget with opt-in webkit-style bounce physics, glass clipping, and scroll event handling.

Features demonstrated:

  • ScrollConfig::bouncy() for opt-in bounce physics
  • Glass elements clipping properly inside scroll
  • Scroll event handling with delta reporting
  • Spring animation for edge bounce
  • Toggle between vertical and horizontal scroll directions
  • Using reactive state system (ctx.use_state) for state persistence

Tip: Some demos are best viewed in a full browser window. Click "Open in a new tab" below for the full experience.

Open in a new tab · View source on GitHub

Navigation

Getting Started

Migrating

Mobile Development

Example Gallery

Web Development

Core Concepts

Animation

Components

Component Library (blinc_cn)

Widgets

Canvas Kit

Advanced

Architecture

Contributing

Clone this wiki locally