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

[@microsoft/fast-animation](./fast-animation.md) &gt; [cubicBezier](./fast-animation.cubicbezier.md)

## cubicBezier() function

Get a cubic bezier curve, formatted as a string, by name.

<b>Signature:</b>

```typescript
export declare function cubicBezier(name: "linear" | "easeOut" | "easeOutSmooth" | "easeIn" | "drillIn" | "backToApp" | "appToApp" | "fastIn" | "fastOut" | "fastInOut" | "exponential" | "fastInFortySevenPercent" | "exponentialReversed" | "navPane" | /* @deprecated */ string): string;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  name | "linear" \| "easeOut" \| "easeOutSmooth" \| "easeIn" \| "drillIn" \| "backToApp" \| "appToApp" \| "fastIn" \| "fastOut" \| "fastInOut" \| "exponential" \| "fastInFortySevenPercent" \| "exponentialReversed" \| "navPane" \| /\* @deprecated \*/ string | the name of the bezier curve to use. |

<b>Returns:</b>

string
