Skip to content
PixiKit

Cloth Type

A headline cut from silk. It ripples in a slow breeze, catches the light along its folds, unfurls on entrance, and billows where the pointer passes or a click puffs it up.

pixikit.com/docs/effects/cloth-type

Customize

Look
Colors2 of 10
Sheen1.00
Gloss0.60
Iridescence0.50
Wind1.00
Wind angle0°
Turbulence0.50
Flow1.00
Softness0.60
Drag0.50
Hold0.50
Font weight800
Font size124px
Letter spacing-0.010em
Line height1.00
Light angle-35°
Light drift1.00
Interactive
Gust strength1.00
Gust radius1.20
Click gust
Intro
Intro duration1.8s
Paused
Quality1.00

Props

32
NameTypeDefaultDescription
look"violet-silk" | "rose-satin" | "midnight" | "champagne" | "banner"NoneA named look that sets several props at once. A prop you pass yourself wins over it.
textstring"Feels like air"The headline.
colors[string, string]["#7B61FF", "#FFC4F5"]Two colours: the silk, and its sheen.
sheennumber1The strength of the sheen.
glossnumber0.6How tight and bright the highlights are, 0 to 1.
iridescencenumber0.5How much the colour shifts across the folds, 0 to 1.
windnumber1The strength of the breeze.
windAnglenumber0The heading of the breeze, in degrees.
turbulencenumber0.5How uneven the breeze is, 0 to 1.
flownumber1How fast the folds travel.
softnessnumber0.6How broad and soft the folds are, 0 to 1.
dragnumber0.5Air resistance: 0 keeps the silk rippling after a gust, 1 settles it quickly.
holdnumber0.5How long a puff from a click holds its shape, 0 to 1.
fontFamilystringNoneThe font family. Follows the surrounding text by default.
fontWeightnumber800The font weight.
fontSizenumber124The font size, in pixels.
letterSpacingnumber-0.01The letter spacing, in em.
lineHeightnumber1The line height.
lightAnglenumber-35The direction the light comes from, in degrees.
lightDriftnumber1How much the light wanders.
interactivebooleantrueMoving the pointer across the headline sends a gust through the silk.
gustStrengthnumber1The strength of gusts from the pointer, 0 to 3.
gustRadiusnumber1.2The reach of a gust, relative to the font size.
clickGustbooleantrueA click or tap puffs the silk up at that point.
introbooleantrueUnfurls the headline the first time it is in view.
introDurationnumber1.8The length of the intro, in seconds.
pausedbooleanfalseFreezes the silk.
qualitynumber1The drawing resolution, 0.5 to 1.
refRef<ClothTypeHandle>NoneGives gust and replay.
childrenReactNodeNoneContent shown over the headline.
classNamestringNone
styleCSSPropertiesNone

Related