reelcn
GitHubBack to landing

Rise up

Headline whose words rise into place from just below the line. It is an alias of `text-reveal` with `effect="rise"` and no other prop changes.

A preset of Text reveal.

RiseUp, headline
RiseUp, headline thumbnail, 16:9

Installation

npx shadcn add https://www.reelcn.dev/r/rise-up.json

Files land in src/reelcn/ with the items it builds on.

Usage

<Center>
  <RiseUp text="Every frame is code" accentWords={["code"]} />
</Center>

Props

PropTypeDescription
font"mono" | "heading" | "body"
delaynumberFrames to wait before entering.
durationnumberEnter duration in frames. Defaults to 0.6s. Some items reuse duration for an unrelated local timing. See that item's own prop docs.
exitnumber | booleanExit at the end of the parent `<Sequence>`. false keeps it on screen, a number sets the exit length in frames.
motionMotionPersonalityOverride the theme's motion personality.
posterbooleanRenders fully entered, with no exit: for a still frame or thumbnail. Defaults to false.
holdFramesnumberDelays the start of the exit window by this many frames, for a minimum on-screen hold. Defaults to 0.
staggernumberFrames between units. Defaults at 30fps: char 1, word 2, line 5.
styleCSSProperties
classNamestring
text*string
split"word" | "char" | "line"What staggers in. line splits on "\n".
sizenumberFont size in design units.
weightnumber
colorstring
accentColorstring
accentWordsstring[]Words painted in the accent color. Case and punctuation are ignored.
align"left" | "right" | "center"
from"left" | "right" | "below" | "above"Where rise, blur and mask units travel in from.
orderStaggerOrderWhich unit enters first.
scaleFromnumberStarting scale for the scale effect: below 1 grows in, above 1 slams down.

Built from

Use

  • The default choice for clean, confident headlines
  • Section titles and short-form hooks

Avoid

  • Letter-by-letter reveals of a single word. Use char-rise

Guides

Components take their colors from a theme, their timing from motion props and their layout from the canvas.

Source

registry/items/rise-up.tsx
/**
 * @title Rise Up
 * @category text
 * @description Headline whose words rise into place from just below the line. It is an alias of `text-reveal` with `effect="rise"` and no other prop changes.
 * @duration 30
 * @use The default choice for clean, confident headlines
 * @use Section titles and short-form hooks
 * @avoid Letter-by-letter reveals of a single word. Use `char-rise`
 * @tags rise, slide up, headline, clean
 * @preset text-reveal
 * @example
 * <Center>
 *   <RiseUp text="Every frame is code" accentWords={["code"]} />
 * </Center>
 */
import { TextReveal, type TextRevealProps } from "./text-reveal";

export type RiseUpProps = Omit<TextRevealProps, "effect">;

export function RiseUp(props: RiseUpProps) {
  return <TextReveal {...props} effect="rise" />;
}

On this page