> For the complete documentation index, see [llms.txt](https://htms-docs.fsh.plus/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://htms-docs.fsh.plus/commands/import.md).

# Import

Added in V0

This command allows loading samples from a [htms file](/main/htms-files.md)

## Syntax:

```ejs
import "Sample" from "File.htms"
```

Sample Name: This must be the name of one of the samples in the file

File: This can be a full url (https\://\*.\*/\*) or a relative path (./\*)

<figure><img src="https://969488199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkezzF8FzHKrgFljKxzmK%2Fuploads%2FqHa2dw8T55Td08Fq9Qwo%2Fhtms-import.png?alt=media&amp;token=e60f81f6-6738-4757-8c33-d55edd883604" alt="" width="563"><figcaption><p>Import flow</p></figcaption></figure>

## Multiload syntax:

```ejs
import "Sample1","Sample2","Sample3"... from "File"
```

Multiple samples can be loaded from the same file at the same time by separating the names with commas (No space)
