UI components for Vue.js and CSS framework agnostic

Downloads in past


1,007570.6.02 months ago3 years agoMinified + gzip package size for @oruga-ui/oruga in KB


<a href="https://oruga.io">
    <img width="240" src="https://github.com/oruga-ui/oruga/raw/master/packages/docs/.vuepress/public/logo.png" />

Oruga UI is like a caterpillar, minimal and yet functional. It's in your hands turning it into a butterfly

(šŸ›) => šŸ¦‹

Oruga is a lightweight library of UI components for Vue.js without CSS framework dependency

<a href="https://www.npmjs.com/package/@oruga-ui/oruga"><img src="https://img.shields.io/npm/v/@oruga-ui/oruga.svg?logo=npm" /></a>
<a href="https://www.npmjs.com/package/@oruga-ui/oruga"><img src="https://img.shields.io/npm/dt/@oruga-ui/oruga.svg" /></a>
<a href="https://github.com/oruga-ui/oruga/actions"><img src="https://github.com/oruga-ui/oruga/actions/workflows/build.yml/badge.svg" /><a>
<a href="https://codecov.io/gh/oruga-ui/oruga"><img src="https://codecov.io/gh/oruga-ui/oruga/branch/develop/graph/badge.svg?flag=oruga" /></a>

Oruga Next version for Vue 3.x

<a href="https://www.npmjs.com/package/@oruga-ui/oruga-next"><img src="https://img.shields.io/npm/v/@oruga-ui/oruga-next.svg?logo=npm" /></a>
<a href="https://www.npmjs.com/package/@oruga-ui/oruga-next"><img src="https://img.shields.io/npm/dt/@oruga-ui/oruga-next.svg" /></a>
<a href="https://github.com/oruga-ui/oruga/actions"><img src="https://github.com/oruga-ui/oruga/actions/workflows/build-next.yml/badge.svg" /><a>
<a href="https://codecov.io/gh/oruga-ui/oruga"><img src="https://codecov.io/gh/oruga-ui/oruga/branch/develop/graph/badge.svg?flag=oruga-next" /></a>

Contact us šŸ‘¾

<a href="https://discord.gg/RuKuBYN"><img src="https://img.shields.io/badge/chat-on%20discord-7289DA.svg?logo=discord" /></a>

Support us āœŒšŸ»

<a href="https://ko-fi.com/orugaui"><img alt="Donate using Ko-fi"  src="https://img.shields.io/badge/donate-ko--fi-00AA00.svg?logo=ko-fi" /></a>
<a href="https://liberapay.com/oruga-ui/donate"><img alt="Donate using Liberapay" src="https://img.shields.io/badge/donate-liberapay-00AA00.svg?logo=liberapay"></a>


  • CSS framework agnostic: No dependency on a specific CSS framework/library but you can easily integrate the components with one of them because they are fully customizable in different ways
  • Components with steroids: most of the components aren't a simple wrapper of native elements but they add new and custom features
  • Lightweight: no other internal dependency and import only components that you need

Oruga doesn't depend on any specific style or CSS framework (like Bootstrap, Bulma, TailwindCSS etc...) and it doesn't provide any grid system or CSS utility, it just offer a set of components easy to customize. Oruga wants you to focus only on UI/UX aspects of your application and be totally flexible to future changes without having to touch a line of JavaScript.


Browse online documentation here.
šŸ’… For more info about components customization, read carefully the "customization" section in the documentation.
šŸ•¹ To see Oruga in action, go to the Example section in the documentation.
Note: the documentation source code is in the docs directory, it serves as the demo as well.

Browser support

šŸŒŽ Oruga has been tested in all major browsers
Chrome | Firefox | IE | Opera | Safari | --- | --- | --- | --- | --- | Latest āœ” | Latest āœ” | 10+ āœ” | Latest āœ” | 6.1+ āœ” |

Quick start

šŸ› Oruga is available for Vue.js version 2.6+ or version 3.x

Setup Oruga

Vue 2

  1. Install Oruga.

npm install @oruga-ui/oruga

  1. Import the components:

- To get started quickly, use Oruga to register all components:
import Vue from 'vue';
import Oruga from '@oruga-ui/oruga';
import '@oruga-ui/oruga/dist/oruga.css';

- To use tree shaking, either register component manually:
import Vue from 'vue';
import { OField, OInput } from '@oruga-ui/oruga';
import '@oruga-ui/oruga/dist/oruga.css';


- or import them in your SFC.

Vue 3

  1. Install Oruga.

npm install @oruga-ui/oruga-next

  1. Import the components:

  • To get started quickly, use Oruga to register all components:
import { createApp } from 'vue'
import Oruga from '@oruga-ui/oruga-next';
import '@oruga-ui/oruga-next/dist/oruga.css';

- To use tree shaking, either register component manually:
import { createApp } from 'vue'
import { OField, OInput } from '@oruga-ui/oruga'
import '@oruga-ui/oruga/dist/oruga.css'

- or import them in your SFC.


Please read carefully the "customization" section in Oruga documentation.
If you want to see an example with a fully customized registration form using Tailwind, Bulma, Bootstrap or Material CSS framework have a look at the official Oruga multiframework example(source code available here) or if you're more familiar with TailwindCSS 2 give our official TailwindCSS Demo a try (source code here)

Using Oruga with Nuxt

Oruga provides a Nuxt.js module to easily integrate the library in your Nuxt.js app.
Add @oruga-ui/oruga/nuxt to modules section of your nuxt.config.js file.
module.exports = {
  modules: ['@oruga-ui/oruga/nuxt']

You can also extend and/or override classes in this section (see how to add new classes or override existing classes in Oruga)
module.exports = {
  modules: [
        button: {
          override: true

Alternatively you can use Nuxt.js plugins system adding a file (e.g. oruga.js) in your plugins folder containing
import Vue from 'vue'
import Oruga from '@oruga-ui/oruga'
import '@oruga-ui/oruga/dist/oruga.css'


To make this plugin available in your app, add this file to the plugins array in your nuxt.config.js
plugins: [{ src: '~plugins/oruga.js' }]

To understand how the plugins work with Nuxt.js, take a look at the NuxtJS plugin documentation.
Take a look at the official NuxtJS + Oruga example.


Please see the contributing guidelines.


Oruga uses Semantic Versioning 2.0.0 for package versions.
While it's still in beta, versions will follow this pattern: v0.Y.Z, where:
  • Y: Major (breaking changes)
  • Z: Minor or patch


Core Team

<td align="center"><a href="https://twitter.com/walter_tommasi"><img src="https://avatars0.githubusercontent.com/u/8029488?v=4" width="80px;" alt=""/><br /><sub><b>Walter Tommasi</b></sub></a><br /></td>
<td align="center"><a href="https://twitter.com/4stagi"><img src="https://avatars0.githubusercontent.com/u/537363?v=4" width="80px;" alt=""/><br /><sub><b>Andrea Stagi</b></sub></a><br /></td>


Thank you to everyone involved for improving this project, day by day šŸ’š

Complete list.


Oruga logo designed by Matteo Guadagnini
Oruga svg images for Checkbox and Radio components and Holidays assets created by Fabrizio Masini


Code released under MIT license.