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 { Button } from "@/components/ui/button";
import { Label } from "@/components/ui/label";
import { Textarea } from "@/components/ui/textarea";
export default {
title: "Textarea",
component: Textarea,
};
export const Default = {
render: () => <Textarea placeholder="Type your message here." />,
name: "Default",
};
export const Disabled = {
render: () => (
<Textarea placeholder="Type your message here." disabled={true} />
),
name: "Disabled",
};
export const WithLabel = {
render: () => (
<div className="grid w-full gap-1.5">
<Label htmlFor="message">Your message</Label>
<Textarea placeholder="Type your message here." id="message" />
</div>
),
name: "With Label",
};
export const WithText = {
render: () => (
<div className="grid w-full gap-1.5">
<Label htmlFor="message-2">Your Message</Label>
<Textarea placeholder="Type your message here." id="message-2" />
<p className="text-sm text-muted-foreground">
Your message will be copied to the support team.
</p>
</div>
),
name: "With Text",
};
export const WithButton = {
render: () => (
<div className="grid w-full gap-2">
<Textarea placeholder="Type your message here." />
<Button>Send message</Button>
</div>
),
name: "With Button",
};