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 componentsOverlays & feedback

Quick Look

A file grid with a large preview overlay for images, document pages, numbered code and audio waveforms, with arrow-key browsing, a filename and meta bar, open, download and share actions, and Escape back to the grid.

Preview

Shared with you

Space to preview · ← → to browse

Press Space to preview, Enter to open.

debounce.ts

412 B · TypeScript · 3 of 8

1// Debounce a callback so it runs once input settles.2export function debounce<T extends unknown[]>(fn: (...args: T) => void, wait = 200) {3  let timer: ReturnType<typeof setTimeout> | undefined;4  return (...args: T) => {5    clearTimeout(timer);6    timer = setTimeout(() => fn(...args), wait);7  };8}9 10// Usage11const save = debounce((text: string) => draft.set(text), 400);

debounce.ts, 3 of 8

Install

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

Props

PropTypeDefaultDescription
files{ id, name, kind: "image" | "document" | "code" | "audio" | "other", size?, meta?, preview, thumbnail? }[]—The files. Use QuickLookCode, QuickLookDocument, QuickLookAudio or your own preview. Required.
selected / defaultSelected / onSelectedChangenumber / number / (index) => void— / 0 / —The selected tile.
defaultOpenIndex / onOpenChangenumber | null / (open) => voidnull / —Start with the preview open on this file.
onOpenFile / onDownload / onShare(file) => void—Each shows its action; Enter on a tile calls onOpenFile.
container"viewport" | "parent""viewport"Modal over the page, or inside the grid's frame.
autoFocusbooleantrueFocus the preview when it starts open.
columnsnumber4Grid columns (also the Up/Down step).

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 ↗