User Guide Cancel

Work with drawing and text tools

  1. Adobe XD User Guide
  2. Introduction
    1. Release updates
    2. Common questions
    3. Design, prototype, and share with Adobe XD
    4. Color Management
    5. System requirements
      1. Hardware and software requirements
      2. Adobe XD, Big Sur, and Apple silicon | macOS 11
    6. Workspace basics
    7. Change app language in Adobe XD
    8. Access UI design kits
    9. Accessibility in Adobe XD
    10. Keyboard shortcuts
    11. Tips and tricks
  3. Design
    1. Artboards, guides, and layers
      1. Get started with artboards
      2. Use guides and grids
      3. Create scrollable artboards
      4. Work with layers
      5. Create scroll groups
    2. Shapes, objects, and path
      1. Select, resize, and rotate objects
      2. Move, align, distribute, and arrange objects
      3. Group, lock, duplicate, copy, and flip objects
      4. Set stroke, fill, and drop shadow for objects
      5. Create repeating elements
      6. Create perspective designs with 3D transforms
      7. Edit objects using Boolean operations
    3. Text and fonts
      1. Work with drawing and text tools
      2. Fonts in Adobe XD
    4. Components and states
      1. Work with components
      2. Work with nested components
      3. Add multiple states to components
    5. Masking and effects
      1. Create a mask with shapes
      2. Work with blur effects
      3. Create and modify gradients
      4. Apply blend effects
    6. Layout
      1. Responsive resize and constraints
      2. Set fixed padding for components and groups
      3. Create dynamic designs with stacks
    7. Videos and Lottie animations
      1. Work with videos
      2. Create prototypes using videos
      3. Work with Lottie animations
  4. Prototype
    1. Create interactive prototypes
    2. Animate prototypes
    3. Object properties supported for auto-animate
    4. Create prototypes with keyboard and gamepad
    5. Create prototypes using voice commands and playback
    6. Create timed transitions
    7. Add overlays
    8. Design voice prototypes
    9. Create anchor links
    10. Create hyperlinks
    11. Preview designs and prototypes
  5. Share, export, and review
    1. Share selected artboards
    2. Share designs and prototypes
    3. Set access permissions for links
    4. Work with prototypes
    5. Review prototypes
    6. Work with design specs
    7. Share design specs
    8. Inspect design specs
    9. Navigate design specs
    10. Review and comment design specs
    11. Export design assets
    12. Export and download assets from design specs
    13. Group sharing for enterprise
    14. Back up or transfer XD assets
  6. Design systems
    1. Design systems with Creative Cloud Libraries
    2. Work with document assets in Adobe XD
    3. Work with Creative Cloud Libraries in Adobe XD
    4. Migrate from linked assets to Creative Cloud Libraries
    5. Work with design tokens 
    6. Use assets from Creative Cloud Libraries
  7. Cloud documents
    1. Cloud documents in Adobe XD
    2. Collaborate and coedit designs
    3. Coedit documents shared with you
  8. Integrations and plugins
    1. Work with external assets
    2. Work with design assets from Photoshop
    3. Copy and paste assets from Photoshop
    4. Import or open Photoshop designs
    5. Work with Illustrator assets in Adobe XD
    6. Open or import Illustrator designs
    7. Copy vectors from Illustrator to XD
    8. Plugins for Adobe XD
    9. Create and manage plugins
    10. Jira integration for XD
    11. Slack plugin for XD
    12. Zoom plug-in for XD
    13. Publish design from XD to Behance
  9. XD for iOS and Android
    1. Preview on mobile devices
    2. Adobe XD on mobile FAQ
  10. Troubleshooting
    1. Known and fixed issues
      1. Known issues
      2. Fixed issues
    2. Installation and updates
      1. XD appears as not compatible on Windows
      2. Error code 191
      3. Error code 183
      4. Issues installing XD plugins
      5.  Prompt to uninstall and reinstall XD on Windows 10
      6. Issues with preferences migration
    3. Launch and crash
      1.  XD crashes when launched on Windows 10
      2.  XD quits when you sign out of Creative Cloud
      3. Issue with subscription status on Windows
      4. Blocked-app warning when launching  XD on Windows
      5. Crash dump generation on Windows
      6. Crash log collection and sharing
    4. Cloud documents and Creative Cloud Libraries
      1. Issues with XD cloud documents
      2. Issues with linked components
      3. Issues with libraries and links
    5. Prototype, publish, and review
      1. Unable to record prototype interactions on macOS Catalina
      2. Issues with publish workflows
      3. Published  links do not appear in browsers
      4. Prototypes do not render correctly in browsers
      5. Commenting panel suddenly showing up on shared links
      6. Unable to publish libraries
    6. Import, export, and working with other apps
      1. Import and export in XD
      2. Photoshop files in XD
      3. Illustrator files in XD
      4. Export to After Effects from XD
      5. Sketch files in XD
      6. Third-party apps not visible in Export

