Hana: 3D transform tools, Grid layout and Version history

Hana: 3D transform tools, Grid layout and Version history

A big update to Hana's design tools. The 3D transform tools introduced last year get a big overhaul: you can now turn objects in 3D directly on the canvas, with a rotation handle, a selection box that follows the object, and a new 3D Transform panel. Auto layout gets a Grid mode, layers can have multiple fills, and files have a version history. There is also a command palette, line and arrow tools, variable-width strokes, text on a path, outline mode, find and replace, and multi-page PDF export. Read the blog post for a full walkthrough.

Changes

3D transform

  • Selection box that follows the object - When an object is turned in 3D, its selection box, resize handles and corner radius handles turn with it. The original flat box stays as a dotted outline behind it.
  • Rotation handle on the canvas - Three rings appear on the object when you hover it or while the 3D panel is open. Drag a ring to turn the object around that axis, or drag inside the rings to turn it freely.
  • 3D Transform in the Effects panel - 3D Transform has moved from the Transform panel to the Effects panel, right below 3D Shape. Its icon opens a panel with Rotation, Depth, Perspective, Flatten and Backface, and a cube you can drag to rotate the layer.
  • 3D shape effect - Its rotation handle has the same new look, with the half of each ring behind the object faded.

Layout

  • Grid layout - A fourth auto layout mode, next to Row, Column and Wrap. Tracks can be a fixed size, a share of the free space (1fr) or auto, and children can span several columns or rows. Set the grid's dimensions with a picker in the Layout panel. Exports to HTML as CSS grid.
  • Aspect ratio lock - The lock is now saved with the layer. The size fields, the resize handles and auto layout all keep the ratio.
  • Min and max sizes - Set a minimum and maximum width and height on auto-layout frames and their children.
  • Baseline alignment - Align text of different sizes in a row.
  • Stacking order - Choose whether the first or the last child is drawn on top when children overlap.
  • Strokes in layout - Choose whether a frame's stroke takes up space in its layout.

Fills, strokes and effects

  • Multiple fills per layer - Stack colors and gradients on one layer, each with its own opacity, visibility and blend mode. Stacked fills are included in SVG, PDF and HTML exports.
  • Diamond gradients for fills and strokes.
  • Fill blend mode - A blend mode on the fill alone, separate from the layer's.
  • Strokes - Multiple strokes on one layer, per-side stroke widths on rectangles and frames, and a miter limit.
  • Shadow spread for drop and inner shadows.
  • Display P3 - Set a document's color profile to sRGB or Display P3.

Vector tools

  • Line (L) and Arrow (⇧L) tools, with arrowheads for the start and end of a stroke.
  • Variable-width strokes - Make a stroke thicker or thinner anywhere along its length with the Width tool (⇧W), or pick a preset.
  • Text on a path - Put text on any path, then offset it, flip it to the other side or detach it.
  • Point editing - Mirroring modes for handles, a lasso (Q) to select points, ⌘J to join two open ends, Simplify Vector and Offset Path.
  • Exclude boolean, ⌘E to flatten and ⌥⌘O to outline a stroke.
  • Place image (⇧⌘K) - Pick files, then click to place them.

Version history

  • Version History panel - Browse a file's versions and preview any of them on the canvas. Save named versions, rename them, duplicate one as a new file, or restore one. Saving and restoring versions requires a paid plan.

Commands and selection

  • Command palette (⌘K) - Search every command in the editor, including Ask Agent.
  • Keyboard shortcuts panel (⌃⇧?) - A list of every shortcut, which also tracks the ones you have used.
  • Find and replace (⌘F) for layer names and text, and batch rename.
  • Selection - ⌘A selects the siblings of the current selection, and ⇧⌘A inverts it. Enter moves into a layer's children, ⇧Enter goes back up to the parent, and Tab steps through siblings. Select matching layers (⌥⌘A), or everything with the same fill, stroke, effect or font.
  • Selection colors - One panel lists every color in the selection.
  • Clipboard - Paste over the selection (⇧⌘V), paste to replace (⇧⌘R), and copy as PNG, SVG, CSS or HTML.
  • Duplicate and layer shortcuts - ⌘D repeats the offset of your last duplicate. ⌘] and ⌘[ move a layer up and down the stack, ⇧⌘H hides it and ⇧⌘L locks it.

Canvas and export

  • Outline mode (⌘Y) - Draws every layer as a thin outline.
  • Pixel preview - See the page in real pixels, at 1x or 2x.
  • Hand tool (H) and zoom shortcuts: ⌘+, ⌘−, ⇧1 to fit the page, ⇧2 to fit the selection.
  • Multi-page PDF - Select several frames and export them as one PDF, with a page for each frame.

Fixes

  • Strokes on rounded rectangles and frames no longer show stepped corners while the corner radius is being changed.
  • The Edit Effect panel's header now stays in place while its settings scroll, and its Presets menu is aligned with it.
  • Other improvements and fixes.