All Projects → vectrejs → vectre

vectrejs / vectre

Licence: MIT license
Most complete implementation of Spectre.css on Vue.js

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
SCSS
7915 projects
HTML
75241 projects

Projects that are alternatives of or similar to vectre

vue-word-highlighter
The word highlighter library for Vue 2 and Vue 3.
Stars: ✭ 112 (+77.78%)
Mutual labels:  vue-components
okeedesign-mobile-vue
High Performance, Flexiable Configuration, Various Components
Stars: ✭ 139 (+120.63%)
Mutual labels:  vue-components
vue-drag-zone
Drag Zone component for @vuejs
Stars: ✭ 127 (+101.59%)
Mutual labels:  vue-components
vstx-data-table
A data table component for the Vue Stacks Ecosystem
Stars: ✭ 34 (-46.03%)
Mutual labels:  vue-components
vue-clock-simple
Repo for the article How To Publish Your Vue.js Component On NPM
Stars: ✭ 88 (+39.68%)
Mutual labels:  vue-components
v-owl-carousel
🦉 VueJS wrapper for Owl Carousel
Stars: ✭ 46 (-26.98%)
Mutual labels:  vue-components
unique-ui
一个用于Vue2.x的移动端组件库
Stars: ✭ 43 (-31.75%)
Mutual labels:  vue-components
Oasis
🍃 UI framework based on [email protected]. (English document is coming soon)
Stars: ✭ 29 (-53.97%)
Mutual labels:  vue-components
Different-UI
✨ A Vue.js 3 UI Library — a Toy
Stars: ✭ 62 (-1.59%)
Mutual labels:  vue-components
vue-on-rails
Easy way to mount/destroy Vue.js components with Ruby on Rails and Turbolinks 5
Stars: ✭ 17 (-73.02%)
Mutual labels:  vue-components
vue-data-loading
Another component for infinite scroll and pull down/up to load data.
Stars: ✭ 63 (+0%)
Mutual labels:  vue-components
ignore
🔥修炼内功,无招胜有招。 ---个人博客
Stars: ✭ 27 (-57.14%)
Mutual labels:  vue-components
vue-cli-plugin-quasar
Quasar Framework Vue CLI plugin
Stars: ✭ 66 (+4.76%)
Mutual labels:  vue-components
vue-skeleton-loader
A simple and easily customizable skeleton loader plugin for you Vue application.
Stars: ✭ 74 (+17.46%)
Mutual labels:  vue-components
vue-hooks-form
Building forms with vue composition API.
Stars: ✭ 131 (+107.94%)
Mutual labels:  vue-components
shadow
Shadow dom support for Vue
Stars: ✭ 46 (-26.98%)
Mutual labels:  vue-components
vue-cirrus
Vue components for the Cirrus CSS framework.
Stars: ✭ 43 (-31.75%)
Mutual labels:  vue-components
spectre.scss
port of spectre.css to sass
Stars: ✭ 16 (-74.6%)
Mutual labels:  spectre-css
vue3-docs
vue中文社区,vue3 中文文档
Stars: ✭ 180 (+185.71%)
Mutual labels:  vue-components
rails-vue-components-example
Ruby on Rails with vue.js single-file components example.
Stars: ✭ 20 (-68.25%)
Mutual labels:  vue-components

A Lightweight, Simple and Responsive Component Framework


Vectre is a set of lightweight, simple and responsive Vue components based on Spectre CSS

Features

  • Clean, responsive and consistent design system
  • Only about 14kb min+gzip (plus ~9kb Spectre CSS)
  • Supports Typescript and TSX
  • Improved performance of most components thanks to functional components
  • Optimized for legacy browsers
  • Focus on usability and rapid development
  • Tree shaking

Documentation

The documentation is in a separate repository and the source code is an excellent example of using the framework.

Browse online documentation here

Quick Start

You need Vue version 2.5+.

Install via npm or yarn

npm install --save spectre.css @vectrejs/vectre
#OR
yarn add spectre.css @vectrejs/vectre

Import and use Vectre

All components

import Vue from 'vue';
import 'spectre.css/dist/spectre-exp.css';
import 'spectre.css/dist/spectre-icons.css';
import 'spectre.css/dist/spectre.css';
import { VectrePlugin } from '@vectrejs/vectre';

Vue.use(VectrePlugin);

or specific components

import Vue from 'vue';
import 'spectre.css/dist/spectre.css';
import { Tag, Modal } from '@vectrejs/vectre';

Vue.component('Tag', Tag);
Vue.component('Modal', Modal);

CDN

Alternatively, you can download or reference the script and the stylesheet in your HTML:

<!-- jsDelivr --->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/spectre.css/dist/spectre.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/spectre.css/dist/spectre-icons.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/spectre.css/dist/spectre-exp.min.css">
<script src="https://cdn.jsdelivr.net/npm/@vectrejs/vectre/dist/vectre.min.js"></script>

<!-- unpkg --->
<link rel="stylesheet" href="https://unpkg.com/spectre.css/dist/spectre.min.css">
<link rel="stylesheet" href="https://unpkg.com/spectre.css/dist/spectre-icons.min.css">
<link rel="stylesheet" href="https://unpkg.com/spectre.css/dist/spectre-exp.min.css">
<script src="https://unpkg.com/@vectrejs/vectre/dist/vectre.min.js"></script>

Browser support

At present, Vectre supports all modern browsers and additionally has a build to support older browsers like IE 10 or Safari 9

<!-- jsDelivr --->
<script src="https://cdn.jsdelivr.net/npm/@vectrejs/vectre/dist/vectre.legacy.min.js"></script>

<!-- unpkg --->
<script src="https://unpkg.com/@vectrejs/vectre/dist/vectre.legacy.min.js"></script>

Playgrounds

Links

Social

License

Code released under MIT license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].