Learn to create graphics using the shape tools and the Pen tool in Adobe XD.

Drawing tools

You can quickly draw simple icons and graphics in Adobe XD using the drawing tools on the left toolbar - the rectangle, ellipse, polygon, line, and pen tools. The selection tool helps you select specific line, shapes, or objects to edit them.

You can then combine these shapes in different ways to create compound shapes and objects, or mask portions of the shape. For more information on combining and masking techniques, see Edit objects using Boolean operations and masking techniques.

Draw rectangles and squares

  1. Select the Rectangle tool .

  2. Perform one of the following actions:

    • To draw a rectangle, drag diagonally until the rectangle is the desired size.
    • To draw a square, hold down the Shift key while you drag diagonally until the square is the desired size.
  3. To draw a rounded rectangle, draw a rectangle, and then click it to see the radius editing handles. Click any handle and drag toward the center of the rectangle. You can also use the Property Inspector to enter a specific value for the radius of one or more corners.

    Draw rounded rectangles and squares
    Draw rounded rectangles and squares

  4. To further customize your square or rectangle, you can edit the corner radii.

    • To adjust the radius of a single corner only, do one of the following:
      • Hold the Option key (Mac) or the Alt key (Win), click the handle of the corner, and drag your mouse.
      • Edit each corner radius value individually after selecting   in the Property Inspector.
    • To adjust the radius of all the corners simultaneously, do one of the following:
      • Click a corner radius and drag your mouse. 
      • Edit the value of the radius after selecting  in the Property Inspector.
    Adjusting the corners one by one
    Adjusting the corners one by one

    Adjusting all four corners simultaneously
    Adjusting all four corners simultaneously

Draw ellipses and circles

  1. Select the Ellipse tool  .

  2. Perform one of the following actions:

    • Drag diagonally until the ellipse is the desired size.
    • To create a circle, hold down the Shift key while dragging.
    Hold Shift and drag to resize circle.

Draw Polygons

The Polygon tool helps you create a range of new shapes such as triangles, rhombus, pentagons, stars, and hearts.

Polygon Tool
Polygon Tool

  1. To start drawing a polygon, click “Y” on the keyboard, or select the triangle icon from the Toolbar.

  2. On the artboard or canvas, click and drag to draw the shape of the desired size. You’ll notice that the default shape is a triangle.

    • Hold down Shift key while drawing to create an equilateral shape.
    • Use the left and right arrow keys while drawing to change the polygon to a star shape.
    • Use the up and down keyboard arrows while drawing to increase or decrease the number of polygon sides.
  3. After creating the shape, you can change the number of polygon sides from the Property Inspector. Select the shape, click the Side Count field in the Property Inspector and type in the desired number of sides.

    Polygon properties
    Polygon properties

    A. Side count B. Corner radius C. Star ratio 

  4. To create a star shape using the Polygon tool, start by drawing a polygon on the artboard.  Then, click the Star Ratio handle in the upper right corner of the polygon, and drag in towards the radius. You can also adjust the star ratio by clicking the Star Ratio field () in the Property Inspector. The ratio can be a value between 1 and 100. Use the Corner Count field to define the number of sides you want to have for the polygon. You can draw a star polygon from a regular triangle and go up to a hundred-sided polygon. 

    • Hold down Shift key while dragging the  Star Ratio handle to change it in increments of 10%. Alternatively,  place the cursor on the Star Ratio field, and press the up and down arrow keys to control the ratio size.
    Polygon properties

  5. To create a heart shape, draw a polygon on the artboard. Then, click the Corner Count ()
    field in the Property Inspector and type <3

  6. To change the Corner Radius of the polygon, click and drag the radius decoration handle from the upper corner of the shape, or click the Corner Radius field in the Property Inspector, and enter the desired value.

    Note:

    Every shape has one radius decoration handle. You cannot change the corner radius of each side of the shape.

  7. Set the shape properties (Fill Color, Border Thickness and Color, Inner Shadow, Drop Shadow and Background Blur) for the polygon. These properties are preserved when you change the number of sides of the shape. 

  8. Double-click on a polygon to view all the anchor points of the shape. You can create new anchor points by clicking anywhere on the path of the shape. 

    Note:

    Creating or editing the anchor points of a shape will turn it into a path, and it loses its polygon abilities.

