Stop Rebuilding UI

Shadcn.io is not affiliated with official shadcn/ui

Terms and Conditions

A terms and conditions dialog requiring users to scroll to bottom before accepting, ensuring content review

Making users actually read terms instead of blindly clicking Accept? This React dialog tracks scroll position with onScrollCapture, enabling the Accept button only after users reach the bottom. Built with shadcn/ui Dialog and ScrollArea, it enforces content review through scroll detection. Perfect for legal agreements, terms of service, or compliance workflows requiring confirmed content reading.

Terms and Conditions preview

Scroll to load preview

Installation

FAQ

Was this page helpful?

Sign in to leave feedback.