Skip to content

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.

1000 B
Raw Blame
/* Copyright 2026 Marimo. All rights reserved. */
import { NativeSelect } from "@/components/ui/native-select";

export default {
  title: "NativeSelect",
  component: NativeSelect,
};

export const ShortOptions = {
  render: () => (
    <NativeSelect>
      <option>--</option>
      <option>a</option>
      <option>b</option>
      <option>c</option>
      <option>d</option>
    </NativeSelect>
  ),

  name: "Short Options",
};

export const OneLongOption = {
  render: () => (
    <NativeSelect>
      <option>--</option>
      <option>a</option>
      <option>b</option>
      <option>c</option>
      <option>defgh</option>
    </NativeSelect>
  ),

  name: "One long option",
};

export const OneReallyLongOption = {
  render: () => (
    <NativeSelect>
      <option>--</option>
      <option>a</option>
      <option>b</option>
      <option>c</option>
      <option>a really long option this is a really long option</option>
    </NativeSelect>
  ),

  name: "One really long option",
};