FieldGroup

GitHub
Group related fields together for comprehensive API documentation.

Usage

Group fields together in a list.

Default to false - Enables analytics for your project (coming soon).

Default to false - Enables blob storage to store static assets, such as images, videos and more.

Default to false - Enables cache storage to cache your server route responses or functions using Nitro's cachedEventHandler and cachedFunction

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({
  ui: {
    prose: {
      fieldGroup: {
        base: 'my-5 divide-y divide-default *:not-last:pb-5'
      }
    }
  }
})
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: {
          fieldGroup: {
            base: 'my-5 divide-y divide-default *:not-last:pb-5'
          }
        }
      }
    })
  ]
})

Changelog

a9fe7 — fix: add missing data-orientation for consistency

a0963 — feat!: rename from ButtonGroup (#4596)