Dev Design Library

Anchored turn with a previous peek

scrollAnchor lifts a sent message near the top while a slice of the previous turn stays visible.

Anchored turn with a previous peek preview
Library
ReUI
Framework
React
Type
block
License
MIT
Install
npx shadcn@latest add @reui/c-message-scroller-3
Files
  • registry-reui/bases/radix/components/message-scroller/c-message-scroller-3.tsx
  • registry/bases/radix/ui/avatar.tsx
  • registry/bases/radix/ui/bubble.tsx
  • registry/bases/radix/ui/card.tsx
  • registry/bases/radix/ui/input-group.tsx
  • registry/bases/radix/ui/message.tsx
  • registry/bases/radix/ui/message-scroller.tsx
  • app/(create)/components/icon-placeholder.tsx
Source
https://github.com/keenthemes/reui

Categories

More from ReUI