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.
Social Comments Props
TheSocialCommentSection component follows the same minimal props philosophy as all Replyke components. It works with just entityId and offers optional props for specific needs.
Component Import
Props Interface
Entity Identification
Provide one of these to identify which entity the comments belong to:entity
Type: Entity | undefined | null
A complete Entity object. Use when you already have it from useFetchEntity or similar hooks.
entityId
Type: string | undefined | null
The internal Replyke ID for the entity.
foreignId
Type: string | undefined | null
Your external/custom ID for the entity. The component finds or creates the Replyke entity automatically. This is the most common option.
shortId
Type: string | undefined | null
A short, human-readable identifier if you’ve set one on the entity.
You only need ONE of these props. Use whichever fits your data model best.
Optional Props
isVisible
Type: boolean — Default: true
Controls whether the comment section is visible. Useful when rendering inside a modal, drawer, or bottom sheet.
highlightedCommentId
Type: string | undefined | null
ID of a specific comment to highlight on load. The component scrolls to it and applies a highlight that fades after a few seconds.
theme
Type: 'light' | 'dark' — Default: 'light'
Only for the inline styles variant. Sets the color theme for the component.
- Inline Styles Variant
- Tailwind Variant
children
Type: React.ReactNode
Optional content rendered within the comment section.
Usage Examples
Minimal
With Dark Mode (Inline Styles)
With Highlighted Comment
In a React Native Bottom Sheet
Next Steps
File Structure
Component organization
Features
Feature overview
Customization
Customize the component
Installation
Installation guide

