---
# System prepended metadata

title: import

---

# import

```javascript=
// export
// when one function in on File
export default function Footer() {
  // code
}

// import
import Footer from "./Footer" 
```

```javascript=
// export
// when multiple functions in one file
function Footer() {
  // code
}

export function Copyrightes() {
  // code
}

export default Footer;

// import
import Footer, { Copyrights } from "./Footer"
```

```javascript=
// export
// when no default function
export function Footer() {
  // code
}

export function Copyrightes() {
  // code
}

// import
import { Copyrights, Footer } from "./Footer"
```

```javascript=
// export
// default and multiple fucntion export
function Footer() {
  // code
}

export function Copyrightes() {
  // code
}

export function Header() {
  // code
}

export default Footer;

// import
import Footer, { Header, Copyrights } from "./Footer"
```
![](https://i.imgur.com/FFztbfW.png)
