Embedding Tools
CTP tools can be embedded in any web page using the SDK.Quick Start
SDK Installation
CDN
npm
Embedding Methods
Declarative (Data Attributes)
Programmatic
Configuration Options
Autosense
Autosense automatically detects and matches the host page’s styling framework.Supported Frameworks
| Framework | Detection | Styling |
|---|---|---|
| Tailwind CSS | Class patterns | Native Tailwind classes |
| Bootstrap | CSS variables | Bootstrap utilities |
| Chakra UI | CSS variables | Chakra tokens |
| Material UI | Theme provider | MUI styling |
| shadcn/ui | CSS variables | shadcn components |
| None | Fallback | Built-in neutral theme |
How It Works
- Scans the page for framework indicators
- Detects CSS variables and class patterns
- Applies matching styling tokens
- Falls back to neutral theme if undetected