Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions apps/v4/content/docs/components/base/message-scroller.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,15 @@ const MotionMessageScrollerItem = motion.create(MessageScrollerItem)
previewClassName="h-auto theme-blue bg-surface dark:bg-background p-4 min-[480px]:p-8 min-[560px]:p-10 sm:px-10 sm:py-16"
/>

<Callout>
The `MessageAnimated` import in the example above is a demo wrapper used to
keep this documentation focused. It is not a published component, so it is not
available through the CLI or as a separate page—it only bundles the
`motion.create(MessageScrollerItem)` pattern shown above with the message
rendering. Build your own animated row from that pattern instead of importing
it.
</Callout>

Avoid animating height, margin, or padding for row entrances; those changes can
fight the scroller's positioning work. If the reader prefers reduced motion,
skip the entrance animation and keep the scroll behavior the same.
Expand Down
9 changes: 9 additions & 0 deletions apps/v4/content/docs/components/radix/message-scroller.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,15 @@ const MotionMessageScrollerItem = motion.create(MessageScrollerItem)
previewClassName="h-auto theme-blue bg-surface dark:bg-background p-4 min-[480px]:p-8 min-[560px]:p-10 sm:px-10 sm:py-16"
/>

<Callout>
The `MessageAnimated` import in the example above is a demo wrapper used to
keep this documentation focused. It is not a published component, so it is not
available through the CLI or as a separate page—it only bundles the
`motion.create(MessageScrollerItem)` pattern shown above with the message
rendering. Build your own animated row from that pattern instead of importing
it.
</Callout>

Avoid animating height, margin, or padding for row entrances; those changes can
fight the scroller's positioning work. If the reader prefers reduced motion,
skip the entrance animation and keep the scroll behavior the same.
Expand Down
Loading