A collection of React components for building conversational AI interfaces with Cedar OS.
npm install cedar-os-components
import { ChatInput, FloatingCedarChat, Button } from 'cedar-os-components';
function MyApp() {
return (
<div>
<FloatingCedarChat />
<ChatInput />
<Button>Click me</Button>
</div>
);
}
This package includes over 35 React components organized into categories:
-
CedarCaptionChat
- Caption-style chat component with floating UI -
FloatingCedarChat
- Floating chat interface with animation support -
SidePanelCedarChat
- Side panel chat interface with slide animations
-
ChatInput
- Enhanced chat input component with context support -
ContextBadgeRow
- Row of context badges for chat input -
FloatingChatInput
- Floating chat input with positioning and auto-close
-
CaptionMessages
- Caption-style message display component -
ChatBubbles
- Animated chat bubble component -
ChatRenderer
- Renders chat messages with markdown support -
MarkdownRenderer
- Chat markdown rendering component -
StreamingText
- Animated streaming text component - And more...
-
Container3D
- 3D-styled container with motion effects -
GlassyPaneContainer
- Glass morphism container component -
Flat3dContainer
- Flat container with 3D styling
-
Button
- Customizable button component -
Slider3D
- 3D-styled slider component -
KeyboardShortcut
- Keyboard shortcut display component
-
ShimmerText
- Text with shimmer animation effect -
TypewriterText
- Typewriter animation text component
See the registry.json file for a complete list of all available components.
This package has peer dependencies on:
-
react
>= 17.0.0 -
react-dom
>= 17.0.0
Additional dependencies are bundled with the package.
# Install dependencies
npm install
# Build the package
npm run build
# Watch mode for development
npm run dev
MIT