prosekbd
Mostrar atajos de teclado y combinaciones de teclas con el estilo adecuado.
xph0000xUso
Utilice el componente kbd para mostrar un Kbd en el contenido.
K
:kbd{value="meta"} :kbd{value="K"}
API (Edición española)
Props (Edición española)
| Prop | Default | Type |
|---|---|---|
value | string | |
ui | { base?: any; } |
Slots (Edición española)
| Slot | Type |
|---|---|
default | {} |
Temas
app.config.ts
export default defineAppConfig({
ui: {
prose: {
kbd: {
base: 'align-text-top'
}
}
}
})vite.config.ts
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import ui from '@nuxt/ui/vite'
export default defineConfig({
plugins: [
vue(),
ui({
ui: {
prose: {
kbd: {
base: 'align-text-top'
}
}
}
})
]
})Changelog (Edición española)
No recent changes