Skip to content

Plugin for Figma that wraps selected layers in section with equal padding.

License

Notifications You must be signed in to change notification settings

alikimovich/wrap-in-section

Repository files navigation

Wrap in a Section

A tiny Figma plugin. Wrap a new section around layers you've selected, or adjust the size of an existing section. The section's padding and color can be customized.

Special thanks to Tom Lowry for Figsvelte!


To get started

npx degit alikimovich/wrap-in-section wrap-in-section
cd wrap-in-section
npm install

Note that you will need to have Node.js installed.

Connecting your plugin to Figma

Connecting your plugin to Figma After installing, go to Plugins / Development / New Plugin in the Figma desktop app for Mac OS or Windows and choose the option "Link existing plugin".

You also can just type "New Plugin" in Figma global search to go there

From there you need to link a manifest.json file located at public folder in your directory:

/wrap-in-section/public/manifest.json

Now edit this file to give a new name for your plugin, and you will be able call it from Figma: Plugins / Development / Your Plugin Name

Development

During development, watch your project for changes with the following command.

npm run dev

Start building your plugin UI in 'src/Plugin.svelte'.

Build

When ready to package up your final Figma Plugin:

npm run build

About

Plugin for Figma that wraps selected layers in section with equal padding.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published