{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "feature-bento",
  "title": "Feature Bento",
  "description": "A features section in three forms: an asymmetric grid of mixed cell sizes, alternating picture and text rows, or a list of features driving one large panel.",
  "dependencies": [
    "lucide-react",
    "motion"
  ],
  "registryDependencies": [
    "utils",
    "https://miseui.junsu4621.workers.dev/r/motion.json",
    "https://miseui.junsu4621.workers.dev/r/badge.json",
    "https://miseui.junsu4621.workers.dev/r/button.json",
    "https://miseui.junsu4621.workers.dev/r/card.json",
    "https://miseui.junsu4621.workers.dev/r/gooey-morph.json",
    "https://miseui.junsu4621.workers.dev/r/input.json",
    "https://miseui.junsu4621.workers.dev/r/materialize.json",
    "https://miseui.junsu4621.workers.dev/r/shimmer-text.json",
    "https://miseui.junsu4621.workers.dev/r/tabs.json",
    "https://miseui.junsu4621.workers.dev/r/thinking-orb.json"
  ],
  "files": [
    {
      "path": "registry/miseui/blocks/feature-bento.tsx",
      "content": "import { FeatureBentoGrid, type BentoFeature, type BentoSpan, type FeatureBentoSectionProps } from \"./feature-bento-grid\"\nimport { FeatureBentoRows } from \"./feature-bento-rows\"\nimport { FeatureBentoTabs } from \"./feature-bento-tabs\"\n\ntype FeatureBentoVariant = \"bento\" | \"rows\" | \"tabs\"\n\ninterface FeatureBentoProps extends FeatureBentoSectionProps {\n  /** `bento` cells of mixed size, `rows` alternating picture and text, `tabs` a list driving one large panel. */\n  variant?: FeatureBentoVariant\n  /** The feature open first on `tabs`. Defaults to the first one. */\n  defaultFeatureId?: string\n}\n\nfunction FeatureBento({ variant, defaultFeatureId, ...props }: FeatureBentoProps) {\n  switch (variant) {\n    case \"rows\":\n      return <FeatureBentoRows {...props} />\n    case \"tabs\":\n      return <FeatureBentoTabs defaultFeatureId={defaultFeatureId} {...props} />\n    default:\n      return <FeatureBentoGrid {...props} />\n  }\n}\n\nexport { FeatureBento, type BentoFeature, type BentoSpan, type FeatureBentoProps, type FeatureBentoVariant }\n",
      "type": "registry:component"
    },
    {
      "path": "registry/miseui/blocks/feature-bento-grid.tsx",
      "content": "import type * as React from \"react\"\nimport { cn } from \"@/registry/miseui/lib/utils\"\nimport { BeamVisual, MergeVisual, OrbVisual, SendVisual } from \"./feature-bento-parts\"\n\ntype BentoSpan = 2 | 3 | 4 | 6\n\ninterface BentoFeature {\n  id: string\n  /** Written as a sentence: the description runs straight on from it, one tone quieter. */\n  title: string\n  description: string\n  /** A live visual. Without one the cell is all type, set larger so it holds its share of the grid. */\n  visual?: React.ReactNode\n  /** Columns out of 6, on `bento`. Each row should add up to 6, or the grid leaves a hole. */\n  span?: BentoSpan\n  /** \"dark\" flips the theme's tokens inside the cell, on `bento`. One or two per grid set a rhythm; more just reads as a dark page. */\n  tone?: \"default\" | \"dark\"\n}\n\ninterface FeatureBentoSectionProps extends Omit<React.ComponentProps<\"section\">, \"title\"> {\n  title?: string\n  /** Continues the title in the same size, one tone quieter. */\n  titleQuiet?: string\n  /** One cell, row or tab per feature, in order. */\n  features?: readonly BentoFeature[]\n}\n\n/** Written out so the class names exist for the Tailwind scanner. */\nconst SPAN_CLASS: Record<BentoSpan, string> = {\n  2: \"@2xl:col-span-2\",\n  3: \"@2xl:col-span-3\",\n  4: \"@2xl:col-span-4\",\n  6: \"@2xl:col-span-6\",\n}\n\nconst DEFAULT_SPAN: BentoSpan = 3\n/** Tinted from the ink, and off in dark mode, where a light-tinted shadow would read as a glow. */\nconst SOFT_SHADOW_CLASS =\n  \"shadow-[0_1px_2px_color-mix(in_oklab,var(--foreground)_6%,transparent),0_16px_32px_-16px_color-mix(in_oklab,var(--foreground)_16%,transparent)] dark:shadow-none\"\n\nconst SAMPLE_FEATURES: readonly BentoFeature[] = [\n  {\n    id: \"after-the-call\",\n    title: \"Keeps working after you hang up.\",\n    description: \"The summary is finished by the time you are back at your desk, with no tab left open.\",\n    span: 4,\n    visual: <BeamVisual />,\n  },\n  {\n    id: \"ask\",\n    title: \"Ask the call anything.\",\n    description: \"You get the quote and the minute it was said.\",\n    span: 2,\n    tone: \"dark\",\n    visual: <OrbVisual />,\n  },\n  {\n    id: \"no-bot\",\n    title: \"No bot in the call.\",\n    description: \"It records from your own device.\",\n    span: 2,\n  },\n  {\n    id: \"threads\",\n    title: \"Five voices, one page.\",\n    description: \"Everyone's points merge into one record, and split back by speaker when you need to check who said it.\",\n    span: 4,\n    visual: <MergeVisual />,\n  },\n  {\n    id: \"send\",\n    title: \"Goes where the team already reads.\",\n    description: \"Email, chat or your tracker, whichever people actually open.\",\n    span: 6,\n    tone: \"dark\",\n    visual: <SendVisual />,\n  },\n]\n\nfunction BentoCell({ feature }: { feature: BentoFeature }) {\n  const { title, description, visual, span = DEFAULT_SPAN, tone = \"default\" } = feature\n  const dark = tone === \"dark\"\n  const wide = span === 6\n  return (\n    <li\n      data-slot=\"feature-bento-cell\"\n      data-span={span}\n      className={cn(\n        \"flex min-w-0 flex-col justify-between gap-6 rounded-2xl border p-6 @4xl:p-8\",\n        // The dark class flips the tokens on this element, but colour inherits as a value, so it has to be restated.\n        dark ? \"dark bg-card text-card-foreground\" : [\"bg-background dark:bg-card text-foreground\", SOFT_SHADOW_CLASS],\n        wide && \"@2xl:flex-row @2xl:items-center\",\n        SPAN_CLASS[span],\n      )}\n    >\n      {visual ? (\n        <div data-testid=\"feature-bento-visual\" className={cn(\"flex min-w-0 flex-1 items-center justify-center\", wide && \"@2xl:order-last\")}>\n          {visual}\n        </div>\n      ) : null}\n      {/* Inline, so one tone-split sentence reads as a single thought while the heading stays a real heading. */}\n      <div\n        data-testid=\"feature-bento-copy\"\n        className={cn(\"min-w-0 text-pretty\", visual ? \"text-[15px] leading-relaxed\" : \"text-display text-2xl @4xl:text-3xl\", wide && \"@2xl:flex-1\")}\n      >\n        <h3 className={cn(\"inline\", visual && \"font-medium\")}>{title}</h3> <p className=\"inline text-muted-foreground\">{description}</p>\n      </div>\n    </li>\n  )\n}\n\nfunction SectionTitle({ title, quiet }: { title: string; quiet?: string }) {\n  return (\n    <h2 className=\"max-w-2xl text-display text-3xl text-balance @2xl:text-4xl\">\n      {title} {quiet ? <span className=\"text-muted-foreground\">{quiet}</span> : null}\n    </h2>\n  )\n}\n\nfunction FeatureBentoGrid({\n  title = \"After you hang up.\",\n  titleQuiet = \"The notes take care of themselves.\",\n  features = SAMPLE_FEATURES,\n  className,\n  ...props\n}: FeatureBentoSectionProps) {\n  return (\n    <section data-slot=\"feature-bento\" data-variant=\"bento\" className={cn(\"@container w-full bg-muted dark:bg-background\", className)} {...props}>\n      <div className=\"mx-auto flex max-w-7xl flex-col gap-8 px-4 py-16 @2xl:gap-12 @2xl:px-8\">\n        <SectionTitle title={title} quiet={titleQuiet} />\n        {features.length > 0 ? (\n          <ul className=\"grid grid-cols-1 gap-4 @2xl:grid-cols-6\">\n            {features.map((feature) => (\n              <BentoCell key={feature.id} feature={feature} />\n            ))}\n          </ul>\n        ) : null}\n      </div>\n    </section>\n  )\n}\n\nexport { FeatureBentoGrid, SectionTitle, type BentoFeature, type BentoSpan, type FeatureBentoSectionProps }\n",
      "type": "registry:component"
    },
    {
      "path": "registry/miseui/blocks/feature-bento-panels.tsx",
      "content": "import type * as React from \"react\"\nimport { useState } from \"react\"\nimport { Check } from \"lucide-react\"\nimport { cn } from \"@/registry/miseui/lib/utils\"\nimport { Badge } from \"@/registry/miseui/ui/badge\"\nimport { Button } from \"@/registry/miseui/ui/button\"\nimport { Card } from \"@/registry/miseui/ui/card\"\nimport { GooeyMorph } from \"@/registry/miseui/ui/gooey-morph\"\nimport { Input } from \"@/registry/miseui/ui/input\"\nimport type { BentoFeature } from \"./feature-bento-grid\"\n\n/** Everything but the beam reads the accent from this, so the panels stay neutral and the beam stays the one accent. */\nconst NEUTRAL_ACCENT = { \"--mise\": \"var(--foreground)\" } as React.CSSProperties\nconst SURFACE_CLASS = \"w-full max-w-md gap-4 rounded-2xl bg-background p-4 shadow-none @2xl:p-6 dark:bg-muted\"\n\nconst OWNERS = [\n  { owner: \"Priya\", task: \"Send the revised tiers to sales\" },\n  { owner: \"Tomas\", task: \"Draft the customer email\" },\n  { owner: \"Wen\", task: \"Brief support on the January move\" },\n] as const\n\nconst SPEAKERS = [\n  { id: \"priya\", label: \"Priya\" },\n  { id: \"tomas\", label: \"Tomas\" },\n  { id: \"wen\", label: \"Wen\" },\n  { id: \"ada\", label: \"Ada\" },\n  { id: \"noor\", label: \"Noor\" },\n]\n\nconst DESTINATIONS = [\n  { id: \"email\", label: \"Email\", target: \"5 people\" },\n  { id: \"chat\", label: \"Chat\", target: \"#pricing\" },\n  { id: \"tracker\", label: \"Tracker\", target: \"3 tasks\" },\n] as const\n\nconst THREADS = [\n  { speaker: \"Priya\", point: \"Drop the $9 tier.\" },\n  { speaker: \"Tomas\", point: \"Move people to Starter in January.\" },\n  { speaker: \"Wen\", point: \"Tell support first.\" },\n] as const\n\nconst MERGED_RECORD = \"Drop the $9 tier, move people to Starter in January, and tell support first.\"\nconst DOT_PX = 24\nconst DOT_GAP_PX = 16\n\nfunction SummaryPanel() {\n  return (\n    <Card effect=\"beam\" className={SURFACE_CLASS}>\n      <div className=\"flex flex-wrap items-center justify-between gap-2 text-[13px]\">\n        <span>Pricing review</span>\n        <span className=\"text-muted-foreground\">Finished 2 min after the call</span>\n      </div>\n      <ul className=\"flex flex-col divide-y border-t\">\n        {OWNERS.map((item) => (\n          <li key={item.owner} className=\"flex items-center gap-3 py-2 text-[13px] leading-relaxed\">\n            <Badge variant=\"secondary\" className=\"font-normal\">\n              {item.owner}\n            </Badge>\n            <span className=\"min-w-0 flex-1 text-pretty\">{item.task}</span>\n          </li>\n        ))}\n      </ul>\n    </Card>\n  )\n}\n\n/** Read-only on purpose: this is the shape of the feature, and the block does not ship a search backend. */\nfunction AskPanel() {\n  return (\n    <Card className={SURFACE_CLASS}>\n      <Input readOnly tabIndex={-1} aria-label=\"Question asked of the call\" value=\"Who said January?\" className=\"bg-transparent\" />\n      <blockquote className=\"flex flex-col gap-2 border-t pt-4\">\n        <p className=\"text-[15px] leading-relaxed text-pretty\">We move everyone to Starter in January, not before.</p>\n        <footer className=\"text-[13px] text-muted-foreground\">Priya, at 14:02</footer>\n      </blockquote>\n    </Card>\n  )\n}\n\n/** Moves only when pressed: the merge is the point of the feature, so the person makes it happen. */\nfunction ThreadsPanel() {\n  const [merged, setMerged] = useState(false)\n  return (\n    <Card className={SURFACE_CLASS} style={NEUTRAL_ACCENT}>\n      <div className=\"flex flex-wrap items-center justify-between gap-4\">\n        <GooeyMorph items={SPEAKERS} merged={merged} size={DOT_PX} gap={DOT_GAP_PX} />\n        <Button variant=\"outline\" aria-pressed={merged} onClick={() => setMerged((current) => !current)} className=\"pointer-coarse:h-10\">\n          {merged ? \"Split by speaker\" : \"Merge the threads\"}\n        </Button>\n      </div>\n      {merged ? (\n        <p data-testid=\"merged-record\" className=\"border-t pt-4 text-[15px] leading-relaxed text-pretty\">\n          {MERGED_RECORD}\n        </p>\n      ) : (\n        <ul className=\"flex flex-col gap-2 border-t pt-4 text-[13px] leading-relaxed\">\n          {THREADS.map((thread) => (\n            <li key={thread.speaker} className=\"text-pretty\">\n              <span className=\"font-medium\">{thread.speaker}</span> <span className=\"text-muted-foreground\">{thread.point}</span>\n            </li>\n          ))}\n        </ul>\n      )}\n    </Card>\n  )\n}\n\nfunction SendPanel() {\n  const [sent, setSent] = useState(false)\n  return (\n    <Card className={SURFACE_CLASS}>\n      <ul className=\"flex flex-col divide-y\">\n        {DESTINATIONS.map((destination) => (\n          <li key={destination.id} className=\"flex items-center justify-between gap-3 py-2 text-[13px] leading-relaxed\">\n            <span>{destination.label}</span>\n            <span className=\"flex items-center gap-2 text-muted-foreground\">\n              {destination.target}\n              {sent ? <Check aria-label=\"Delivered\" className=\"size-4 text-foreground\" /> : null}\n            </span>\n          </li>\n        ))}\n      </ul>\n      <Button disabled={sent} onClick={() => setSent(true)} className=\"w-full pointer-coarse:h-10\">\n        {sent ? \"Sent to all three\" : \"Send the summary\"}\n      </Button>\n    </Card>\n  )\n}\n\nconst AFTER_THE_CALL: BentoFeature = {\n  id: \"after-the-call\",\n  title: \"Keeps working after you hang up.\",\n  description: \"The summary is finished by the time you are back at your desk, with no tab left open.\",\n  visual: <SummaryPanel />,\n}\nconst ASK: BentoFeature = {\n  id: \"ask\",\n  title: \"Ask the call anything.\",\n  description: \"You get the quote and the minute it was said.\",\n  visual: <AskPanel />,\n}\nconst THREADS_FEATURE: BentoFeature = {\n  id: \"threads\",\n  title: \"Five voices, one page.\",\n  description: \"Everyone's points merge into one record, and split back by speaker when you need to check who said it.\",\n  visual: <ThreadsPanel />,\n}\nconst SEND: BentoFeature = {\n  id: \"send\",\n  title: \"Goes where the team already reads.\",\n  description: \"Email, chat or your tracker, whichever people actually open.\",\n  visual: <SendPanel />,\n}\n\nconst ROW_FEATURES: readonly BentoFeature[] = [AFTER_THE_CALL, ASK, SEND]\nconst TAB_FEATURES: readonly BentoFeature[] = [AFTER_THE_CALL, ASK, THREADS_FEATURE, SEND]\n\n/** The rounded grey ground a picture sits on, so a small product piece reads as placed and not as lost in white. */\nfunction PanelPlate({ className, children }: { className?: string; children: React.ReactNode }) {\n  return <div className={cn(\"flex min-h-72 min-w-0 items-center justify-center rounded-2xl bg-muted p-4 @md:p-8 dark:bg-card\", className)}>{children}</div>\n}\n\nexport { PanelPlate, ROW_FEATURES, TAB_FEATURES }\n",
      "type": "registry:component"
    },
    {
      "path": "registry/miseui/blocks/feature-bento-parts.tsx",
      "content": "import type * as React from \"react\"\nimport { useState } from \"react\"\nimport { Check } from \"lucide-react\"\nimport { cn } from \"@/registry/miseui/lib/utils\"\nimport { Badge } from \"@/registry/miseui/ui/badge\"\nimport { Button } from \"@/registry/miseui/ui/button\"\nimport { Card, CardContent } from \"@/registry/miseui/ui/card\"\nimport { GooeyMorph } from \"@/registry/miseui/ui/gooey-morph\"\nimport { Input } from \"@/registry/miseui/ui/input\"\nimport { Materialize } from \"@/registry/miseui/ui/materialize\"\nimport { ShimmerText } from \"@/registry/miseui/ui/shimmer-text\"\nimport { ThinkingOrb } from \"@/registry/miseui/ui/thinking-orb\"\n\n/**\n * The accent lives in one place on this grid, the beam. Every other visual reads it from a variable, so\n * pointing the variable at the ink makes them neutral in all palettes and in both themes.\n */\nconst NEUTRAL_ACCENT = { \"--mise\": \"var(--foreground)\" } as React.CSSProperties\n\n/** Where WebGL2 is missing the button paints --mise, which here would add a second accent. Silver keeps it neutral. */\nconst SILVER_METAL = { \"--mise\": \"oklch(0.86 0.005 270)\" } as React.CSSProperties\n\n/** A small real control lying over a card. Tinted from the ink, and off in dark mode, where it would read as a glow. */\nconst CHIP_CLASS =\n  \"gap-2 bg-popover px-3 py-1 text-[13px] font-normal shadow-[0_8px_16px_-8px_color-mix(in_oklab,var(--foreground)_24%,transparent)] dark:shadow-none\"\n\nconst SPEAKERS = [\n  { id: \"priya\", label: \"Priya\" },\n  { id: \"tomas\", label: \"Tomas\" },\n  { id: \"wen\", label: \"Wen\" },\n  { id: \"ada\", label: \"Ada\" },\n  { id: \"noor\", label: \"Noor\" },\n]\n\nconst DOT_PX = 24\nconst DOT_GAP_PX = 16\nconst ORB_PX = 56\n\n/** A decisions card peeks from behind the working card, and a status chip lies over its corner. */\nfunction BeamVisual() {\n  return (\n    <div className=\"relative isolate w-full pt-8 pb-4\">\n      <Card\n        aria-hidden=\"true\"\n        data-testid=\"bento-back-card\"\n        className=\"absolute top-0 right-8 -z-10 h-20 w-1/2 flex-row justify-between gap-3 rounded-2xl bg-muted p-3 text-[13px] text-muted-foreground shadow-none\"\n      >\n        <span>Decisions</span>\n        <span>3</span>\n      </Card>\n      <Card effect=\"beam\" className=\"w-full gap-3 rounded-2xl bg-card py-4 shadow-none\">\n        <CardContent className=\"flex items-center justify-between gap-4 px-4 text-[13px]\">\n          <ShimmerText>Writing the summary</ShimmerText>\n          <span className=\"shrink-0 text-muted-foreground\">Pricing review</span>\n        </CardContent>\n        <CardContent className=\"flex items-center gap-2 px-4 pb-4 text-[13px] text-muted-foreground\">\n          <Check aria-hidden=\"true\" className=\"size-4 shrink-0\" /> Transcribed 38 minutes\n        </CardContent>\n      </Card>\n      <Badge variant=\"outline\" className={cn(CHIP_CLASS, \"absolute bottom-0 left-4\")}>\n        <Check />4 owners found\n      </Badge>\n    </div>\n  )\n}\n\n/** Read-only on purpose: this is the shape of the feature, and the block does not ship a search backend. */\nfunction OrbVisual() {\n  return (\n    <div className=\"flex w-full flex-col items-center pb-4\" style={NEUTRAL_ACCENT}>\n      <ThinkingOrb state=\"thinking\" size={ORB_PX} label=\"Looking through the call\" />\n      <div className=\"relative -mt-2 w-full\">\n        <Input readOnly tabIndex={-1} aria-label=\"Question asked of the call\" value=\"Who said January?\" className=\"bg-background dark:bg-card\" />\n        <Badge variant=\"outline\" className={cn(CHIP_CLASS, \"absolute top-full right-2 -translate-y-1/2\")}>\n          Priya, 14:02\n        </Badge>\n      </div>\n    </div>\n  )\n}\n\n/** Moves only when pressed, so it does not count against the cap on effects running at once. */\nfunction MergeVisual() {\n  const [merged, setMerged] = useState(false)\n  return (\n    <div className=\"relative w-full pt-3\" style={NEUTRAL_ACCENT}>\n      <Card className=\"w-full flex-row flex-wrap items-center justify-between gap-4 rounded-2xl p-4 shadow-none\">\n        <GooeyMorph items={SPEAKERS} merged={merged} size={DOT_PX} gap={DOT_GAP_PX} />\n        <Button variant=\"outline\" size=\"sm\" aria-pressed={merged} onClick={() => setMerged((current) => !current)}>\n          {merged ? \"Split by speaker\" : \"Merge the threads\"}\n        </Button>\n      </Card>\n      <Badge variant=\"outline\" className={cn(CHIP_CLASS, \"absolute top-0 right-4\")}>\n        {merged ? \"1 record\" : \"5 speakers\"}\n      </Badge>\n    </div>\n  )\n}\n\nfunction SendVisual() {\n  const [sent, setSent] = useState(false)\n  return (\n    <div className=\"relative w-full pb-4\">\n      <Card className=\"flex-row flex-wrap items-center justify-between gap-4 rounded-2xl bg-background dark:bg-card p-3 pl-4 shadow-none\">\n        <span className=\"text-[13px] text-muted-foreground\">Pricing review summary</span>\n        <div style={SILVER_METAL}>\n          <Button effect=\"liquid\" onClick={() => setSent(true)}>\n            {sent ? \"Sent to #pricing\" : \"Send to #pricing\"}\n          </Button>\n        </div>\n      </Card>\n      <Materialize show={sent} origin=\"0% 100%\" className=\"absolute bottom-0 left-4\">\n        <Badge variant=\"outline\" className={CHIP_CLASS}>\n          <Check />\n          Delivered to 5 people\n        </Badge>\n      </Materialize>\n    </div>\n  )\n}\n\nexport { BeamVisual, MergeVisual, OrbVisual, SendVisual }\n",
      "type": "registry:component"
    },
    {
      "path": "registry/miseui/blocks/feature-bento-rows.tsx",
      "content": "import { cn } from \"@/registry/miseui/lib/utils\"\nimport { SectionTitle, type BentoFeature, type FeatureBentoSectionProps } from \"./feature-bento-grid\"\nimport { PanelPlate, ROW_FEATURES } from \"./feature-bento-panels\"\n\nfunction FeatureRow({ feature, flipped }: { feature: BentoFeature; flipped: boolean }) {\n  return (\n    <li data-slot=\"feature-bento-row\" className=\"grid grid-cols-[minmax(0,1fr)] items-center gap-6 @3xl:grid-cols-2 @3xl:gap-12\">\n      {/* Inline, so one tone-split sentence reads as a single thought while the heading stays a real heading. */}\n      <div data-testid=\"feature-bento-copy\" className={cn(\"text-display min-w-0 max-w-md text-2xl leading-[1.12]! text-pretty @4xl:text-3xl\", !feature.visual && \"@3xl:col-span-2\")}>\n        <h3 className=\"inline\">{feature.title}</h3> <p className=\"inline text-muted-foreground\">{feature.description}</p>\n      </div>\n      {feature.visual ? (\n        // The order flips only side by side: stacked, text comes first on every row, so the eye keeps one path down the page.\n        <PanelPlate className={cn(flipped && \"@3xl:order-first\")}>{feature.visual}</PanelPlate>\n      ) : null}\n    </li>\n  )\n}\n\nfunction FeatureBentoRows({\n  title = \"After you hang up.\",\n  titleQuiet = \"The notes take care of themselves.\",\n  features = ROW_FEATURES,\n  className,\n  ...props\n}: FeatureBentoSectionProps) {\n  return (\n    <section data-slot=\"feature-bento\" data-variant=\"rows\" className={cn(\"@container w-full bg-background pointer-coarse:[&_input]:h-10\", className)} {...props}>\n      <div className=\"mx-auto flex max-w-6xl flex-col gap-12 px-4 py-16 @2xl:px-8\">\n        <SectionTitle title={title} quiet={titleQuiet} />\n        {features.length > 0 ? (\n          <ul className=\"flex flex-col gap-12\">\n            {features.map((feature, index) => (\n              <FeatureRow key={feature.id} feature={feature} flipped={index % 2 === 1} />\n            ))}\n          </ul>\n        ) : null}\n      </div>\n    </section>\n  )\n}\n\nexport { FeatureBentoRows }\n",
      "type": "registry:component"
    },
    {
      "path": "registry/miseui/blocks/feature-bento-tabs.tsx",
      "content": "import { motion, useReducedMotion } from \"motion/react\"\nimport { SPRING_DEFAULT } from \"@/registry/miseui/lib/motion\"\nimport { cn } from \"@/registry/miseui/lib/utils\"\nimport { Tabs, TabsContent, TabsList, TabsTrigger } from \"@/registry/miseui/ui/tabs\"\nimport { SectionTitle, type BentoFeature, type FeatureBentoSectionProps } from \"./feature-bento-grid\"\nimport { PanelPlate, TAB_FEATURES } from \"./feature-bento-panels\"\n\nconst PANEL_START = { opacity: 0, y: 8 }\nconst PANEL_END = { opacity: 1, y: 0 }\n\nfunction FeatureTab({ feature }: { feature: BentoFeature }) {\n  return (\n    <TabsTrigger\n      value={feature.id}\n      className=\"group h-auto min-h-10 w-full flex-none flex-col items-start gap-1 rounded-xl p-4 text-start whitespace-normal data-[state=active]:bg-muted data-[state=active]:shadow-none dark:data-[state=active]:bg-card\"\n    >\n      <span className=\"text-[15px] leading-snug font-medium\">{feature.title}</span>\n      {/* Only the open one says more: the list stays short enough to read as a choice. */}\n      <span className=\"hidden text-[13px] leading-relaxed font-normal text-pretty text-muted-foreground group-data-[state=active]:block\">{feature.description}</span>\n    </TabsTrigger>\n  )\n}\n\n/** Renders only when opened, which is what plays the entrance, and means a closed panel's effects are not running. */\nfunction FeaturePanel({ feature }: { feature: BentoFeature }) {\n  const reduceMotion = useReducedMotion()\n  return (\n    <TabsContent value={feature.id} className=\"w-full min-w-0 rounded-xl focus-visible:ring-[3px] focus-visible:ring-ring/50\">\n      <motion.div\n        className=\"flex w-full justify-center\"\n        initial={reduceMotion ? false : PANEL_START}\n        animate={PANEL_END}\n        transition={SPRING_DEFAULT}\n      >\n        {feature.visual ?? <p className=\"text-display max-w-md text-2xl leading-[1.12]! text-pretty\">{feature.description}</p>}\n      </motion.div>\n    </TabsContent>\n  )\n}\n\nfunction FeatureBentoTabs({\n  title = \"After you hang up.\",\n  titleQuiet = \"The notes take care of themselves.\",\n  features = TAB_FEATURES,\n  defaultFeatureId,\n  className,\n  ...props\n}: FeatureBentoSectionProps & { defaultFeatureId?: string }) {\n  return (\n    <section data-slot=\"feature-bento\" data-variant=\"tabs\" className={cn(\"@container w-full bg-background pointer-coarse:[&_input]:h-10\", className)} {...props}>\n      <div className=\"mx-auto flex max-w-6xl flex-col gap-8 px-4 py-16 @2xl:gap-12 @2xl:px-8\">\n        <SectionTitle title={title} quiet={titleQuiet} />\n        {features.length > 0 ? (\n          <Tabs\n            defaultValue={defaultFeatureId ?? features[0].id}\n            orientation=\"vertical\"\n            className=\"grid grid-cols-[minmax(0,1fr)] gap-4 @3xl:grid-cols-[minmax(0,2fr)_minmax(0,3fr)] @3xl:gap-8\"\n          >\n            <TabsList aria-label=\"Features\" className=\"h-auto w-full flex-col items-stretch gap-1 rounded-none bg-transparent p-0\">\n              {features.map((feature) => (\n                <FeatureTab key={feature.id} feature={feature} />\n              ))}\n            </TabsList>\n            {/* Above the list while stacked: the thumb is on the list, and the change has to happen where the eye can see it. */}\n            <PanelPlate className=\"order-first min-h-80 @3xl:order-none @3xl:min-h-96\">\n              {features.map((feature) => (\n                <FeaturePanel key={feature.id} feature={feature} />\n              ))}\n            </PanelPlate>\n          </Tabs>\n        ) : null}\n      </div>\n    </section>\n  )\n}\n\nexport { FeatureBentoTabs }\n",
      "type": "registry:component"
    }
  ],
  "categories": [
    "blocks"
  ],
  "type": "registry:block"
}