AI-native components
for Angular.
ShadNG is the Angular library of AI-native components that should exist but doesn't. Built on spartan-ng primitives, integrates cleanly with Hashbrown for LLM logic. Tribute to shadcn/ui.
10 components
Full PromptInput family — container, textarea, toolbar, attachments, model select, and submit with 4 states.
Streaming-aware
Built around an explicit ready → submitted → streaming → error state machine.
Bring your own state
Inputs accept signals from Hashbrown, Vercel AI SDK, NgRx, or plain fetch().
Install
bash
npm install @shadng/prompt-inputThen import the components you need:
typescript
import {
PromptInput,
PromptInputTextarea,
PromptInputSubmit,
PromptInputToolbar,
} from '@shadng/prompt-input';