Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
@oruga-ui/oruga
Advanced tools
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
Oruga Next version for Vue 3.x
[!NOTE]
Oruga for Vue 2.x deprecated
Due to EOL for Vue 2.x at the end of the year, from now on Oruga for Vue 2 is deprecated and will not receive any further updates. Further enhancements will only be developed for Oruga-next. See #496.
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.
🌎 Oruga has been tested in all major browsers
Latest ✔ | Latest ✔ | 10+ ✔ | Latest ✔ | 6.1+ ✔ |
🐛 Oruga is available for Vue.js version 2.6+ or version 3.x
npm install @oruga-ui/oruga
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';
Vue.use(Oruga);
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';
Vue.component(OField);
Vue.component(OInput);
npm install @oruga-ui/oruga-next
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';
createApp(...).use(Oruga);
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'
createApp(...)
.component(OField)
.component(OInput)
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)
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: [
[
'@oruga-ui/oruga/nuxt',
{
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'
Vue.use(Oruga)
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:
Walter Tommasi | Andrea Stagi |
Thank you to everyone involved for improving this project, day by day 💚
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.
0.7.0 (2023-09-20)
FAQs
UI components for Vue.js and CSS framework agnostic
We found that @oruga-ui/oruga demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.