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

FieldGroup

Combine logically connected fields to create exhaustive API documentation.
GitHub
Nuxt UI

Usage

Group fields together in a list.

analytics
boolean
Default to false - Enables analytics for your project (coming soon).
blob
boolean
Default to false - Enables blob storage to store static assets, such as images, videos and more.
cache
boolean
Default to false - Enables cache storage to cache your server route responses or functions using Nitro's cachedEventHandler and cachedFunction
database
boolean
Default to false - Enables SQL database to store your application's data.
::field-group
  ::field{name="analytics" type="boolean"}
    Default to `false` - Enables analytics for your project (coming soon).
  ::

  ::field{name="blob" type="boolean"}
    Default to `false` - Enables blob storage to store static assets, such as images, videos and more.
  ::

  ::field{name="cache" type="boolean"}
    Default to `false` - Enables cache storage to cache your server route responses or functions using Nitro's `cachedEventHandler` and `cachedFunction`
  ::

  ::field{name="database" type="boolean"}
    Default to `false` - Enables SQL database to store your application's data.
  ::
::

API

Props

Prop Default Type
as'div'any

The element or component this component should render as.

Slots

Slot Type
default{}

Theme

app.config.ts
export default defineAppConfig({
  b24ui: {
    prose: {
      fieldGroup: {
        base: 'my-[20px] divide-y divide-(--ui-color-design-tinted-na-stroke) *:not-last:pb-[20px]'
      }
    }
  }
})
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: {
          fieldGroup: {
            base: 'my-[20px] divide-y divide-(--ui-color-design-tinted-na-stroke) *:not-last:pb-[20px]'
          }
        }
      }
    })
  ]
})

Field

Provide clear and comprehensive documentation for the API configurable elements.

Kbd

Show all available hotkeys with their properly formatted keys.

On this page

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

Copyright © 2024-present Bitrix24