https://github.com/oruga-ui/oruga
π Oruga is a lightweight Vue.js UI component library without any CSS dependency
https://github.com/oruga-ui/oruga
agnostic component-library components contributions-welcome css css-framework customization frontend javascript nuxt oruga sass scss tailwindcss ui ui-components ux vue vuejs
Last synced: about 1 month ago
JSON representation
π Oruga is a lightweight Vue.js UI component library without any CSS dependency
- Host: GitHub
- URL: https://github.com/oruga-ui/oruga
- Owner: oruga-ui
- License: mit
- Created: 2020-06-02T07:52:58.000Z (over 6 years ago)
- Default Branch: develop
- Last Pushed: 2026-10-02T10:39:26.000Z (about 2 months ago)
- Last Synced: 2026-10-06T13:47:07.761Z (about 2 months ago)
- Topics: agnostic, component-library, components, contributions-welcome, css, css-framework, customization, frontend, javascript, nuxt, oruga, sass, scss, tailwindcss, ui, ui-components, ux, vue, vuejs
- Language: Vue
- Homepage: https://oruga-ui.com
- Size: 20.6 MB
- Stars: 1,161
- Watchers: 7
- Forks: 167
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- fucking-awesome-vue - oruga - UI components for Vue.js without CSS framework dependency. (Components & Libraries / Frameworks)
- awesome-vue - oruga - Oruga is a lightweight library of UI components without CSS framework dependency ` π 21 hours ago` (Frameworks [π](#readme))
- awesome-bulma - oruga - UI components library without CSS framework dependency (UI Libraries & Components)
- awesome-vue - oruga - UI components for Vue.js without CSS framework dependency. (Components & Libraries / Frameworks)
- awesome-vue - oruga - UI components for Vue.js without CSS framework dependency. (Components & Libraries / Frameworks)
README
Oruga UI is like a caterpillar, minimal and yet functional. It's in your hands turning it into a butterfly
(π) => π¦
## Features
Oruga is a lightweight UI components library for [Vue.js](https://vuejs.org/) without any dependency.
It offers a set of easily customisable components and doesn't depend on any specific style or CSS framework (like Bootstrap, Bulma, TailwindCSS, etc...). Therefore, it doesn't provide a grid system or CSS utilities, but you can integrate any CSS framework you like.
Oruga provides you with a set of functional components, so you can focus only on the UI/UX aspects of your application and can be entirely flexible for future changes without having to touch a line of JavaScript.
- **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
If you need a component library and want to easily apply your custom styles, Oruga is the library for you! π
In addition, if you don't want to style everything yourself, we've created several [themes](https://oruga-ui.com/documentation/themes.html) to provide you with a variety of ready-to-use styles. π¦
## Documentation
Browse [online documentation here](https://oruga-ui.com/documentation/).
π
For more info about components customization, read carefully the ["customization" section](https://oruga-ui.com/documentation/configuration.html) in the documentation.
πΉ To see Oruga in action, go to the ["example" section](https://oruga-ui.com/documentation/#examples) in the documentation.
> Note: the source code of the documentation examples can be found in the `examples` directories for each component, it serves as the demo as well.
## Quick start
π Oruga is available for [Vue.js](https://vuejs.org/) **version 3.x**
### Setup Oruga
1. Install Oruga.
```bash
npm install @oruga-ui/oruga-next
```
2. Import the components:
- To get started, create a new Oruga instance by the `createOruga` composable. The instance then has to be passed to the `app.use()` function of your current Vue app.
```js
import { createApp } from "vue"
import { createOruga } from "@oruga-ui/oruga-next";
const oruga = createOruga();
createApp(...).use(oruga, {
// here goes the global config
});
```
- To take advantage of bundlerβs tree-shaking optimisations, no components are registered globally by default. If you want to register a component globally, extend your Oruga instance with the relevant component plugin. This makes the respective component and its subcomponents, as well as any related programmatic components, globally available.
```js
import { createOruga, Autocomplete, Sidebar } from "@oruga-ui/oruga-next";
const oruga = createOruga();
// register any necessary components globally
oruga.use(Autocomplete);
oruga.use(Sidebar);
```
- or [import them in your SFC](https://vuejs.org/guide/components/registration.html#local-registration).
### Customization
Oruga's superpower is its configurability and its CSS framework agnostic approach.
Each component can be individually customised and configured by defining specific classes using a class-mapping approach. Therefore, Oruga comes without any styling by default. However, there are several official predefined configurations called themes, which you can include and extend to give your application a individual look and feel. And all components came with predefined classes by default.
Please read the ["configuration" section](https://oruga-ui.com/documentation/configuration.html) in Oruga documentation.
If you want to see an example with a fully customized registration form using `Tailwind`, `Bulma`, `Bootstrap`, `Material` or any other CSS framework have a look at the official [Oruga multiframework example](https://oruga-multiframework-demo.netlify.app/tailwind) (source code available [here](https://github.com/oruga-ui/demo-multiframework)) or if you're more familiar with TailwindCSS 2 give our official [TailwindCSS Demo](https://oruga-tailwindcss-demo.netlify.app/) a try (source code [here](https://github.com/oruga-ui/demo-tailwindcss))
### Using Oruga with Nuxt
Oruga doesn't provide a [Nuxt.js](https://nuxtjs.org) module at the moment.
You can use Nuxt.js plugins system adding a file (e.g. `oruga.js`) in your `plugins` folder containing:
```js
import Oruga from "@oruga-ui/oruga-next";
export default defineNuxtPlugin((nuxtApp) => {
nuxtApp.vueApp.use(Oruga);
});
```
To make this plugin available in your app, add this file to the `plugins` array in your `nuxt.config.js`
```js
plugins: [{ src: "~plugins/oruga.js" }];
```
To understand how the plugins work with Nuxt.js, take a look at the [NuxtJS plugin documentation](https://nuxtjs.org/guides/configuration-glossary/configuration-plugins).
## Contributing
Please see the [contributing guidelines](./.github/CONTRIBUTING.md).
### Contact us πΎ
β Join the [Oruga Discord server](https://discord.gg/RuKuBYN).
## Versioning
Oruga uses [Semantic Versioning 2.0.0](https://semver.org/spec/v2.0.0.html) 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

Walter Tommasi

Andrea Stagi

Marcel Moravek
## Contributors
Thank you to everyone involved for improving this project, day by day π
[Complete list](.github/CONTRIBUTORS.md).
## Credits
Oruga logo designed by [Matteo Guadagnini](mailto:matteoguadagnini67@gmail.com)
Code released under [MIT](https://github.com/oruga-ui/oruga/blob/master/LICENSE) license.