169
A small, complete assistant with chats and projects in the sidebar, files you can attach, and replies that write themselves out word by word.
akaai workspace·chat app
Run this in any project set up for the shadcn CLI. It copies the Assistant App source into your components folder, so the code is yours to change.
npx shadcn@latest add https://devl.dev/r/assistant-app.jsonImport it and render it. Every prop has a typed default, so it works straight away, and you pass your own data when you’re ready.
import { AssistantApp } from "@/components/assistant-app";
export default function Page() {
return <AssistantApp />;
}A free React block in the Apps collection, written in TypeScript with Tailwind CSS on coss ui. MIT licensed.
Read from the Assistant App source. Everything is optional unless it says required.
| Prop | Type | Default |
|---|---|---|
| productName | string | "Assistant" |
| user | { name: string; initials: string; plan?: string } | { name: "You", initials: "Y" } |
| greeting | string | "Welcome back" |
| chats | AssistantChat[] | [] |
| projects | AssistantProject[] | [] |
| suggestions | AssistantSuggestion[] | [] |
| defaultChatId | string | — |
| reply | (prompt: string, project?: AssistantProject) => string | defaultReply |
| className | string | — |