Text Part 1 · ShadcnCraft

A message's text. An answer is parsed as markdown by Streamdown, which copes with the half-finished syntax a stream produces and gives code blocks their own header and controls. A question is rendered literally, because its asterisks are asterisks. Takes an AI SDK text part.

npx shadcn@latest add @shadcncraft/text-part-1
Preview Text Part 1 on ShadcnCraft's site (opens in a new tab)

Text Part 1 is part of ShadcnCraft's licensed catalog

Sign in or get a license at ShadcnCraft to see its source and install it.