$schema: https://git.drupalcode.org/project/drupal/-/raw/HEAD/core/assets/schemas/v1/metadata.schema.json
name: Navbar
status: experimental
description: Navbar component
props:
  type: object
  properties:
    container:
      type: string
      title: Container
      description: container type
      default: ''
      enum:
        - ''
        - no-container
        - container
        - container-md
        - container-lg
        - container-xl
        - container-xxl
        - container-fluid
    color_mode:
      type: string
      title: Color mode
      description: The default color mode for the navigation bar.
      default: ''
      enum:
        - ''
        - light
        - dark
    color:
      type: string
      title: Color
      description: The default color for the navigation bar
      default: ''
      enum:
        - transparent
        - light
        - dark
        - black
        - white
        - primary
        - secondary
        - success
        - danger
        - warning
        - info
    placement:
      type: string
      title: Placement
      description: Placement
      default: ''
      enum:
        - ''
        - fixed-top
        - fixed-bottom
        - sticky-top
    navbar_expand:
      type: string
      title: Expand
      description: Expanded navbar
      default: ''
      enum:
        - ''
        - sm
        - md
        - lg
        - xl
    navbar_utility_classes:
      type: array
      title: Utility Classes
      default: []
      items:
        type: 'string'
      description: An array of utility classes that can be used to add extra Bootstrap utility classes or custom classes to this component.
    attributes:
      type: object
      title: Attributes
      description: HTML attributes for the containing element.
      $ref: 'ui-patterns://attributes'
slots:
  branding:
    title: Branding
    description: Site branding.
  navigation:
    title: Navigation
    description: site navigation.
libraryOverrides:
  dependencies:
    - vartheme_bs5/bs-dropdown-script
    - core/components.vartheme_bs5--navbar-brand
