Documentation Index
Fetch the complete documentation index at: https://docs.replyke.com/llms.txt
Use this file to discover all available pages before exploring further.
Configuration File
Thereplyke.json file is created in your project root during initialization. It stores your preferences and is used by the CLI when adding components.
File Location
Configuration Schema
Configuration Options
platform
Type: "react" | "react-native" | "expo"
Specifies your application platform. This determines which component variants are available, which peer dependencies are required, and platform-specific imports.
style
Type: "tailwind" | "styled"
Determines which styling approach to use for components.
- tailwind
- styled (Inline Styles)
Components use Tailwind CSS utility classes.Requires: Tailwind CSS installed in your projectBest for: Projects already using Tailwind, design systems, developers who prefer utility-first CSS
typescript
Type: boolean — Default: true (auto-detected)
Indicates whether your project uses TypeScript. Automatically detected from tsconfig.json or file extensions. You rarely need to change this manually.
paths
Type: object
Configures where components are installed.
src/components/comments-threaded/src/components/comments-social/
aliases
Type: object
Path aliases used in component imports. These should match your tsconfig.json paths or bundler alias configuration.
Complete Example
A typicalreplyke.json for a React web app with Tailwind CSS:
Platform-Specific Notes
React (Web)
@replyke/react-js@^7.0.0
Available components: Threaded comments ✅, Social comments ✅, Notification control ✅
React Native
@replyke/react-native@^7.0.0
Available components: Threaded comments ✅, Social comments ✅
Expo
@replyke/expo@^7.0.0
Available components: Threaded comments ✅, Social comments ✅
Changing Configuration
Option 1 — Edit manually: Updatereplyke.json directly, then delete and re-add any installed components.
replyke.json and run init again.
FAQ
Can I use both styling variants in the same project?
Can I use both styling variants in the same project?
No, the configuration applies globally. Pick one approach for consistency.
What if I delete replyke.json?
What if I delete replyke.json?
The CLI will error when you try to
add components. Run npx @replyke/cli init to recreate it.Does this file affect my application at runtime?
Does this file affect my application at runtime?
No.
replyke.json is only used by the CLI during component installation. Your application never reads this file.Next Steps
Quick Start Guide
Add your first component
Threaded Comments
Install Reddit-style threaded comments
Social Comments
Install Instagram-style social comments
Customization Guide
Learn how to customize components

