@cssninja/nuxt-ui
🖌️ A beautiful, customizable, and simple to use component library with Tailwind CSS for Nuxt.js
2,985
| Install | |
|---|---|
npm install @cssninja/nuxt-ui |
|
| Latest Version: | 0.7.17 |
| Vue: | 3 |
| License: | MIT |
| Last Updated: | Apr 14, 2023 |
| Links: | npm |
Maintainer: driss-chelouati
@cssninja/nuxt-ui
🖌️ A beautiful, customizable, and simple to use component library with Tailwind CSS for Nuxt.js
Modules
- 🔧 @vueuse/nuxt
- 🎨 @nuxtjs/color-mode
- 🪄 @nuxtjs/tailwindcss
- 🧩 nuxt-icon
Installation
- Add
@cssninja/nuxt-uidependency to your project
# Using pnpm
pnpm add -D @cssninja/nuxt-ui
# Using yarn
pnpm add -D @cssninja/nuxt-ui
# Using npm
npm install --save-dev @cssninja/nuxt-ui
- Add
@cssninja/nuxt-uito theextendssection ofnuxt.config.js
export default defineNuxtConfig({
extends: [
'@cssninja/nuxt-ui'
]
})
Configuration
// app.config.ts
export default defineAppConfig({
nui: {
defaultShapes: {
/**
* Default shape for the BaseAccordion component
*
* @type {'straight' | 'rounded' | 'curved'}
*/
accordion: 'rounded',
/**
* Default shape for the BaseAutocompleteItem component
*
* @type {'straight' | 'rounded' | 'curved' | 'full'}
*/
autocompleteItem: 'rounded',
/**
* Default shape for the BaseAvatar component
*
* @type {'straight' | 'rounded' | 'curved' | 'full'}
*/
avatar: 'full',
/**
* Default shape for the BaseButton component
*
* @type {'straight' | 'rounded' | 'curved' | 'full'}
*/
button: 'rounded',
/**
* Default shape for the BaseButtonAction component
*
* @type {'straight' | 'rounded' | 'curved' | 'full'}
*/
buttonAction: 'rounded',
/**
* Default shape for the BaseButtonIcon component
*
* @type {'straight' | 'rounded' | 'curved' | 'full'}
*/
buttonIcon: 'rounded',
/**
* Default shape for the BaseCard component
*
* @type {'straight' | 'rounded' | 'curved' | 'full'}
*/
card: 'rounded',
/**
* Default shape for the BaseDropdown component
*
* @type {'straight' | 'rounded' | 'curved' | 'full'}
*/
dropdown: 'rounded',
/**
* Default shape for the BaseIconBox component
*
* @type {'straight' | 'rounded' | 'curved' | 'full'}
*/
iconBox: 'rounded',
/**
* Default shape for all input components component
* - BaseAutocomplete
* - BaseCheckbox
* - BaseInput
* - BaseInputFile
* - BaseInputListbox
* - BaseInputSelect
* - BaseInputTextarea
*
* @type {'straight' | 'rounded' | 'curved' | 'full'}
*/
input: 'rounded',
/**
* Default shape for the BaseMessage component
*
* @type {'straight' | 'rounded' | 'curved' | 'full'}
*/
message: 'curved',
/**
* Default shape for the BasePagination component
*
* @type {'straight' | 'rounded' | 'curved' | 'full'}
*/
pagination: 'rounded',
/**
* Default shape for the BaseProgress component
*
* @type {'straight' | 'rounded' | 'curved' | 'full'}
*/
progess: 'full',
/**
* Default shape for the BaseProse component
*
* @type {'straight' | 'rounded' | 'curved'}
*/
prose: 'rounded',
/**
* Default shape for the BaseTabSlider component
*
* @type {'straight' | 'rounded' | 'curved' | 'full'}
*/
tabSlider: 'rounded',
/**
* Default shape for the BaseTag component
*
* @type {'straight' | 'rounded' | 'curved' | 'full'}
*/
tag: 'rounded',
},
},
})
Related Packages
@shuriken-ui/nuxt
54,146
172
@shuriken-ui/tailwind
44,368
53
Version History
| Version | Released | License |
|---|---|---|
| 0.7.17 | MIT | |
| 0.7.16 | MIT | |
| 0.7.13 | MIT | |
| 0.7.12 | MIT | |
| 0.7.11 | MIT | |
| 0.7.10 | MIT | |
| 0.7.9 | MIT | |
| 0.7.8 | MIT | |
| 0.7.7 | MIT | |
| 0.7.6 | MIT | |
| 0.7.5 | MIT | |
| 0.7.4 | MIT | |
| 0.7.3 | MIT | |
| 0.7.2 | MIT | |
| 0.7.1 | MIT | |
| 0.7.0 | MIT | |
| 0.6.0 | MIT | |
| 0.5.6 | MIT | |
| 0.5.5 | MIT | |
| 0.5.4 | MIT | |
| 0.5.3 | MIT | |
| 0.5.2 | MIT | |
| 0.5.1 | MIT | |
| 0.5.0 | MIT | |
| 0.4.11 | MIT | |
| 0.4.10 | MIT | |
| 0.4.9 | MIT | |
| 0.4.8 | MIT | |
| 0.4.7 | MIT | |
| 0.4.6 | MIT |
Showing the latest 30 of 80. See every release on npm