Back to Plugins

Write Layouts
The plugin lets you input AutoLayout settings
auto layoutkeyboardcode-generators
Plugin Preview
About this plugin
The plugin enables you to input AutoLayout settings using a syntax like Tailwind CSS.
It automatically sets layer names based on the AutoLayout settings, keeping your custom layer names.
The props syntax:
- Direction: col | row | wrap
- Justify Content: g-auto
- Gap: g-{number}
- Gap Vertically: gy-{number}
- Gap Horizontally: gx-{number}
- Padding: p-{number}
- Padding Vertically: py-{number}
- Padding Horizontally: px-{number}
- Padding Top: pt-{number}
- Padding Bottom: pb-{number}
- Padding Left: pl-{number}
- Padding Right: pr-{number}
Input these props separated by a space.
When the 'Direction' prop is included, it will override all props, with any unspecified props defaulting to 0.
When omitting the 'Direction' prop, only specific props will be overwritten.
Example:
'col g-24'
'row g-auto py-8 px-16'
'wrap gx-16 gy-32'
Plugin Details
Version | 13 |
---|---|
Created | March 12, 2023 |
Last Updated | July 15, 2023 |
Category | Software development |
Creator | 見野 伸太郎 |
Stats | 80 installs, 4 likes |
Pricing | Free |
Technical Details
- API:1.0.0
- main:dist/code.js
- Editor Types:figma
More Like This
Discover other plugins in the Software development category.
Figma to Code (HTML, Tailwind, Flutter, SwiftUI)
Code Conversion Made Easy: Figma to Web & Apps
Anima - Figma to Code React, HTML, CSS, Tailwind, MUI (DevMode Inspect React / HTML / Vue / CSS)
Anima - AI Powered Design to code
Builder.io - AI-Powered Figma to Code (React, Vue, Tailwind, & more)
Export designs to responsive code (React, HTML, Vue, Tailwind, etc) with AI