Skip to content
PixiKit

Morph Tabs

A feature list where one row is open and a stage beside it whose picture morphs: the same mock window reshapes from cards to bars to text lines as the open feature changes.

pixikit.com/docs/blocks/features/morph-tabs

Customize

Autoplay
Interval5000ms
Side
Tilt
Stage height420px

Props

13
NameTypeDefaultDescription
eyebrowstring"Marlow"Small label above the title. Leave empty for none.
titlestring"One workspace that takes the shape of the job"The heading of the section. Leave empty for none.
descriptionstring"Switch between how you plan, measure, write and finish. The picture follows."The line under the heading. Leave empty for none.
featuresMorphTabsFeature[]DEFAULT_FEATURESThe features, one row each; exactly one is open.
valuenumberNoneThe open feature's index, when you hold the state.
defaultValuenumber0The feature open at first, when the block holds the state.
onValueChange(index: number) => voidNoneCalled with the index of the feature that opens, by the timer or the visitor.
autoplaybooleantrueOpen the next feature on its own while the section is on screen, until the first click or key press.
intervalnumber5000How long each feature stays open, in ms.
side"left" | "right""right"Which side of the list the stage sits on, in a wide container.
tiltbooleantrueTilt the mock window toward the pointer.
stageHeightnumber420Height of the stage in a wide container, in px.
classNamestringNone

Related