reelcn
Text

Text

Char Rise

A short word or name whose characters rise in one after another.

Install

Usage

<Center>
  <CharRise text="Launch day" size={150} />
</Center>

Props

NameTypeDefaultDescription
font?"mono" | "heading" | "body"
delay?numberFrames to wait before entering.
duration?numberEnter duration in frames. Defaults to 0.6s.
exit?number | booleanExit at the end of the parent `<Sequence>`. `false` keeps it on screen, a number sets the exit length in frames.
motion?MotionPresetOverride the theme's motion personality.
stagger?numberFrames between units. Defaults at 30fps: char 1, word 2, line 5.
style?CSSProperties
className?string
textstring
size?numberFont size in design units.
weight?number
color?string
accentColor?string
accentWords?string[]Words painted in the accent color. Case and punctuation are ignored.
align?"left" | "right" | "center"

Use

  • Single words, names and short brand lines
  • Big title cards with only a few letters

Avoid

  • Sentences longer than a few words — use rise-up

Dependencies

Source

registry/items/char-rise.tsx
/**
 * @title Char Rise
 * @category text
 * @description A short word or name whose characters rise in one after another.
 * @duration 30
 * @use Single words, names and short brand lines
 * @use Big title cards with only a few letters
 * @avoid Sentences longer than a few words — use `rise-up`
 * @tags characters, letters, stagger, rise, title
 * @preset text-reveal
 * @example
 * <Center>
 *   <CharRise text="Launch day" size={150} />
 * </Center>
 */
import { TextReveal, type TextRevealProps } from "./text-reveal";

export type CharRiseProps = Omit<TextRevealProps, "effect" | "split">;

export function CharRise(props: CharRiseProps) {
  return <TextReveal {...props} split="char" effect="rise" />;
}

Related