components / Variable

injectFlowbiteNavbarState

No documentation has been provided.

Presentation

const injectFlowbiteNavbarState: <
  U = {
    readonly config: FlowbiteNavbarConfig;
    readonly fixed: InputSignalWithTransform<boolean, BooleanInput>;
    readonly open: InputSignalWithTransform<boolean, BooleanInput>;
    readonly color: InputSignal<keyof FlowbiteNavbarColors>;
    readonly customTheme: InputSignal<{
      host?:
        | {
            base?: string | undefined;
            transition?: string | undefined;
            fixed?:
              | { off?: string | undefined; on?: string | undefined }
              | undefined;
            color?:
              | {
                  [x: string]:
                    | { light?: string | undefined; dark?: string | undefined }
                    | undefined;
                  warning?:
                    | { light?: string | undefined; dark?: string | undefined }
                    | undefined;
                  default?:
                    | { light?: string | undefined; dark?: string | undefined }
                    | undefined;
                  info?:
                    | { light?: string | undefined; dark?: string | undefined }
                    | undefined;
                  failure?:
                    | { light?: string | undefined; dark?: string | undefined }
                    | undefined;
                  success?:
                    | { light?: string | undefined; dark?: string | undefined }
                    | undefined;
                  primary?:
                    | { light?: string | undefined; dark?: string | undefined }
                    | undefined;
                }
              | undefined;
          }
        | undefined;
      container?:
        | { base?: string | undefined; transition?: string | undefined }
        | undefined;
    }>;
    readonly theme: Signal<{
      host: { root: string };
      container: { root: string };
    }>;
    readonly state: CreatedState<Navbar>;
    toggle: (newState?: boolean | undefined) => void;
  },
>(
  injectOptions?: InjectOptions | undefined,
) => Signal<State<U>>;
Flowbite Logo Flowbite

© 2019-2025 Flowbite™ is a registered trademark. All Rights Reserved.