Un marco de imagen que crece a pantalla completa con el scroll.
npx shadcn@latest add https://reactbits.dev/r/ScrollExpand-TS-TW
Refuerzan una interacción concreta: un CTA, una tarjeta, un cursor. Nunca decoran por decorar.
| Prop | Tipo | Por defecto |
|---|---|---|
| src | string | '' |
| mediaType | "image" | "video" | "image" |
| poster | string | '' |
| alt | string | '' |
| title | string | '' |
| scrollHint | string | '' |
| startWidth | number | 42 |
| startHeight | number | 58 |
| startRadius | number | 24 |
| endRadius | number | 0 |
| mediaZoom | number | 1.35 |
| scrollDistance | number | 1.2 |
| holdDistance | number | 0.35 |
| smoothing | number | 0.1 |
| overlayScrim | number | 0.45 |
| useWindowScroll | boolean | false |
| enabled | boolean | true |
| children | React.ReactNode | — |
| className | string | '' |
| style | object | — |