Welcome to the Atlassian User Interface library.
Follow these steps to get up and running with AUI's library:
- Include AUI in your page. There are several ways of doing it.
Serving AUI from CDN
AUI provides a CDN, which will make your pages load faster and resources won't be out of date. In order to serve AUI's resources from the CDN, you will need to include them in the HEAD of your HTML or template file, such as in the example below.
Serving specific files from CDN
Alternatively, to reduce the page weight, you might pull only the files you need:
Simply include the core CSS and JS files. Note that AUI depends on jQuery 1.7.2 or 1.8.3 being on the page - alter the below jQuery script as required.
Downloading and using AUI
The zip file contains both core/stable components from AUI, plus some components with experimental APIs (in separate resources).
Once you've downloaded the file and If you want everything, including AUI's dependencies, experimental features and compiled-JS Soy templates, add the following code to the HEAD of your templates or page:
- Update the path to point to the location of your copy.