@exakt/ui
exakt
an opinionated nuxt ui library focused on a clean look
[!WARNING]
This library is very experimental, use it at your own peril
Quick Setup
- Add
@exakt/uias a dependency to your project. Something like:
yarn add --dev @exakt/ui
- Add
@exakt/uito themodulessection ofnuxt.config.ts
export default defineNuxtConfig({
modules: [
'@exakt/ui'
]
})
- Configure
export default defineNuxtConfig({
exakt: { colors: { light: { primary: "#ff7d00" }, dark: { primary: "#ff7d00" } }},
})
Icons
exakt uses Material Symbols. When you build, it scans your project's source and only includes the icons that are actually used, otherwise it's like 3.7MB (not what we wanna see)
export default defineNuxtConfig({
modules: ['@exakt/ui'],
exakt: {
icons: {
style: 'outlined', // 'outlined' | 'rounded' | 'sharp' | 'all'
subset: true, // subset on prod build
subsetInDev: false, // also subset for the dev build
scan: true, // scan sources for icon names
include: [], // names the scan cannot see
},
},
})
It scans dumbly for any quoted icon name, so there might be false positives.
The usual
# Install dependencies
npm install
# Generate type stubs
npm run dev:prepare
# Develop with the playground
npm run dev
# Build the playground
npm run dev:build
# Run ESLint
npm run lint
# Run Vitest
npm run test
npm run test:watch
# Release new version
npm run release
Related Packages
Version History
| Version | Released | License |
|---|---|---|
| 0.0.90 | MIT | |
| 0.0.89 | MIT | |
| 0.0.88 | MIT | |
| 0.0.87 | MIT | |
| 0.0.86 | MIT | |
| 0.0.85 | MIT | |
| 0.0.84 | MIT | |
| 0.0.83 | MIT | |
| 0.0.82 | MIT | |
| 0.0.81 | MIT | |
| 0.0.80 | MIT | |
| 0.0.79 | MIT | |
| 0.0.78 | MIT | |
| 0.0.77 | MIT | |
| 0.0.76 | MIT | |
| 0.0.75 | MIT | |
| 0.0.74 | MIT | |
| 0.0.73 | MIT | |
| 0.0.72 | MIT | |
| 0.0.71 | MIT | |
| 0.0.70 | MIT | |
| 0.0.69 | MIT | |
| 0.0.68 | MIT | |
| 0.0.67 | MIT | |
| 0.0.65 | MIT | |
| 0.0.64 | MIT | |
| 0.0.63 | MIT | |
| 0.0.62 | MIT | |
| 0.0.61 | MIT | |
| 0.0.60 | MIT |
Showing the latest 30 of 85. See every release on npm