AUI Examples

Intro

This page is a set of examples to quickly identify the component you need and give links to further information. Note that the Atlassian Design Guidelines pages are created with AUI and serve as further examples; and all components are documented in the AUI Developer Guide.

Note this page is created using the AUI Page Suite: the typography, header, content area and footer are all supplied by Page.

Avatars

User Avatar
User Avatar
User Avatar
User Avatar
User Avatar
Project Avatar
Project Avatar
Project Avatar
Project Avatar

Badges

Small pieces of extra information within components like Navigation, eg. a count: 42

Buttons

AUI Buttons cover combinations of free standing, grouped, disabled and toggled buttons:

Sets of grouped buttons can be contained in Toolbar2 for a complete toolbar.

ShipmatesThe Crimson Short One

If you're working with an existing implementation you might encounter the old dropdown as well...

Don't make new ones, but you'll still find this workhorse around the place.

Dialogs

Modal dialog:

Forms

Available in several flavours including compact top-label style, long-label and short-label:

Inline error message!
For a larger error you could use a full AUI Message.

Icons

Examples (small):

ViewConfigureAddHelpSearchSuccessWorkbox

Examples (large):

ViewConfigureAddHelpSearchSuccessWorkbox

For the full set of icons and sizes, refer to the docs.

Inline Dialogs

If you don't need a full modal Dialog, you you can use an Inline Dialog: something inline

Layout (Group + Item)

Evenly spaced item
Evenly spaced item
Evenly spaced item
Evenly spaced item
Split group - first item aligned left.
Split group - second item aligned right.
Trio group - first item aligned left.
Trio group - second item aligned centre.
Trio group - third item aligned right.

Keyboard Shortcuts (WhenIType)

WhenIType allows you to trigger various events based on keyboard input. For example, Type "z" then "e" to execute some simple JavaScript.

Labels

AUI provides a CSS-only Label component - each product's implementation is expected to be different, so no default JS is provided.

unclickableUncloseableclickableclosableNoUrl(remove closableNoUrl)splitLabel(remove splitLabel)

Lozenges

Standard and Subtle variations:

default success error current complete moved

default success error current complete moved

Messages

This is a generic message.

It is pitch black. You are likely to be eaten by a grue.

It's dangerous to go alone

Here, take this.

Woah! Something went wrong!

The savepoints are really far apart in this level.

Thank you Mario!

But the Princess is in another castle.

We'll give you a hint to avoid that problem next time.

But first you have to catch the Help Cat with that stupid Wiimote.

Multi-step Progress Tracker

  1. Step One
  2. Step Two
  3. Step Three
  4. Step Four
  5. Step Five

AUI has a core set of navigation elements, which are most commonly used in Horizontal and Vertical navgroups.

Should be placed immediately before .aui-page-panel

Usually placed inside an .aui-page-panel-nav but will expand horizontally to fit any appropriate container element.

Project Name
  1. Breadcrumbs
  2. Sub-page
  3. Direct parent page

A typical page header with an avatar, breadcrumbs and actions

Tabs

Horizontal Tabs

This is Tab 1

Quidquid latine dictum sit, altum viditur. Sentio aliquos togatos contra me conspirare.

Quidquid latine dictum sit, altum viditur. Sentio aliquos togatos contra me conspirare.

This is Tab 2

The trigger text is fairly long, but we have enough room so it's all good...

Quidquid latine dictum sit, altum viditur. Sentio aliquos togatos contra me conspirare.

This is Spaaaaaartaaaaaa

Quidquid latine dictum sit, altum viditur. Sentio aliquos togatos contra me conspirare.

Quidquid latine dictum sit, altum viditur. Sentio aliquos togatos contra me conspirare.

Vertical Tabs

This is Tab 1

Quidquid latine dictum sit, altum viditur. Sentio aliquos togatos contra me conspirare.

Quidquid latine dictum sit, altum viditur. Sentio aliquos togatos contra me conspirare.

This is Tab 2

Since this tab's control has long trigger text, it's been gracefully truncated and now has a title so people can still find out what it says.

Quidquid latine dictum sit, altum viditur. Sentio aliquos togatos contra me conspirare.

This is Spaaaaaartaaaaaa

Quidquid latine dictum sit, altum viditur. Sentio aliquos togatos contra me conspirare.

Quidquid latine dictum sit, altum viditur. Sentio aliquos togatos contra me conspirare.

Tables

Tables! Awesome for tabular data, but tedious to style. So, just add class="aui" to your tables. Follow correct structure - include THEAD and TBODY, use TH for headers and TD for body... et voila:

Ship NameNicknameTypeMisadventure
Red DwarfThe Crimson Short OneJMC mining vesselDuplicated, shrunk, lost, found, rebuilt by nanobots.
StarbugThe BugJMC transport shuttleCrashed multiple times, shot at, sunk.
Nova 5Not knownCoca-Cola marketing vesselCrashed with soapy mainframe.

Toolbar

Old Toolbar

Don't make new ones, but you may need to update a v1 Toolbar: