How to split components

Splitting components into multiple Figma components is currently only available in Advanced setup or via the variantProperties API directly in stories.

By default, story.to.design will create variants for components.

But if you want to create multiple components in Figma you can use the axis="split" option.

Use case

For example, to separate icons into multiple, individual components and use them in instance swaps, apply axis="split".

Location of the global configuration screen

Read our documentation about the axis="split" option for more details.