fma-ui

Questionnaire

A multi-step form/survey block (progress, choices, text input, previous/skip/next/submit) for chat-kit style conversational flows. Built on @shadcn/react, not react-aria-components — upstream hasn't ported it to the aria base yet. Experimental while @shadcn/react is pre-1.0.

ChatshadcnexperimentalRegistry JSON

Installation

  1. 1

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

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

    Add the item

    pnpm dlx shadcn@latest add @fma-ui/questionnaire

    Files land in components/fma-ui/questionnaire.tsx; npm and registry dependencies are installed along with them.

Dependencies

npm
@shadcn/react@^0.3.1cn@^0.4.0lucide-react@^1.52.0