For the complete documentation index, see llms.txt. Markdown variants are available by appending .md to any URL or sending an Accept: text/markdown header. An agent skill is available at /.well-known/agent-skills/site-skill.md.
FrakmentFrakment

React

The @frakment/react package has been merged into the message component.

The @frakment/react package is no longer published. Its message-scroller engine now ships inside the message registry component.

Migration

Install the message component:

$ npx frakment@latest add message

Replace the package import with the component import:

tsx
import { MessageScroller } from "@/components/ui/message";

The MessageScroller export shape is unchanged. The compound has the same six parts (Provider, Root, Viewport, Content, Item, Button) and the three hooks (useMessageScroller, useMessageScrollerScrollable, useMessageScrollerVisibility) remain available.

Why

Scroll behavior and bubble rendering belong together. Consolidating into a single file removes the React 19 peer requirement at the docs level, drops the npm dependency, and lets the copy-paste workflow own the entire chat UI.

See Message for the full component.