hamed-ehtesham / Pretty Checkbox Vue
Licence: mit
Quickly integrate pretty checkbox components with Vue.js
Stars: ✭ 240
Programming Languages
js
455 projects
Projects that are alternatives of or similar to Pretty Checkbox Vue
Pretty Checkbox
A pure CSS library to beautify checkbox and radio buttons.
Stars: ✭ 1,708 (+611.67%)
Mutual labels: checkbox, radio-buttons, bootstrap, scss
Bootstrap Table
An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation, Vue.js)
Stars: ✭ 11,068 (+4511.67%)
Mutual labels: checkbox, bootstrap, vuejs2
Coreui Free Vue Admin Template
Open source admin template based on Bootstrap 5 and Vue 3
Stars: ✭ 2,951 (+1129.58%)
Mutual labels: bootstrap, scss, vuejs2
Coreui Free Bootstrap Admin Template
CoreUI is free bootstrap admin template
Stars: ✭ 11,038 (+4499.17%)
Mutual labels: bootstrap, scss, vuejs2
Feathers Vue
A boiler plate template using Feathers with Email Verification, Vue 2 with Server Side Rendering, stylus, scss, jade, babel, webpack, ES 6-8, login form, user authorization, and SEO
Stars: ✭ 195 (-18.75%)
Mutual labels: bootstrap, scss, vuejs2
Lc Design
A UI component framework for building LCUI application.
Stars: ✭ 134 (-44.17%)
Mutual labels: bootstrap, scss
Shards Ui
🎨Shards is a beautiful & modern Bootstrap 4 UI kit packed with extra templates and components.
Stars: ✭ 1,718 (+615.83%)
Mutual labels: bootstrap, scss
Angular Bootstrap Checkbox
A checkbox for AngularJS styled to fit the Twitter Bootstrap standard design
Stars: ✭ 154 (-35.83%)
Mutual labels: checkbox, bootstrap
Bootstrap Dark
Bootstrap 4 dark theme that supports togging dark/light themes as well. There is no fluff, it changes the color of Bootstrap and that's it, no new thing to learn or unlearn, just Bootstrap, but Dark!
Stars: ✭ 158 (-34.17%)
Mutual labels: bootstrap, scss
Awesome Bootstrap Checkbox
✔️Font Awesome Bootstrap Checkboxes & Radios. Pure css way to make inputs look prettier
Stars: ✭ 2,044 (+751.67%)
Mutual labels: checkbox, bootstrap
Mazer
Free and Open-source Bootstrap 5 Admin Dashboard Template and Landing Page
Stars: ✭ 195 (-18.75%)
Mutual labels: bootstrap, scss
Bslib
Tools for theming shiny and rmarkdown from R via Bootstrap (3 or 4) Sass.
Stars: ✭ 197 (-17.92%)
Mutual labels: bootstrap, scss
Typesetter
Open source CMS written in PHP focused on ease of use with true WYSIWYG editing and flat-file storage.
Stars: ✭ 212 (-11.67%)
Mutual labels: bootstrap, scss
Copilot
Responsive Bootstrap 3 Admin Template based on AdminLTE with vue.js
Stars: ✭ 2,698 (+1024.17%)
Mutual labels: bootstrap, vuejs2
Laravel Coreui Vue
Laravel 5.6 with CoreUI (VueJS Full Starter Template) >>> Deprecated, please go to https://coreui.io/laravel/
Stars: ✭ 132 (-45%)
Mutual labels: bootstrap, vuejs2
Angular Pro Sidebar
Responsive sidebar template with dropdown menu built with angular 7 and bootstrap 4
Stars: ✭ 160 (-33.33%)
Mutual labels: bootstrap, scss
React Redux Starter
A basic template that consists of the essential elements that are required to start building a Single Page Application using React, React Router, Redux, Bootstrap 4, Sass, and Webpack
Stars: ✭ 116 (-51.67%)
Mutual labels: bootstrap, scss
Ng Pi Admin
Angular admin http://treesflower.com/ng-pi-admin
Stars: ✭ 131 (-45.42%)
Mutual labels: bootstrap, scss
Vue Material Kit
Vue Material Kit - Open Source Material Design UI Kit
Stars: ✭ 231 (-3.75%)
Mutual labels: scss, vuejs2
Quickly integrate pretty checkbox Components (checkbox, switch, radio button) with Vue.js
Demo and documentation
Installation
npm i --save-dev pretty-checkbox-vue
Browser
Include the script file, then install the component with Vue.use(PrettyCheckbox);
e.g.:
<script type="text/javascript" src="node_modules/vuejs/dist/vue.min.js"></script>
<script type="text/javascript" src="node_modules/pretty-checkbox-vue/dist/pretty-checkbox-vue.min.js"></script>
<script type="text/javascript">
Vue.use(PrettyCheckbox);
</script>
Module
import PrettyCheckbox from 'pretty-checkbox-vue';
Vue.use(PrettyCheckbox);
Or
import PrettyInput from 'pretty-checkbox-vue/input';
import PrettyCheck from 'pretty-checkbox-vue/check';
import PrettyRadio from 'pretty-checkbox-vue/radio';
Vue.component('p-input', PrettyInput);
Vue.component('p-check', PrettyCheck);
Vue.component('p-radio', PrettyRadio);
Usage
Once installed, it can be used in a template as simply as:
<p-check name="check" color="success" v-model="check">check</p-check>
<p-radio name="radio" color="info" v-model="radio">radio</p-radio>
<!-- Or it can be used just like input -->
<p-input type="checkbox" name="check" color="success" v-model="check">check</p-input>
<p-input type="radio" name="radio" color="info" v-model="radio">radio</p-input>
Properties
Property | Type | Default Value |
---|---|---|
type | String | checkbox (checkbox & input) or radio (radio) |
name | String | |
value | Any | |
class | String |
p-default (checkbox & input) or p-default p-round (radio) |
true-value | Boolean or String | true |
false-value | Boolean or String | false |
checked | Boolean | false |
disabled | Boolean | false |
required | Boolean | false |
indeterminate | Boolean | false |
color | String | |
off-color | String | |
hover-color | String | |
indeterminate-color | String | |
toggle | Boolean | false |
hover | Boolean | false |
focus | Boolean | false |
Slots
Name | Purpose |
---|---|
default (no name) | include label in default mode or for "on" state in toggle mode |
extra | include icon or svg or image in default mode or for "on" state in toggle mode |
off-label | include label for "off" state in toggle mode |
off-extra | include icon or svg or image for "off" state in toggle mode |
hover-label | include label in hover state |
hover-extra | include icon or svg or image in hover state |
indeterminate-label | include label in indeterminate state |
indeterminate-extra | include icon or svg or image in indeterminate state |
If you have discovered a 🐜 or have a feature suggestion, feel free to create an issue on Github.
License
Released under The MIT License. Copyright (c) hamed-ehtesham.
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].