Installing Threaded Comments
Add Reddit-style threaded comments to your project with a single command.Prerequisites
Before installing, make sure you’ve completed the CLI setup:1
Initialize CLI
replyke.json configuration file.2
Install Dependencies
Installation Command
Run the add command in your project directory:What Gets Installed
The CLI will:- Fetch the component from the registry (based on your
replyke.jsonconfig) - Copy ~25 files into your project at
{componentsPath}/comments-threaded/ - Transform imports to work with your project structure
- Create index.ts barrel export for clean imports
- Display usage examples and required dependencies
File Structure Created
CLI Output Example
Using the Component
After installation, import and use the component:Make sure your app is wrapped with
<ReplykeProvider>. See the Quick Start Guide for setup details.Customization
All source files are now in your project and fully editable. Change anything you want: Change colors:Switching Styling Variants
If you want to switch between Tailwind and Inline Styles after installation:1
Delete Current Components
2
Update Configuration
Edit
replyke.json:3
Re-install
Verification
After installation, verify everything works:1
Check Files Exist
2
Try Importing
3
Run Your Dev Server
Troubleshooting
Error: Platform not supported
Error: Platform not supported
Threaded comments are currently only available for React (Web).Check your For React Native/Expo, use Social Comments instead.
replyke.json:Import errors
Import errors
Make sure your import path matches your
componentsPath:TypeScript errors
TypeScript errors
Ensure your
tsconfig.json includes the components directory:Component already exists
Component already exists
The CLI won’t overwrite existing files. To reinstall:
Next Steps
Props & API
Learn about available props
File Structure
Understand the component organization
Customization
Customize colors, layout, and functionality
Features
Explore all features

