Getting Started
UIkit for Drupal does not come with the required UIkit framework files because, in general, 3rd party libraries and content are forbidden from being committed to a repository for projects hosted on drupal.org. We instead use cdnjs.com to retrieve the UIkit library.
This also makes the footprint of our repository smaller. Simply follow the instructions below to get started with using UIkit for Drupal.
Download UIkit
First of all you need to download UIkit for Drupal. There are three ways to do this:
- use composer require drupal/uikit (recommended)
- direct download from drupal.org project page (also recommended)
- cloning repository from git.drupal.org (for theme developers)
Please read the Installing themes article before installing UIkit for Drupal. We only provide the download methods below, not how to install themes.
via drupal.org (recommended for site administrators)
The recommended way to get UIkit is by visiting drupal.org. Towards the bottom of the page are the download links for the various versions of the packaged theme.
via Composer (recommended for site administrators comfortable with Composer)
Drush is deprecated so please use the following composer command to download UIkit.
composer require drupal/uikit
Information on Composer can be found here.
via git.drupal.org (recomended for theme developers only)
Use the following Git command to download from one of the development branches. This will ensure you get the latest commited development release.
git clone --branch 8.x-2.x https://git.drupal.org/project/uikit.git
git clone --branch 8.x-3.x https://git.drupal.org/project/uikit.git
Help improve this page
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion