Stripe Type

Striped product name for Remotion: a word sliced into horizontal stripes, like the IBM logo, slides in from alternating left and right and locks into place on a flat background.

To slice a product name into horizontal stripes that slide in from alternating left and right and lock into place on a flat background, use Stripe Type. It cuts the word into bands, like the striped IBM logo, sends band 1 from the left, band 2 from the right and so on, and locks them into one word. It can stay striped, close into solid type, or let the bands pass on through as an exit.

Installation
$ pnpm dlx shadcn@latest add @remocn/stripe-type

How to build this in Remotion

You don't need a stack of clip-path copies with hand-measured offsets. Install the component and pass the word:

bash
npx shadcn@latest add @remocn/stripe-type

Each band is a copy of the text clipped to its strip, so the bands always line up with the letters. The strips cover the word's ink, from the top of its tallest letter to the bottom of its lowest, measured on a canvas once the font has loaded. Bands enter two frames apart, each over 16 frames on an expo ease-out, so eight bands are whole at frame 30.

Good to know

  • Length: 30 frames of motion at 30 fps (60 at 60 fps) for the entrance with the default eight bands. With exit on, the bands hold for hold frames and then leave; getStripeTypeDuration(props) returns the full length. The Usage example below is a 60 fps composition, so the numbers it hands to Remotion are doubled, see Frame rate.
  • Installs: remotion, @remotion/google-fonts from npm, plus the remocn helpers frame-rate, timeline. The shadcn CLI copies the source into your project.
  • Font: loads Inter itself through @remotion/google-fonts. To use your own face, load it first (for example loadFont() from @remotion/google-fonts/<Family>, or @font-face with a file in public/) and pass the loaded family name as fontFamily. The component waits for that font with document.fonts.load under delayRender before measuring, so the stripes match the new letter shapes.
  • No background: it paints no fill and centers the word in its parent, so put it on your own flat color, as in the example below.

Usage

tsx
// src/Root.tsx
import { AbsoluteFill, Composition } from "remotion";
import { StripeType } from "@/components/remocn/stripe-type";
 
const Title = () => (
  <AbsoluteFill style={{ backgroundColor: "#2b3bff" }}>
    <StripeType text="Launch" />
  </AbsoluteFill>
);
 
export const RemotionRoot = () => (
  <Composition
    id="StripeType"
    component={Title}
    durationInFrames={200}
    fps={60}
    width={1280}
    height={720}
  />
);

With stripes bands and a gap share of each pitch left empty, the first band starts at the top and the last ends at the bottom. Each band is a copy of the text clipped to its strip.

Band 0 enters from the left, band 1 from the right, and so on, two frames apart, each over 16 frames with an expo ease. The word is whole at frame 30 for eight bands. settle="solid" closes the gaps over the next ten frames. With exit, after hold frames the bands carry on in the direction they came from and leave through the other side. getStripeTypeDuration gives the length for any set of props.

The component paints no background and centers the word in its parent. Sizes scale with height / 720.

Props12

PropTypeDefault
text
string"Launch"

The word to stripe

fontSize
number180

Font size in reference px at 720p

fontWeight
number800

Font weight. Heavy weights stripe best

fontFamily
stringInter

Font family

color
string"#fafafa"

Text color

stripes
number8

Number of bands

gap
number0.35

Share of each band pitch left empty

settle
"striped" | "solid""striped"

Keep the gaps, or close them into solid type

exit
booleantrue

Let the bands pass on through after the hold

hold
number30

Frames the word rests before the exit

speed
number1

Timeline speed multiplier

className
string—

Optional className passed to the wrapper

  • textstring

    The word to stripe

    Default"Launch"

  • fontSizenumber

    Font size in reference px at 720p

    Default180

  • fontWeightnumber

    Font weight. Heavy weights stripe best

    Default800

  • fontFamilystring

    Font family

    DefaultInter

  • colorstring

    Text color

    Default"#fafafa"

  • stripesnumber

    Number of bands

    Default8

  • gapnumber

    Share of each band pitch left empty

    Default0.35

  • settle"striped" | "solid"

    Keep the gaps, or close them into solid type

    Default"striped"

  • exitboolean

    Let the bands pass on through after the hold

    Defaulttrue

  • holdnumber

    Frames the word rests before the exit

    Default30

  • speednumber

    Timeline speed multiplier

    Default1

  • classNamestring

    Optional className passed to the wrapper

Common questions

How do I slice a product name into stripes that slide in from alternating sides?

Install Stripe Type with npx shadcn@latest add @remocn/stripe-type and render <StripeType text="Launch" /> on a colored AbsoluteFill. Set stripes for the number of bands and gap for how much of each band is empty.

Can the stripes close into solid text?

Yes. settle="solid" closes the gaps over ten frames after the bands lock.

How do I keep the word on screen without the exit?

Pass exit={false}. The bands lock and stay.

  • Typed Split Wipe: the word splits along its letters, not in horizontal bands.
  • Type Wall: rows of one word scroll both ways and fill the frame.
  • Stripe Mask: slanted stripes reveal a two-sentence statement.
  • Mask Reveal Up: a quiet line-by-line rise from a mask.