TABS free pack · 8 tab bars

8 tab bars
you can create using Claude.

The tab bars from the reel, running live right here. Tap the tabs on the phone. Each bar comes as one web component (one file, no dependencies) and as the prompt that describes it, so you can build your own version in any stack.

Two ways to use them

Take the finished component, or take the prompt and have Claude build the bar for your own app, icons and colours.

01

Drop in the file

Download a bar, load it with <script type="module"> and put <tb-gooey> in a box. It scales to the box's width.

02

Listen for taps

Set active (0 to 3), call .select(i), or listen for the change event. It works in React, Vue and Svelte too.

03

Or copy the prompt

Paste it into Claude, name your stack, and change the icons, the labels and the colours to match your app.

The 8 tab bars

In the order of the reel. Tap a tab on any of them; the far tab shows the longest move.

Tap a tab
01 / 08 · Scoop, an ice cream shop

Gooey Split

A drop of gum stretches to the new tab, lets go and whips in.

Download gooey.js 33 KB
The prompt
Build me an animated bottom tab bar as one dependency-free component for my app. My stack is: [React / React Native / SwiftUI / Vue / plain web component].

Rules:
- Four tabs. An `active` index (0 to 3), a way to select a tab from code, and a change callback.
- Draw the animation as a pure function of progress p (0 to 1) for the current tap, every frame. No CSS transitions.
- Three acts: Press (the tapped icon reacts in the first 15 percent), Travel (the idea below), Settle (an overshoot or wobble that rings out). About 1 to 1.3 seconds in total, a little longer for a longer trip.
- Use a real icon set (Phosphor: regular weight for inactive tabs, fill for the active one). Icons about 44 percent of the bar's height.
- Each tab has its own accent colour. Change colour with a hard switch or a wipe, never by blending two saturated colours.
- Soft layered shadows, a hairline highlight on the top edge, everything crisp at 3x.

The bar: Gooey Split. A glossy white pill bar. A glossy drop of gum (radial gradient, one specular highlight) sits behind the active icon, which is white and filled inside it. On a tap the head of the drop shoots to the new tab while its tail stays behind, joined by a thinning strand. Draw the drop as one vector path (two circles and a strand built from cubic curves), not with a blur filter. The tail lets go at about 45 percent and whips in, then the drop wobbles like jelly and takes the new tab's colour. The white filled icons show only where the gum covers them: clip them with the drop's outline.
How to use the code
<script type="module" src="gooey.js"></script>

<tb-gooey style="display:block; width:390px; height:130px"></tb-gooey>

<script type="module">
  const bar = document.querySelector("tb-gooey");
  bar.addEventListener("change", (e) => console.log("tab", e.detail.active));
  // bar.select(2);   bar.setAttribute("active", "1");
</script>
Tap a tab
02 / 08 · Ribbit, a language app

Frog

The frog leaps from lily pad to lily pad and the water ripples.

Download frog.js 355 KB
The prompt
Build me an animated bottom tab bar as one dependency-free component for my app. My stack is: [React / React Native / SwiftUI / Vue / plain web component].

Rules:
- Four tabs. An `active` index (0 to 3), a way to select a tab from code, and a change callback.
- Draw the animation as a pure function of progress p (0 to 1) for the current tap, every frame. No CSS transitions.
- Three acts: Press (the tapped icon reacts in the first 15 percent), Travel (the idea below), Settle (an overshoot or wobble that rings out). About 1 to 1.3 seconds in total, a little longer for a longer trip.
- Use a real icon set (Phosphor: regular weight for inactive tabs, fill for the active one). Icons about 44 percent of the bar's height.
- Each tab has its own accent colour. Change colour with a hard switch or a wipe, never by blending two saturated colours.
- Soft layered shadows, a hairline highlight on the top edge, everything crisp at 3x.

