# ImportFromContent.content
Import content from a string.

{/* Do not edit this file. It is automatically generated by API Documenter. */}

## ImportFromContent.content property

Import content from a string.

**Signature:**

```typescript
content: string;
```

## Remarks

- For `LOTTIE`, provide the full Lottie JSON string - For `SVG`, provide the full SVG markup string - For `AUDIO`, provide base64-encoded audio, as a `data:` URI or as plain base64

To send audio from the plugin UI, encode it as base64 in the UI and post the string.

## Example

```ts
// Lottie JSON
{ type: "LOTTIE", content: '{"v":"5.5.7","fr":60}...' }

// SVG
{ type: "SVG", content: '<svg width="100" height="100">...</svg>' }

// Audio
{ type: "AUDIO", content: 'data:audio/mpeg;base64,SUQzBAAAAAAA...' }
```
