Gathering detailed insights and metrics for o-ui4
Gathering detailed insights and metrics for o-ui4
npm install o-ui4
Typescript
Module System
Node Version
NPM Version
49.4
Supply Chain
90.1
Quality
73.6
Maintenance
50
Vulnerability
98.9
License
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
251
Last Day
1
Last Week
2
Last Month
10
Last Year
72
Minified
Minified + Gzipped
Latest Version
0.0.1
Package Id
o-ui4@0.0.1
Unpacked Size
18.72 kB
Size
5.06 kB
File Count
13
NPM Version
8.0.0
Node Version
16.11.0
Cumulative downloads
Total Downloads
Last Day
0%
1
Compared to previous day
Last Week
-50%
2
Compared to previous week
Last Month
400%
10
Compared to previous month
Last Year
35.8%
72
Compared to previous year
10
2
4
@chakra-ui/vue gives you a set of accessible and composable Vue components that you can use to build your favourite applications and sites.
Made for Vue 2.X
Head over here => https://vue.chakra-ui.com
CBox
, CFlex
and
CStack
that make it easy to style your components by passing props.
Learn morearia-*
attributes.1yarn add @chakra-ui/vue emotion
or
1npm install @chakra-ui/vue emotion
Note: If you're using Nuxt, you need to install
@nuxtjs/emotion
package as well to server-side render your styles.
1yarn add @chakra-ui/vue emotion @nuxtjs/emotion
1. Import the Chakra UI plugin in your main.js
file.
1import Vue from 'vue' 2import Chakra from '@chakra-ui/vue' 3import App from './App.vue' 4 5Vue.use(Chakra) 6 7new Vue({ 8 el: '#app', 9 render: (h) => h(App) 10}).$mount()
2. Wrap your application inside the Chakra CThemeProvider
. We also recommend that you include the CReset
component to normalize all browser styling.
In your App.vue
file.
1<template> 2 <CThemeProvider> 3 <CReset /> 4 5 <!-- 6 Your application code goes here! 😁 7 --> 8 </CThemeProvider> 9</template> 10 11<script> 12 import { CThemeProvider, CReset } from '@chakra-ui/vue' 13 14 export default { 15 name: 'App', 16 components: { 17 CThemeProvider, 18 CReset 19 } 20 } 21</script>
If you'd like to toggle your app between dark and light mode, you can also wrap your application inside the ColorModeProvider
component.
3. Hurray!🎉 Now the fun can begin. You can start using components like so:
1<template> 2 <CThemeProvider> 3 <CReset /> 4 5 <!-- 6 Your application code goes here! 😁 7 --> 8 <CButton variantColor="blue"> 9 Chakra consumed ⚡️ 10 </CButton> 11 </CThemeProvider> 12</template> 13 14<script> 15 import { CThemeProvider, CReset, CButton } from '@chakra-ui/vue' 16 17 export default { 18 name: 'App', 19 components: { 20 CThemeProvider, 21 CReset, 22 CButton 23 } 24 } 25</script>
You can also view all developed components in Storybook!
Interested in contributing? See our open issues! Remember to take a look at our CONTRIBUTORS guide.
1yarn install 2yarn bootstrap 3yarn dev
Created by Jonathan Bakebwa
No vulnerabilities found.
No security vulnerabilities found.