The bar: Frog. A pill of teal pond water with a white rim. The four tabs are round green lily pads with white filled icons. A small frog mascot sits on the selected pad. On a tap the frog crouches and the tapped pad dips, then it leaps in an arc to the new pad (a stretched mid-air pose, rotated along the arc, higher for longer jumps), lands with a squash, the pad sinks and bobs back, two ripple rings spread in the water, and the pad it left bobs up. Use image sprites for the frog: one sitting pose and one leaping pose in the same style.
How to use the code
<script type="module" src="frog.js"></script>

<tb-frog style="display:block; width:390px; height:130px"></tb-frog>

<script type="module">
  const bar = document.querySelector("tb-frog");
  bar.addEventListener("change", (e) => console.log("tab", e.detail.active));
  // bar.select(2);   bar.setAttribute("active", "1");
</script>
Tap a tab
03 / 08 · Ledger, a finance app

Expanding Label

The coloured pill runs to the new tab and its label opens.

Download label.js 30 KB
The prompt
Build me an animated bottom tab bar as one dependency-free component for my app. My stack is: [React / React Native / SwiftUI / Vue / plain web component].

Rules:
- Four tabs. An `active` index (0 to 3), a way to select a tab from code, and a change callback.
- Draw the animation as a pure function of progress p (0 to 1) for the current tap, every frame. No CSS transitions.
- Three acts: Press (the tapped icon reacts in the first 15 percent), Travel (the idea below), Settle (an overshoot or wobble that rings out). About 1 to 1.3 seconds in total, a little longer for a longer trip.
- Use a real icon set (Phosphor: regular weight for inactive tabs, fill for the active one). Icons about 44 percent of the bar's height.
- Each tab has its own accent colour. Change colour with a hard switch or a wipe, never by blending two saturated colours.
- Soft layered shadows, a hairline highlight on the top edge, everything crisp at 3x.

The bar: Expanding Label. A near-black pill bar with light grey line icons. The active tab is a coloured pill holding a dark filled icon and its label. On a tap the pill's leading edge runs to the new tab first and the trailing edge follows, so it stretches; the other icons slide sideways to make room; the new accent colour floods the pill from the tapped icon; any icon the pill passes over turns dark and filled; and the new label slides open inside the pill.
How to use the code
<script type="module" src="label.js"></script>

<tb-label style="display:block; width:390px; height:130px"></tb-label>

<script type="module">
  const bar = document.querySelector("tb-label");
  bar.addEventListener("change", (e) => console.log("tab", e.detail.active));
  // bar.select(2);   bar.setAttribute("active", "1");
</script>
Tap a tab
04 / 08 · Daybook, a journal

Sticker

The sticker peels off, flies over and slaps down.

Download sticker.js 36 KB
The prompt
Build me an animated bottom tab bar as one dependency-free component for my app. My stack is: [React / React Native / SwiftUI / Vue / plain web component].

Rules:
- Four tabs. An `active` index (0 to 3), a way to select a tab from code, and a change callback.
- Draw the animation as a pure function of progress p (0 to 1) for the current tap, every frame. No CSS transitions.
- Three acts: Press (the tapped icon reacts in the first 15 percent), Travel (the idea below), Settle (an overshoot or wobble that rings out). About 1 to 1.3 seconds in total, a little longer for a longer trip.
- Use a real icon set (Phosphor: regular weight for inactive tabs, fill for the active one). Icons about 44 percent of the bar's height.
- Each tab has its own accent colour. Change colour with a hard switch or a wipe, never by blending two saturated colours.
- Soft layered shadows, a hairline highlight on the top edge, everything crisp at 3x.

The bar: Sticker. A cream paper pill bar with thin charcoal line icons. The active tab is a die-cut sticker: a rounded square in the tab's colour with a thick white border, tilted about 6 degrees, one corner peeled up, a white filled icon on it. On a tap the sticker peels off from its corner (the curl grows and shows a paler underside), lifts (scale 1.25, a bigger and softer shadow), flies to the new tab in a low arc while rotating, swaps colour and icon at the top of the arc, then slaps down with a quick squash, wobbles its tilt once and rests with the corner peeled again.
How to use the code
<script type="module" src="sticker.js"></script>

