A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.
Python artificial-intelligencedagdata-sciencedata-visualizationdataflowdeveloper-toolsmachine-learningnotebookspipelinepythonreactivesqlweb-app
/* Copyright 2026 Marimo. All rights reserved. */
import { useAtomValue } from "jotai";
import React from "react";
import { kioskModeAtom } from "@/core/mode";
interface Props {
children: React.ReactNode;
}
export const HideInKioskMode: React.FC<Props> = ({ children }) => {
const kioskMode = useAtomValue(kioskModeAtom);
if (kioskMode) {
return null;
}
return children;
};
export const ShowInKioskMode: React.FC<Props> = ({ children }) => {
const kioskMode = useAtomValue(kioskModeAtom);
if (kioskMode) {
return children;
}
return null;
};