Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

818 B
Raw Blame
import type { Meta, StoryObj } from "@storybook/nextjs";
import { AutopilotAvatar } from "./AutopilotAvatar";

const meta = {
  title: "Molecules/AutopilotAvatar",
  component: AutopilotAvatar,
  parameters: { layout: "centered" },
  tags: ["autodocs"],
} satisfies Meta<typeof AutopilotAvatar>;

export default meta;
type Story = StoryObj<typeof meta>;

export const Default: Story = {};

export const Transparent: Story = {
  args: { size: 120, transparent: true },
};

export const Sizes: Story = {
  render: function SizesStory() {
    return (
      <div className="flex items-center gap-4">
        {[18, 20, 24, 36].map((size) => (
          <AutopilotAvatar key={size} size={size} />
        ))}
      </div>
    );
  },
};

export const SquareChip: Story = {
  args: { size: 36, className: "rounded-xl" },
};