Back to blog

ShellUI v0.3.0-alpha.2 – Drawer/Sheet subcomponents & CLI registry fix

February 22, 2026 · Release · ShellUI

v0.3.0-alpha.2 fixes the CLI template registry so that Drawer and Sheet correctly ship with their compositional subcomponent pattern, and adds several new components introduced in alpha.1.

CLI registry fix

In alpha.1, shellui add drawer installed only the old v0.2.x Drawer.razor without any subcomponents. v0.3.0-alpha.2 fixes this: running shellui add drawer now auto-installs all four files:

  • Drawer.razor
  • DrawerVariants.cs
  • DrawerTrigger.razor
  • DrawerContent.razor

The same applies to shellui add sheet — installs Sheet, SheetVariants, SheetTrigger, and SheetContent automatically.

Compositional subcomponent pattern

Drawer and Sheet now use a cascading parameter pattern — no external open state field required. The trigger wires itself to the parent automatically:

<Drawer Side="DrawerSide.Bottom">
    <DrawerTrigger>
        <Button>Open Drawer</Button>
    </DrawerTrigger>
    <DrawerContent>
        <p>Content here.</p>
    </DrawerContent>
</Drawer>

Use @bind-Open when you need to control state externally, e.g. to close the drawer from a button inside the content.

New components in alpha.1+

  • Callout — Info, warning, tip, and danger admonition boxes
  • CopyButton — One-click clipboard copy
  • LinkCard — Card-style navigation links
  • PrevNextNav — Previous/Next page navigation
  • Sonner — Modern toast notifications (shadcn-style)
  • Stepper — Step-by-step wizard with value-based API

Compositional API upgrades

NavigationMenu, Tabs, Dropdown, Popover, Collapsible, and Accordion all received new subcomponent patterns alongside their existing APIs — both old and new usage styles are supported.

Install

# Install CLI (alpha)
dotnet tool install -g ShellUI.CLI --version 0.3.0-alpha.2

# Or upgrade from alpha.1
dotnet tool update -g ShellUI.CLI --version 0.3.0-alpha.2