Draw lines

  1. Select the Line tool .

  2. Position the pointer where you want the line to begin, and drag to where you want the line to end.

    Draw lines using the Line tool.
    Draw lines using the Line tool.

Draw with the Pen tool

The simplest path you can draw with the Pen tool is a straight line, made by clicking the Pen tool to create two anchor points. By continuing to click, you create a path made of straight-line segments connected by corner points.

  1. Select the Pen tool .

  2. Position the Pen tool where you want the straight segment to begin, and click to define the first anchor point.

  3. Click again where you want the segment to end (Shift-click to constrain the angle of the segment to a multiple of 45°).

  4. Continue clicking to set anchor points for more straight segments.

    Note:

    To convert an anchor point from straight to curved and the opposite way, double-click the anchor point.

    The last anchor point you add always appears as a solid circle, indicating that it is selected. Previously defined anchor points become hollow, and deselected, as you add more anchor points.

  5. Complete the path by doing one of the following:

    • To leave the path open, click Esc.
    • To close the path, position the Pen tool over the first (hollow) anchor point. Click or drag to close the path.
    • To select and drag the start point without closing the path, hold down the Cmd/Ctrl key.
    Draw straight lines using the pen tool.

Draw curves

You create a curve by adding an anchor point where a curve changes direction, and dragging the direction lines that shape the curve. The length and slope of the direction lines determine the shape of the curve.

Curves are easier to edit and your system can display and print them faster if you draw them using as few anchor points as possible. Using too many points can also introduce unwanted bumps in a curve. Instead, draw widely spaced anchor points, and practice shaping curves by adjusting the length and angles of the direction lines.

  1. Select the Pen tool .

  2. Position the Pen tool where you want the curve to begin, and hold down the mouse button.

  3. Drag to set the slope of the curve segment you’re creating, and then release the mouse button.

    Note:

    Hold down the Shift key while dragging to constrain the tool to multiples of 15°.

  4. Position the Pen tool where you want the curve segment to end, and do one of the following:

    • To create a C‑shaped curve, drag in a direction opposite to the previous direction line. Then release the mouse button.
    • To create an S‑shaped curve, drag in the same direction as the previous direction line. Then release the mouse button.
    Draw curves using the Pen tool
    Draw curves using the Pen tool

  5. To create a series of smooth curves, continue dragging the Pen tool from different locations.

    Note:

    You can also drag direction lines to break out the direction lines of an anchor point.

  6. Complete the path by doing one of the following:

    • To close the path, position the Pen tool over the first (hollow) anchor point. Click or drag to close the path.
    • To leave the path open, press Esc.

Draw straight lines followed by curves

  1. Using the Pen tool (), click corner points in two locations to create a straight segment.

  2. Position the Pen tool over the selected endpoint. To set the slope of the curved segment you create next, click the anchor point, and drag the direction line that appears.

  3. Position the pen where you want the next anchor point; then click (and drag, if desired) the new anchor point to complete the curve.

Draw curves followed by straight lines

  1. Using the Pen tool (), drag to create the first smooth point of the curved segment, and release the mouse button.

  2. Reposition the Pen tool where you want the curved segment to end, drag to complete the curve, and release the mouse button.

  3. Position the Pen tool over the selected endpoint.

  4. Reposition the Pen tool where you want the straight segment to end, and click to complete the straight segment.

    Draw curves followed by straight lines
    Draw curves followed by straight lines

Draw two curved segments connected by a corner

  1. Using the Pen tool (), drag to create the first smooth point of a curved segment.

  2. To create a curve with a second smooth point, reposition the Pen tool and drag.

  3. Reposition the Pen tool where you want the second curved segment to end, and drag a new smooth point to complete the second curved segment.

Drawing versus editing mode

To toggle between drawing mode and edit mode, press the Esc key.

You can also enter the 'path edit mode' by double-clicking the shape or path. In this mode, anchor points of the shape are visible, but moving the mouse does not draw anything. You can manipulate existing anchor/control points or insert new anchor points on existing segments on path.

When drawing with the pen tool, you can perform all the edits described above in addition to drawing new segments.

Extend existing paths

When you select the pen tool, all paths on the artboard under the mouse display handles over their start and end point. To continue drawing the path from that point, click one of the handles .

Extending a closed path reopens the path and then puts the pen tool in drawing mode for that path.

Select anchor points

Double-click the drawing to view the anchor points. You can then click an anchor point to select it. To select multiple anchor points, hold Shift and select the anchor points, or marquee select the anchor points using the Selection tool.

