Sash Type
Text printed on a satin ribbon that waves, twists and turns through space. The phrase runs along it, slows under the pointer, scrubs when dragged, and a click sends a full twist rolling down the ribbon.
pixikit.com/docs/effects/sash-type
Customize
Preset
Colors2 of 10
Band
Path
Ribbons1
Gap150px
Ribbon width76px
Text scale0.50
Font weight700
Letter spacing0.06em
Amplitude70px
Frequency1.10
Depth120px
Twist0.12
Twist speed0.12
Speed90px/s
Direction
Flow0.35
Tilt-6°
Perspective32°
Shading0.60
Sheen0.40
Hover speed0.30
Draggable
Click twist
Auto twist6.0s
Intro
Paused
Quality1.00
Props
36| Name | Type | Default | Description |
|---|---|---|---|
preset | "satin" | "ring" | "helix" | "kinetic" | "mono" | None | A named look that sets several props at once. A prop you pass yourself wins over it. |
text | string | "MAKE SPACE FOR IDEAS" | The phrase printed along the ribbon. |
separator | string | " · " | What sits between two repeats of the phrase. |
colors | [string, string] | ["#5227FF", "#FFFFFF"] | Two colours: the ribbon, and its text. |
band | boolean | true | Draws the band. Off leaves only the text floating on its path. |
path | "wave" | "loop" | "helix" | "wave" | The path the ribbon follows. |
ribbons | number | 1 | The number of ribbons, 1 to 3. |
gap | number | 120 | The distance between ribbons, in pixels. |
ribbonWidth | number | 76 | The width of a ribbon, in pixels. |
textScale | number | 0.5 | The size of the text relative to the ribbon's width. |
fontFamily | string | "inherit" | The font family. |
fontWeight | number | 700 | The font weight. |
letterSpacing | number | 0.06 | The letter spacing, in em. |
amplitude | number | 70 | The height of the path's waves, in pixels. |
frequency | number | 1.1 | The number of waves across the width. |
depth | number | 120 | How far the path swings toward and away from you, in pixels. |
twist | number | 0.12 | How many turns the ribbon makes along its length. |
twistSpeed | number | 0.12 | How fast the twist travels. |
speed | number | 90 | How fast the text runs along the ribbon, in pixels per second. |
direction | "left" | "right" | "left" | The way the text runs. |
flow | number | 0.35 | How fast the waves travel along the ribbon. |
tilt | number | -6 | The slant of the whole ribbon, in degrees. |
perspective | number | 32 | The field of view, in degrees. Wider is more dramatic. |
shading | number | 0.6 | How much the ribbon darkens where it turns away. |
sheen | number | 0.4 | The strength of the satin highlight. |
hoverSpeed | number | 0.3 | The speed multiplier while the pointer rests on the ribbon. |
draggable | boolean | true | Drag sideways to scrub the text. A flick carries on. |
clickTwist | boolean | true | A click sends a full twist rolling along the ribbon from that point. |
autoTwist | number | 0 | Sends a twist on its own every so many seconds. 0 turns it off. |
intro | boolean | true | Unrolls the ribbon the first time it is in view. |
paused | boolean | false | Freezes the ribbon. |
quality | number | 1 | The drawing resolution, 0.5 to 1. |
ref | Ref<SashTypeHandle> | None | Gives twist and replay. |
children | ReactNode | None | Content shown over the ribbon. |
className | string | None | |
style | CSSProperties | None |