<tb-sticker style="display:block; width:390px; height:130px"></tb-sticker>

<script type="module">
  const bar = document.querySelector("tb-sticker");
  bar.addEventListener("change", (e) => console.log("tab", e.detail.active));
  // bar.select(2);   bar.setAttribute("active", "1");
</script>
Tap a tab
05 / 08 · Wave, a music app

Liquid Glass

A glass lens glides over the icons and bends what is under it.

Download glass.js 45 KB
The prompt
Build me an animated bottom tab bar as one dependency-free component for my app. My stack is: [React / React Native / SwiftUI / Vue / plain web component].

Rules:
- Four tabs. An `active` index (0 to 3), a way to select a tab from code, and a change callback.
- Draw the animation as a pure function of progress p (0 to 1) for the current tap, every frame. No CSS transitions.
- Three acts: Press (the tapped icon reacts in the first 15 percent), Travel (the idea below), Settle (an overshoot or wobble that rings out). About 1 to 1.3 seconds in total, a little longer for a longer trip.
- Use a real icon set (Phosphor: regular weight for inactive tabs, fill for the active one). Icons about 44 percent of the bar's height.
- Each tab has its own accent colour. Change colour with a hard switch or a wipe, never by blending two saturated colours.
- Soft layered shadows, a hairline highlight on the top edge, everything crisp at 3x.

The bar: Liquid Glass. A clear glass capsule floating over colourful content, with a thicker glass lens on the active tab. Make the glass really refract what is behind it: backdrop-filter with an SVG feDisplacementMap whose map is generated from the capsule's own rounded shape (the rim bends the picture toward the centre, and the lens adds a little even magnification). Keep the displacement small. The white icons sit under the lens, so it magnifies them. On a tap the lens stretches like a drop (leading edge first, trailing edge after), glides over the icons and settles with a jelly wobble. Bright specular rim, soft shadow. The refraction works in Chromium; fall back to a plain blur elsewhere.
How to use the code
<script type="module" src="glass.js"></script>

<tb-glass style="display:block; width:390px; height:130px"></tb-glass>

<script type="module">
  const bar = document.querySelector("tb-glass");
  bar.addEventListener("change", (e) => console.log("tab", e.detail.active));
  // bar.select(2);   bar.setAttribute("active", "1");
</script>
Tap a tab
06 / 08 · Linea, a metro app

Next Stop

A little train runs the line to the next station.

Download nextstop.js 32 KB
The prompt
Build me an animated bottom tab bar as one dependency-free component for my app. My stack is: [React / React Native / SwiftUI / Vue / plain web component].

Rules:
- Four tabs. An `active` index (0 to 3), a way to select a tab from code, and a change callback.
- Draw the animation as a pure function of progress p (0 to 1) for the current tap, every frame. No CSS transitions.
- Three acts: Press (the tapped icon reacts in the first 15 percent), Travel (the idea below), Settle (an overshoot or wobble that rings out). About 1 to 1.3 seconds in total, a little longer for a longer trip.
- Use a real icon set (Phosphor: regular weight for inactive tabs, fill for the active one). Icons about 44 percent of the bar's height.
- Each tab has its own accent colour. Change colour with a hard switch or a wipe, never by blending two saturated colours.
- Soft layered shadows, a hairline highlight on the top edge, everything crisp at 3x.

The bar: Next Stop. A dark navy pill bar. A thick metro line runs through its lower third with four station dots, and each tab's icon sits above its station. The selected station is a larger white interchange ring with a small train capsule (two windows, a headlight on the leading end) parked on it. On a tap the train pulls out, runs along the line past the stations in between and brakes with a small overshoot. The line takes the new tab's colour as a flood that follows the train. The old station shrinks, the new one grows into the ring, the train rocks once and the icon lights white.
How to use the code
<script type="module" src="nextstop.js"></script>

<tb-nextstop style="display:block; width:390px; height:130px"></tb-nextstop>

