rich-text
Installation
SKILL.md
Rich Text in React Native
Software Mansion's production patterns for rich text editing and Markdown rendering in React Native.
There are two libraries that cover rich text use cases:
| Library | Component | Purpose |
|---|---|---|
react-native-enriched |
EnrichedTextInput |
Rich text editing (input) |
react-native-enriched-markdown |
EnrichedMarkdownText |
Markdown rendering (display) |
Both libraries require the React Native New Architecture (Fabric) and support iOS and Android.
Choosing the right library
- User needs to type/edit rich text (bold, italic, mentions, links, inline images): use
react-native-enriched - App needs to display Markdown content (chat messages, documentation, AI responses): use
react-native-enriched-markdown - Both editing and display: use both libraries together