We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c4f3c3 commit 22de448Copy full SHA for 22de448
apps/webapp/app/components/primitives/Tabs.tsx
@@ -209,7 +209,11 @@ export function TabButton({
209
{shortcut && <ShortcutKey className={cn("")} shortcut={shortcut} variant={"small"} />}
210
</div>
211
{isActive ? (
212
- <motion.div layoutId={layoutId} className="mt-1 h-0.5 w-full bg-indigo-500" />
+ <motion.div
213
+ layoutId={layoutId}
214
+ transition={{ type: "spring", stiffness: 500, damping: 30 }}
215
+ className="mt-1 h-0.5 w-full bg-indigo-500"
216
+ />
217
) : (
218
<div className="mt-1 h-0.5 w-full bg-charcoal-500 opacity-0 transition duration-200 group-hover:opacity-100" />
219
)}
0 commit comments