v2.1.8
  • Get Started
  • Components
  • Composables
  • Typography
  • GitHub
  • Overview
  • Introduction
  • Headers and text
  • Lists and tables
  • Images and embeds
  • Code
  • Components
  • Accordion
  • Badge
  • Callout
  • Card
  • CardGroup
  • CodeCollapse
  • CodeGroup
  • CodePreview
  • Collapsible
  • Field
  • FieldGroup
  • Kbd
  • Steps
  • Tabs
  • b24icons
  • b24jssdk
Use our Nuxt starter
v2.1.8
  • Docs
  • Components
  • Composables
  • Typography

Kbd

Show all available hotkeys with their properly formatted keys.
GitHub
Nuxt UI

Usage

Use the kbd component to display a Kbd in your content.

K

:kbd{value="meta"} :kbd{value="K"}

API

Props

Prop Default Type
valuestring

Theme

app.config.ts
export default defineAppConfig({
  b24ui: {
    prose: {
      kbd: {
        base: 'align-text-top'
      }
    }
  }
})
vite.config.ts
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import bitrix24UIPluginVite from '@bitrix24/b24ui-nuxt/vite'

export default defineConfig({
  plugins: [
    vue(),
    bitrix24UIPluginVite({
      b24ui: {
        prose: {
          kbd: {
            base: 'align-text-top'
          }
        }
      }
    })
  ]
})

FieldGroup

Combine logically connected fields to create exhaustive API documentation.

Steps

Turn your headings into clear, sequential instructions.

On this page

  • Usage
  • API
    • Props
  • Theme
Releases
Published under MIT License.

Copyright © 2024-present Bitrix24