@zebbra/ui

ZebbraUI is a collection of Vue components for building accessible high level UI libraries. ZebbraUI doesn't depend on any CSS library. Components are unstyled by default.
ZebbraUI basic example:
Here is a simple dialog:
<div>
<ZbDialogDisclosure :state="dlg1">Open dialog</ZbDialogDisclosure>
<ZbDialog :state="dlg1">
<h2 class="border-b-2 border-gray-500 px-2 py-2">Hy! this is a dialog</h2>
<div class="p-8">
<ZbButton @click="dlg1.close">Click to close</ZbButton>
</div>
</ZbDialog>
<ZbDialogBackdrop class="bg-purple-200 opacity-30" :state="dlg1" />
</div>
<script>
import { defineComponent } from 'vue'
import { useDialog, ZbDialog, ZbDialogDisclosure, ZbDialogBackdrop } from '@zebbra/ui'
export default defineComponent({
components: { ZbDialog, ZbDialogDisclosure, ZbDialogBackdrop },
setup() {
const dlg1 = useDialog()
return { dlg1 }
}
})
</script>
Components List
This project is still in early development. New components will be added regularly.
- Box
- Button
- Checkbox
- Radio
- DatePicker
- Dropdown
- Field
- Group
- Input
- Menu
- Switch
- Textarea
License
Copyright (c) 2018 Zebbra contributors
Licensed under the MIT license.
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 1.0.9 | ^3.0.x | ||
| 1.0.8 | ^3.0.x | ||
| 1.0.7 | ^3.0.x | ||
| 1.0.6 | ^3.0.x | ||
| 1.0.5 | ^3.0.x | ||
| 1.0.4 | ^3.0.x | ||
| 1.0.3 | ^3.0.x | ||
| 1.0.2 | ^3.0.x | ||
| 1.0.1 | ^3.0.11 | ||
| 1.0.0 | ^3.0.11 | ||
| 0.1.3 | ^3.0.0 | ||
| 0.1.1 | ^3.0.0 | ||
| 0.1.0 | ^3.0.0 |