stackblitz-labs/use-stick-to-bottom

A lightweight React Hook intended mainly for AI chat applications, for smoothly sticking to bottom of messages

54
/ 100
Established

This is a React utility that helps developers create smooth, user-friendly chat interfaces, especially for AI chatbots. It takes a stream of new messages or content and automatically scrolls the view to the bottom, ensuring the latest information is always visible. Developers building web applications with real-time message streams would use this.

696 stars. Actively maintained with 1 commit in the last 30 days.

Use this if you are a web developer building a chat interface in React where new messages are continuously added and you want the view to smoothly stick to the bottom, even as content resizes.

Not ideal if you are not developing in React or if your application does not involve dynamically streaming content that needs to maintain a 'scroll to bottom' behavior.

web-development chat-ui user-experience front-end-development real-time-applications
No Package No Dependents
Maintenance 13 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 15 / 25

How are scores calculated?

Stars

696

Forks

47

Language

TypeScript

License

MIT

Last pushed

Feb 06, 2026

Commits (30d)

1

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/stackblitz-labs/use-stick-to-bottom"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.