Beta V1.2
Components/Text Outputs

Text Response

Clean prose styling for a standard assistant answer with inline code.

Preview

Here's a quick summary. The migration touches three modules and is safe to run incrementally.

I'd recommend starting with the auth service, then rolling out the rest behind a feature flag.

Install

Adds the component files through the shadcn CLI.

shadcn
npx shadcn@latest add https://www.aicss.dev/r/text-response.json

Code

"use client";

import styles from "./TextResponse.module.css";
import type { ReactNode } from "react";

export function TextResponse({ children }: { children?: ReactNode }) {
  return <div className={styles.prose}>{children}</div>;
}