1.0.0 • Published 5 years ago
@onekind/carbon-vue v1.0.0
@onekind/carbon-vue

An opinionated Vue implementation of IBM™ Carbon Design System version 10.
Project setup
npm installUsing storybook for development
npm run storybookCompiles and minifies for production
npm run buildRun your unit tests
npm run test:unitLints and fixes files
npm run lintUsing Carbon Vue in your project
Add carbon-vue to your project, as a dependency:
npm install @onekind/carbon-vueUsing with Vue
Add the following to your App.vue file:
import Vue from 'vue'
import CarbonVue from '@onekind/carbon-vue'
Vue.use(CarbonVue)Using with Nuxt
Add a carbon-vue.js to /plugins folder:
import Vue from 'vue'
import CarbonVue from '@onekind/carbon-vue'
Vue.use(CarbonVue)Add your new plugin in nuxt.config.js
plugins: [
'carbon-vue.js`
]you can use any other name for the file.
Component List
| Component | Status | Stories | Themes |
|---|---|---|---|
| Accordion | ✔ | ✔ | ✔ |
| Breadcrumb | ✔ | ✔ | |
| Button | ✔ | ✔ | |
| Checkbox | ✔ | ✔ | |
| CodeSnippet | ✔ | ✔ | |
| ComboBox | ✔ | ✔ | ✔ |
| ContentSwitcher | |||
| DataTable | ✔ | ✘ | |
| DatePicker | |||
| Dropdown | ✔ | ✔ | |
| FileUploader | |||
| Form | ✔ | ✔ | |
| InlineLoading | |||
| InlineNotification | |||
| Link | ✔ | ✔ | |
| List | |||
| Loading | ✔ | ✔! | |
| Modal | ✔ | ✔ | |
| MultiSelect | |||
| NumberInput | ✔ | ✔ | |
| OverflowMenu | ✔ | ✔ | |
| Pagination | ✔ | ✔ | |
| Progress | ✔ | ✔ | |
| RadioButton | ✔ | ✔ | |
| Search | |||
| Select | ✔ | ✔ | |
| SkeletonText | |||
| Slider | ✔ | ✔ | |
| StructuredList | |||
| Tabs | ✔! | ✔ | |
| Tag | ✔ | ✔ | |
| TextArea | ✔ | ✔ | |
| TextInput | ✔ | ✔! | |
| Tile | ✔ | ✔ | |
| TimePicker | ✔ | ✔! | |
| ToastNotification | ✔ | ✔ | |
| Toggle | ✔ | ✔ | |
| Tooltip | ✔ | ✔ | |
| UIShell | ✔ | ✔ |
Acknowledgement
A big thanks to IBM™ for making Carbon Design System publicly available. It gives us the opportunity of inspecting good professional work, even if many would disagree on the design language or approach.
This project uses lots of open source projects, and benefits from them. So a huge thanks to anyone contributing to those.