FileExtIcon
Small language icons for file names: TypeScript (ts, tsx), JavaScript (js, jsx, mjs, cjs) and JSON (json, jsonc). For any other extension it renders nothing, so place a generic file icon next to it when you need one. size defaults to 10px, matching tool rows; EditTool and the DiffReview file icons use it. AgentModeIcon and PlanModeIcon are the icons of the two default composer modes; pass them as icon in ModeSelector options. All icons use Mantine color variables and follow the color scheme.
Getting Started
$pnpm add @sinups/ai-kit @mantine/core @mantine/hooks @tabler/icons-reactExamples
Icons
API reference
Prop
Type
Required
filename
string
Yes
size
number | string
No
className
string
No
style
React.CSSProperties
No