Nudge the selected anchor points using your keyboard, drag them using mouse, or edit their properties (x and y-coordinates) in the Property Inspector.

Disable anchor point snapping

While placing a new anchor point or dragging an existing anchor point, snap lines appear when an anchor is vertically or horizontally near another anchor point. Hold down the Cmd /Ctrl key to disable anchor point snapping.

Add and edit anchor points

Double-click the drawing to select it and view the existing anchor points. Click the path to add new anchor points at the cursor location.

Adding and editing anchor points
Adding and editing anchor points

Delete anchor points

Select the anchor points and then press Delete.

Drawing shortcuts

Drawing tool

Keyboard shortcut on MacOS

Keyboard shortcut on Windows

Select

V

V

Rectangle

R

R

Ellipse

E

E

Polygon

Y

Y

Line

L

L

Pen

P

P

Zoom

Enter zoom in mode: Z

  • Zoom in: Click anywhere in the Adobe XD canvas, or click the required artboard. Or, marquee-select an area to zoom in.
  • Zoom out: Option+Click

To temporarily activate zoom in and zoom out:

  • Press Space+Cmd, then click or marquee select an area on the artboard to zoom in.
  • Space+Cmd+Opt to zoom out

Enter zoom in mode: Z

  • Zoom in: Click anywhere in the Adobe XD canvas, or click the required artboard. Or, marquee-select an area to zoom in.
  • Zoom out: Alt+Click

To temporarily activate zoom in:

  • Press Space+Ctrl, then click or marquee select an area on the artboard to zoom in.

Zoom to Selection

⌘3

Ctrl + 3

Measure distances

Measure distances between an object and the artboard, or an object and other surrounding objects by clicking the object and pressing the Option key on Mac, or the Alt key on Windows. 

Note:

If the selected object is not a square or a rectangle, then XD draws a bounding box around the object. It then displays the measurements from the boundaries of the bounding box.

To measure an object's distance from the edges of the artboard:

Simply click the object and press the Option key (on Mac), or Alt key (on Windows).

Adobe XD measures the distances and displays the measurements for as long as you press the Option or Alt key.

Measuring the distance between an object and the edge of the artboard
Measuring the distance between an object and the edge of the artboard

To measure an object's distance from other objects in the artboard:

Click the object, press the Option (on Mac) or Alt (on Windows) key, and hover the mouse over other objects.

Adobe XD measures the distances between the closest boundaries of both the objects and displays the measurements as long as you press the Option or Alt key.

Measuring the distance between two objects
Measuring the distance between two objects

Text tools

Enter text at a point

Click the text tool and click at the location where you want the text to begin. Type the text and press Esc to commit your text changes, or Return to go to the next line.

When you type text by selecting a point on your canvas, you get a horizontal line of text that begins where you click and expands as you enter characters. Each line of text is independent—the line expands or shrinks as you edit it, but doesn’t wrap to the next line. Entering text this way is useful for adding a few words to your artwork.

Enter text at a point.

You can type text over other objects and arrange the text to appear in the front using the Object > Arrange options.

Enter text in an area

Click the Text tool, click at the location you want the text on the canvas and drag to define the text area. Then, click inside the area to begin typing text.

When you define a text area, the boundaries of an object control the flow of characters, either horizontally or vertically. When the text reaches a boundary, it automatically wraps to fit inside the defined area. Entering text this way is useful when you want to create one or more paragraphs, such as for a brochure.

Click the Text tool and start typing text.

Spell check

From the Edit menu, select Turn Spellcheck On. The spell check feature works only on the incorrect text in the text container. Misspelled words are underlined in red and auto-corrected words are underlined in blue. Grammatical errors are highlighted with a green underline.

Turn on spelling and grammar option
Turn on spelling and grammar option

Right-click the misspelled word and select the contextually accurate spelling from the suggested list.

Select correctly spelled word
Select correctly spelled word

To revert the auto-corrected spellings to the word you initially entered, press Cmd + Z on Mac OS and Ctrl + Z on Windows OS.

Undo auto-correct
Undo auto-correct

Learn spelling
Learn spelling

Import text from text files

You can easily include pre-written text to your artboard using one of the following methods:

  • Drag a text file on to the artboard.

You can easily include pre-written text in your design by simply dragging a plain text file to your artboard. This action creates an area text on the artboard with the contents of the text file.          

  • Drag a text file on to a repeating grid.

You can also drag a text file (with new lines) on to and drag that file over a text component on a repeating grid. All of the text elements are populated with the text from that file.

For more information, see Drag a return-separated text file to your text object in a Repeat Grid

  • Copy and paste text on to the artboard.

