Aartiq
Aartiq™
Download
Back to Components

Desktop (Electron)

SmartMessageContent

React Utility

Smart Message Content

Lines

791

File

SmartMessageContent.tsx

Last Modified

2026-10-08

Exports
default memo
Source Path

aartiq-browser/src/ai/SmartMessageContent.tsx

Tags
ReactNode.jsAIOCRmacOS

Code Analysis

React Hooks
useStateuseCallbackuseMemo
API / Library Usage
electronAPIzustand-storeframer-motionlucide-icons
External Dependencies
reactframer-motion
Internal Imports
./MoleculeRenderer
Props / Types

URLCardProps

PropTypeRequired
urlstringYes
titlestringNo
compactbooleanNo

FilePathChipProps

PropTypeRequired
filePathstringYes

SearchResultItem

PropTypeRequired
titlestringYes
urlstringYes
snippetstringYes
indexnumberYes

SearchResultsBlockProps

PropTypeRequired
querystringYes
resultsSearchResultItem[]Yes
enginestringNo

ShellOutputItem

PropTypeRequired
commandstringYes
outputstringYes
successbooleanYes

ParsedSegment

PropTypeRequired
type'text' | 'search-results' | 'shell-output'Yes
contentstringNo
searchQuerystringNo
searchResultsSearchResultItem[]No
searchEnginestringNo
shellItemsShellOutputItem[]No

SmartMessageContentProps

PropTypeRequired
contentstringYes
animatebooleanNo
renderText(text: string, animate: boolean) => React.ReactNodeNo
Key Functions
URLCard()FilePathChip()SearchResultCard()SearchResultsBlock()ShellOutputCard()ShellOutputBlock()SmartMessageContent()

Related Components

Browse all components in the Component Inventory

Auto-Generated Documentation

Component metadata is auto-generated by aartiq-browser/scripts/component-scanner.js