Components
<MagicTabSelect />

<MagicTabSelect />

Overview

  • This component is used for animating the tab selection indicator.

An example of this component is seen on the Tabs example.

Props

interface MagicTabSelectProps {
  id: string;
  children: JSX.Element;
  transition?: Transition;
}
Prop nameDefault valueDescription
idundefinedUsed to identify the component being animated
transition (opens in a new tab)set by framer-motionThe transition animation for the tab select.