# Stretch Tabs

> Tabs whose indicator stretches as it travels, then snaps tight.

Stretch Tabs is a navigation animation ready for your AI assistant, React or plain JavaScript, with no dependencies. Also called segmented control, elastic tabs or stretchy tab indicator.

The indicator under your tabs leads with one edge and trails with the other, so it stretches on the way and closes up with a small bounce. Labels change colour exactly where it passes. Drag it to scrub, or use the arrow keys.

- Page: https://foundry44.dev/components/stretch-tabs/
- Category: [Navigation](https://foundry44.dev/library/navigation/)
- Interactions: click, drag, keyboard, touch
- Dependencies: none
- Licence: Pro

## With Pro

The AI prompt, the React component, the plain JavaScript file and the embed come with Pro, along with the live demo. Every setting is optional: with none, you get the effect as the preview shows it.

Settings: `variant`, `stretch`, `stiffness`, `fit`, `name`.