<script type="module">
  const bar = document.querySelector("tb-nextstop");
  bar.addEventListener("change", (e) => console.log("tab", e.detail.active));
  // bar.select(2);   bar.setAttribute("active", "1");
</script>
Tap a tab
07 / 08 · Plate, food delivery

Floating Notch

The circle sinks, the notch slides over, and it pops back up.

Download notch.js 31 KB
The prompt
Build me an animated bottom tab bar as one dependency-free component for my app. My stack is: [React / React Native / SwiftUI / Vue / plain web component].

Rules:
- Four tabs. An `active` index (0 to 3), a way to select a tab from code, and a change callback.
- Draw the animation as a pure function of progress p (0 to 1) for the current tap, every frame. No CSS transitions.
- Three acts: Press (the tapped icon reacts in the first 15 percent), Travel (the idea below), Settle (an overshoot or wobble that rings out). About 1 to 1.3 seconds in total, a little longer for a longer trip.
- Use a real icon set (Phosphor: regular weight for inactive tabs, fill for the active one). Icons about 44 percent of the bar's height.
- Each tab has its own accent colour. Change colour with a hard switch or a wipe, never by blending two saturated colours.
- Soft layered shadows, a hairline highlight on the top edge, everything crisp at 3x.

The bar: Floating Notch. A white bar drawn as ONE path whose top edge has a smooth concave notch (cubic curves, no kinks) above the selected tab. A circle in the tab's colour with a white filled icon floats in the notch, with a soft coloured glow under it. On a tap the circle sinks into the bar and shrinks, the notch slides along the top edge to the new tab (a little shallower mid-way), the colour and icon swap while the circle is down, then it pops up out of the notch with an overshoot and a bounce, and the notch wobbles once.
How to use the code
<script type="module" src="notch.js"></script>

<tb-notch style="display:block; width:390px; height:130px"></tb-notch>

<script type="module">
  const bar = document.querySelector("tb-notch");
  bar.addEventListener("change", (e) => console.log("tab", e.detail.active));
  // bar.select(2);   bar.setAttribute("active", "1");
</script>
Tap a tab
08 / 08 · Marquee, a film app

Spotlight

The lamp glides along the edge and the beam swings after it.

Download spotlight.js 31 KB
The prompt
Build me an animated bottom tab bar as one dependency-free component for my app. My stack is: [React / React Native / SwiftUI / Vue / plain web component].

Rules:
- Four tabs. An `active` index (0 to 3), a way to select a tab from code, and a change callback.
- Draw the animation as a pure function of progress p (0 to 1) for the current tap, every frame. No CSS transitions.
- Three acts: Press (the tapped icon reacts in the first 15 percent), Travel (the idea below), Settle (an overshoot or wobble that rings out). About 1 to 1.3 seconds in total, a little longer for a longer trip.
- Use a real icon set (Phosphor: regular weight for inactive tabs, fill for the active one). Icons about 44 percent of the bar's height.
- Each tab has its own accent colour. Change colour with a hard switch or a wipe, never by blending two saturated colours.
- Soft layered shadows, a hairline highlight on the top edge, everything crisp at 3x.

The bar: Spotlight. A black glass pill bar with dim grey line icons. A small glowing lamp sits on the top edge above the selected tab and throws a soft cone of light down onto its icon, which is lit warm white, with a pool of light on the floor of the bar. On a tap the beam narrows and dims, the lamp glides along the top edge while the base of the cone lags behind, so the beam tilts like a real moving spotlight and lights each icon it sweeps over. The colour switches at the dimmest moment. Then the beam snaps wide with a small overshoot and swings once.
How to use the code
<script type="module" src="spotlight.js"></script>

<tb-spotlight style="display:block; width:390px; height:130px"></tb-spotlight>

<script type="module">
  const bar = document.querySelector("tb-spotlight");
  bar.addEventListener("change", (e) => console.log("tab", e.detail.active));
  // bar.select(2);   bar.setAttribute("active", "1");
</script>