3. Widgets and Components

Adding & Editing Widgets

Widgets can be shapes, text, images, form fields, containers, and even data-driven elements. Axure RP comes with five widget libraries pre-installed — Default, Flow, Icons, Sample UI Patterns, and Sample Form Patterns. You can also create your own and add libraries that others have shared.

  1. To add a widget to the canvas, drag one from the Libraries pane and drop it on the canvas. 
  2. You can also use the options in the Insert menu in the Main Toolbar, or use keyboard shortcuts, to draw a widget onto the canvas.
     

  3. To edit the text on a widget, double-click it, or select a widget and press ENTER.
  4. To change the fill color, font, or other visual styles of a widget, select it and use the options in the Style Toolbar above the canvas or use the Style pane. 

 

Working with Components

Components are collections of widgets that you can maintain centrally and reuse throughout a project. Changes to a component are automatically applied to each instance.

You can add, remove, and organize components in the Components Pane. You can also convert existing widgets on the canvas to a component. Follow the steps below to try it out.

  1. Add four button widgets onto the canvas and change the text on each button.
     

  2. Select all four buttons and right-click the selection. In the context menu, select Create Component.
  3. In the dialog that appears, name the component and click Continue.
     

  4. The new component should now appear in the Components pane.
     

  5. Add a new page in the Pages pane and double-click to open it.
  6. Drag your component from the Components pane to the canvas to add it to the new page.
  7. Double-click the instance of the component that is on the canvas to open it.
  8. Make a change to the component and open each page to see that each instance has been updated.

Here are a few resources to learn more about Widgets and Components:

Now head over to the next article to learn about Interactions.

Previous: Working with Pages       Next: Interactions