You can also copy and paste text on to the artboard, creating an area text element that you can easily move and edit in Adobe XD.

Text resize options

XD provides you with three text resizing options that lets you expand the width of the text box to fit content within a single line, dynamically adjust the height of the text box, and control the width and height of the text area.

Based on your design need, select a text object and choose between the Auto Width, Auto Height, and Fixed Size options in the Property Inspector.

Switching between point and area text
Text resizing options

Auto Width

When adding text within frames, images, and objects, you can expand the width of the text box to the maximum extent and fit your text within a single line.

To enable Auto Width, select the  icon in the Property Inspector.

Auto width

Auto Height

When designing an application having large amount of text or while creating responsive designs in combination with stacks, you can dynamically adjust the height of the area text without changing its width.

Auto Height text enables the area text to adjust its height automatically to fit the content. When you draw an area text, this option is enabled by default. 

Auto-height text

To manually enable auto height text, you can either double-click the south resize handle or select the  icon in the Property Inspector.

Fixed Size

When adding text within your designs such as brochures, websites, you may want to add one or paragraphs and control the width and height of your text area. Fixed Size lets you wrap the text to fit inside the text box and crop automatically when it exceeds the height. 

To enable Fixed Size, select the  icon in the Property Inspector. Click and drag the resize handles on all sides to resize an area text. When the text inside a text area does not fit, XD indicates this with a red bottom resize handle.

Double-click the bottom resize handle of the text box to quickly resize the text area to fit the content.

resize-handle

Format text

Click the text and then specify the type, font size, and text alignment for the text using the Property Inspector.

You can also select individual words or characters in a block of text and format those sections alone.

Format the entire text object or individual sections of text
Format the entire text object or individual sections of text

Change character, line, and para spacing

To change character spacing, click the text object and specify the character spacing using the Character Spacing option in the Property Inspector.

To change the character spacing in a subset of text, select the text and modify the character spacing in milli-ems using the Property Inspector.

Changing the character and line spacing for text in a text object
Changing the character and line spacing for text in a text object

To change the line spacing, click the text area, and then specify the line spacing using the Line Spacing option in the Property Inspector.

To reset the line height to the default, enter 0 in the Line Spacing option in the Property Inspector.

Similar to Photoshop and InDesign, Adobe XD allows you to change the space before and after paragraphs within the same text element.

To change the paragraph spacing, select a paragraph and click the paragraph icon in the Formatting panel. Change the spacing value as per requirement.

 

Text transformations

To apply any of the text transformations, select the text that you want to change. From the Property Inspector, select any of the following options:

  • Uppercase icon (TT) to set the text to uppercase.
  • Lowercase icon (tt) to set the text to lowercase.
  • Title case icon (Tt) to set the text to title case. 
  • Text superscript icon to set the text to superscript.
  • Text subscript icon to set the text to subscript.
Text transformations
Text transformations

Underline text

To underline text, click the text area, and then click the Underline icon in the Property Inspector. XD draws a smooth underline that breaks around the descenders in text (creating a more aesthetic line).

Text strikethrough

To strikethrough text, select the text area, from the Property Inspector, click the Strikethrough icon. A smooth line is drawn right in the center of the text, making it appear like it has been struck over.    

Global style changes

To make global style changes easily, apply text transformation or strikethrough to Character Styles.

In the Assets Panel, save a style that you use across the document as a character style. Then, right-click on the character style and select Edit option from the drop-down menu. Choose one of the uppercase, lowercase, title case or strikethrough options and the text using that character style will change across the document. 

Create precision designs with math calculations

Use the math calculation to create designs with greater precision or move objects to a new location or modify the width and height.

Select one or more objects. In the Property Inspector, perform simple math in any box that accepts numeric values. Adobe XD supports +, -./, * math operations to calculate the changes.

For example, if you want to move selected object 3 units to the right using the current measurement units, enter +3 after the current value.


In the Property Inspector text box that accepts numerical values, do one of the following:

  •   To replace the entire current value with a mathematical expression, select the entire current value.
  •   To use the current value as part of a mathematical expression, click before or after the current value.

 

Note:

Adobe XD can only perform one operation at a time. That is, it can handle “4in+2p”, but it cannot handle “4in+2p-1p” because they are construed as two different operations.

Video: How do I work with auto height text?

"The auto-height text container automatically adjusts in height based on the amount of text you have inside. It also works beautifully with content-aware layout features like stacks and padding"- Dani Beaumont, Principal Product Manager, Adobe XD.

Watch this video to learn how to work with auto height text.

Viewing time: 3 minutes.

Get help faster and easier

New user?