fma-ds

Message Scroller

An auto-scrolling viewport for chat message lists: sticks to the latest message as new ones arrive, and shows a jump-to-end/start button once the user scrolls away.

ChatshadcnMITexperimentalChangelogRegistry JSON

Overview

Experimental: it doesn't sit on react-aria-components like the rest of this registry, and @shadcn/react is still pre-1.0.

Installation

  1. 1

    Register the @fma-ds namespace in components.json (once)

    components.json
    {  "registries": {    "@fma-ds": "https://ds.fmartinsandre.dev.br/r/{name}.json"  }}
  2. 2

    Add the item

    pnpm dlx shadcn@latest add @fma-ds/message-scroller

    Files land in components/fma-ds/message-scroller.tsx; npm and registry dependencies are installed along with them.

Dependencies

npm
@shadcn/react@^0.3.1cn@^0.5.0lucide-react@^1.61.0