Keeps components at a given position on the screen during scrolling.


To implement Sticky component into your project you’ll need simply wrap your component into it:

import Sticky from "@kiwicom/orbit-components/lib/Sticky";
import Card from "@kiwicom/orbit-components/lib/Card";
import CardContent from "@kiwicom/orbit-components/lib/Card/CardContent";

After adding import into your project you can use it simply like:

<CardContent>Hello World!</CardContent>


Table below contains all types of the props available in ButtonLink component.

childrenReact.NodeThe content of the FloatingCard.
offsetnumber10Sets offset from top during scroll
dataTeststringOptional prop for testing purposes.
idstringSet id for Sticky