---
id: fast-animation.fadein
title: fadeIn() function
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-animation](./fast-animation.md) &gt; [fadeIn](./fast-animation.fadein.md)

## fadeIn() function

Creates an animation to fade an element into view

<b>Signature:</b>

```typescript
export declare function fadeIn(element: HTMLElement, effectTiming?: EffectTiming): AnimateTo;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  element | HTMLElement |  |
|  effectTiming | EffectTiming |  |

<b>Returns:</b>

AnimateTo
