Skip to content
Pebble Pro is here at $49 one timeSee what’s included ↗
Pebble
ComponentsDocsMCPPricing
⌕ Find a component↗Log in
All components 673

Categories

Core inputs & forms46Buttons & actions33Navigation36Overlays & feedback49Data display33Charts & data viz40Cards & layout43Marketing blocks38App shells & pages37AI interfaces40Text & typography effects33Backgrounds & visual effects38Motion & transitions32Numbers & counters32Media34E-commerce333D & interactive36Themed sets40
Start with the essentials.Installation guide ↗Connect your agent ↗
← All componentsMotion & transitions

Focus scroll

Scroll frame where the item nearest the centre is fully lit and slightly scaled while others dim and blur with distance, with ember centre ticks, click-to-centre and optional snap; reduced motion only dims.

Preview

Paragraphs (scroll, or click a line)
  • The kiln was still warm when we opened it the next morning.

  • Every shelf held a small surprise: a glaze that ran, a rim that pulled true.

  • We lifted the mugs out one at a time and turned them in the light.

  • The oat glaze had broken to amber wherever the clay was thin.

  • Two had cracked at the handle, so they went to the seconds shelf.

  • The rest were wrapped in paper and stacked by the door for Friday.

  • By noon the kiln was cold, and we started wedging clay again.

Cards with snap: step 03
  • 01

    Wedge

    Knead out the air.

  • 02

    Centre

    Steady hands, wet clay.

  • 03

    Pull

    Three slow passes.

  • 04

    Trim

    Once leather-hard.

  • 05

    Bisque

    First firing, 1000 °C.

  • 06

    Glaze

    Dip and wipe the foot.

  • 07

    Fire

    1240 °C, then a day to cool.

Install

Pro source requires Pebble Pro. Try the full preview above.

Props

PropTypeDefaultDescription
childrenReactNode—The items, one child each (paragraphs, cards).
snapbooleanfalseSettle the nearest item on the centre line.
guidebooleantrueShow the ember centre ticks.
blur / scalenumber (px) / number2 / 1.04Blur at the edges and the focused item's scale.
initialIndexnumber—Item centred on mount.
onFocusChange(index: number) => void—Called when a different item becomes the nearest to the centre.
labelstring"Reading list"Accessible name of the scroll region.

Pro component

Try the full preview above. Editable source and build guides require Pebble Pro.

Buy Pebble Pro — $49How source access works ↗
Pebble

Small details.
Better interfaces.

React components to explore, make your own, and build on.

Library

  • Components
  • Installation
  • Pricing

Resources

  • For agents
  • About
  • Support

Legal

  • License
  • Terms
  • Privacy
  • Final sale

Built by Pebble

A product of Praxys Solutions LLC ↗

Pebble Pro is live

$49 one time, lifetime updates ↗