- Use auto-layout for structured, responsive positioning.
- Arrange items freely within a frame.
1. Avoid using hug settings
Auto-layout allows you to set width and height ashug
, fixed
, or fill
. By default, Figma sets them to hug
which allows text to expand indefinitely and causes unpredictable behavior in deckd.
Instead of hug, use fixed or fill to ensure consistent layout behavior.
You can combine hug with max-height or max-width settings for added responsiveness while maintaining control.
2. Check layer hierarchy
Editable elements such as text and images should not be covered by other layers. If a layer sits on top of an editable text box, it may block text editing in deckd.- Avoid placing grouped layers on top of text or image elements that need to be edited in deckd.
- Ensure that interactive content remains accessible within the layer hierarchy.
3. Unsupported properties
We currently do not support all of Figmas design properties. If you notice display issues, use the bug report form or reach out via email. Below are some unsupported properties to be aware of:Property | Additonal info |
---|---|
Inner and outer stroke | Displayed, but may not render correctly. Use center stroke instead to avoid issues. |
Strokes of unions | Displayed, but may not render correctly. Avoid unions; use groups instead or style elements individually. |
Vertical trim (Cap height to baseline) | Not supported. Using this may break the design. |