/shiny:shiny-controlsfrom shiny
Generate UI for .NET MAUI (Shiny.Maui.Controls) and Blazor (Shiny.Blazor.Controls) - includes TableView with 14 cell types, TreeView with lazy loading, drag/drop reorder (above/below/into), configurable expand/collapse icons, and opt-in virtualization for huge trees (IsVirtualized/Virtualize + fixed RowHeight), FloatingPanel/OverlayHost/ShinyContentPage (bottom/top overlay panels) with detents and header peek, DurationPicker (duration picker with FloatingPanel), FrostedGlassView (native blur/glass effect), Toast service (code-invoked toast notifications with queue/stack/replace, auto-dismiss, spinner, progress bar, pill/fill/snackbar modes, plus SnackbarAsync with an action button that returns why it closed and LoadingSnackbarAsync with a top-edge progress line), PillView status badges, Keyboard Shortcuts (in-app shortcuts on a page/view/modal on both hosts - Primary = ⌘/Ctrl, chords like Ctrl+K, Ctrl+C, repeat, push-to-talk release, cheat-sheet API), ButtonGroup (related buttons joined into one segmented control, with an opt-in single/multiple selection mode, split-button separators and static text segments), TagEntry (free-text tags committed as removable chips, with delimiters, limits, duplicate rules and validation), ChipGroup (a bound set of chips on both hosts - one per item in ItemsSource, single/multiple/none selection, and the selection is the items themselves rather than an index; wraps, optional removal, templated labels), ShinyFlexLayout (MAUI - a fast replacement for FlexLayout with the same Microsoft.Maui.Layouts enums and attached Grow/Shrink/Basis/AlignSelf/Order, plus RowSpacing/ColumnSpacing gaps; caches child measurements so a same-size pass measures nothing and one changed child re-measures only itself), BadgeView (content-wrapping corner badge with text/dot/count overflow and pulse), NotchView (Dynamic Island / camera-notch surface on both hosts that morphs to fit any content, plus a Desktop window that floats it over every app at the top of the screen on Windows, Linux and macOS and grows it out of the MacBook camera notch), Avatar and AvatarGroup (picture → initials → silhouette with a presence dot and a stable colour per name; an overlapping facepile that collapses past Max into a +N chip), ShinyImage (remote image loading on both hosts — placeholder artwork, a loading ring that fills to a real percentage when the response carries a Content-Length and spins when it does not or when the request is still queued, error artwork, and full LoadingTemplate/ErrorTemplate overrides; on MAUI an IImageService owns memory + disk caching with LRU trimming and expiry, a bounded download queue, and de-duplication of concurrent requests for the same URI, with a replaceable IImageDownloader for authenticated images and ClearCacheAsync/GetCacheSizeAsync/PrefetchAsync for cache management, and MAUI additionally renders SVG as vectors rather than a rasterized bitmap - loaded from an embedded resource via resource://, a file path, a bundled asset, a data: URI or a remote URL, with the format detected from the payload rather than the extension, parsed documents shared through an LRU SvgCache so a list showing one icon parses it once, and SvgTintColor resolving currentColor per placement; on Blazor the image is streamed through fetch for genuine progress with an automatic plain-img fallback when CORS blocks it, and caching is left to the browser), ImageViewer with pinch/pan/double-tap zoom, ImageEditor with crop/rotate/draw/text/undo/redo/export, ChatView with bubbles/typing/load-more/input-bar and custom MessageTemplate/MessageTemplateSelector for per-message rendering, SecurityPin entry, PasswordStrength (both hosts, core packages - a password field built on TextEntry with a live segmented-or-bar strength meter, a rule checklist and a Show/Hide toggle; the defaults are passphrase-first per NIST SP 800-63B - fifteen characters, commonly breached values refused, and every character-composition rule off - and the property to gate a submit button on is IsAcceptable, not Score, because a long passphrase can score 100 and still fail a policy that demands a digit; it also estimates a time to crack against a configurable guesses-per-second attacker, shown via ShowTimeToCrack and enforceable as policy with MinimumTimeToCrack (e.g. a century); scoring goes through a pluggable async IPasswordStrengthEvaluator so zxcvbn or an HIBP k-anonymity range query can replace the built-in entropy heuristic, with keystroke debouncing, cancellation of the superseded evaluation, and a fall back to the built-in scorer if a custom one throws), ShinyButton (stateful button on both hosts with Normal/Busy/Success/Error states, per-state text and icons, an auto-revert delay, three busy modes (ReplaceLeftIcon/ReplaceContent/KeepContent), leading and trailing icon slots that each take an ImageSource, a motion-icon name, or an arbitrary view, and Appearance × Type styling (Filled/Tonal/Outlined/Text/Elevated × Primary/Secondary/Success/Warning/Critical/Info) resolved from the theme tokens; on MAUI it follows its Command's CanExecute through IsEnabledCore — so an explicitly disabled button stays disabled — and drives its own busy state while an async command runs, with no IsBusy binding needed; on Blazor the equivalent is that Clicked is awaited), Fab and FabMenu (floating action button and expanding action menu), Scheduler views (calendar grid, agenda timeline, event list), Markdown controls (MarkdownView renderer, MarkdownEditor with toolbar), Barcodes & QR codes (separate Shiny.Maui.Controls.Barcodes / Shiny.Blazor.Controls.Barcodes packages — BarcodeView and QRCodeView with 13 symbologies including QR, Aztec, Data Matrix, PDF417, Code 128/39/93, Codabar, EAN-8/13, UPC-A/E, ITF — pure-managed ZXing.Net renderer, PNG output via built-in encoder on MAUI, SVG or PNG data-URI on Blazor, with a static BarcodeRenderer for raw bytes / SVG / data-URI from code), CameraView (separate Shiny.Maui.Controls.Camera / Shiny.Blazor.Controls.Camera packages — cross-platform camera preview on iOS, Android, Windows, macOS AppKit, and Blazor WASM with zoom, torch, lens/device selection, photo + video capture, live video for calls (MAUI VideoEncoder analyzer emitting JPEG or Annex B H.264 EncodedVideoFrames, and a RemoteVideoView that decodes and draws the other side with key-frame gating), and live color filters (Mono/Noir/Sepia/Vivid/Cool/Warm/Fade/Chrome/Instant/Tonal) applied to the live preview and captured photos; a pluggable IFrameAnalyzer pipeline where each analyzer raises its own strongly-typed event (or bindable Command), can be declared right in XAML, added/removed live or toggled on/off via IsEnabled, and draws styled OverlayBoxes via the built-in CameraOverlayView; modular analyzer add-ons Shiny.Maui.Controls.Analysis.Barcode/.Face/.Motion/.Ocr/.Documents scan barcodes (BarcodeAnalyzer Mode="LongRange" for codes across a room - locate-then-decode, a blur-tolerant managed 1D decoder down to about a pixel per module, enlarged native crops for 2D, frame tracking and opt-in AutoZoom; it raises CameraView.AnalysisResolution to FullHd itself), detect faces and motion (a box per distinct moving region), run OCR, and extract structured documents — invoices with order lines, AAMVA driver's licenses, health cards, credit cards (brand via IIN+Luhn), and passports (deterministic MRZ) each as their own analyzer returning a strong record with nullable fields + a typed event; registered with .UseShinyCamera(); both hosts get an injectable IMediaService (Blazor: AddShinyMediaService() plus one <MediaHost /> in the layout, with ScanBarcode(s)Async, ScanDocumentImage(s)Async and AI ScanDocumentAsync via Camera.Ai; no OCR/face/per-document verbs) that presents Shiny's own modal CameraView page - camera/gallery permissions, TakePhotoAsync/RecordVideoAsync, gallery picking, programmatic compression rate/max dimension/output format with app-wide defaults, zoom limits (Zoom, MaxZoom ceiling, AllowZoom), and Scan verbs the analyzer add-ons contribute (ScanBarcodeAsync/ScanBarcodesAsync, ScanTextAsync, ScanCreditCardAsync, ScanDriversLicenseAsync, ScanPassportAsync, ScanHealthCardAsync, ScanReceiptAsync, ScanInvoiceAsync, ScanBusinessCardAsync, DetectFacesAsync) each in a singular Task<T?> form and a plural IAsyncEnumerable<T> streaming form with optional duplicate filtering; a scan modal has no capture button, the modal's chrome is drawn vector icons so it ships no localizable strings, and there is no Blazor equivalent), MediaElement (separate Shiny.Maui.Controls.MediaElement / Shiny.Blazor.Controls.MediaElement packages plus Shiny.Maui.Controls.MediaElement.Linux for GTK4 — local and remote audio/video on iOS, Android, Windows, macOS AppKit, Linux GTK4 and Blazor with a Shiny-drawn transport bar whose play/pause, seek scrubber, volume and fullscreen pieces each toggle independently, Play/Pause/Stop/Seek/Mute commands (methods on Blazor), background audio with OS lock-screen controls, and Picture-in-Picture), AutoCompleteEntry with debounced search and dropdown suggestions, CountryPicker with flag/dial code, AddressEntry with geocoding, SignaturePad for capturing signatures with canvas drawing and PNG export, SignatureView (the same signature surface inline on any page), Resizable panel groups (draggable handles, collapsible and nested panels), TextEntry with animated floating placeholder/customizable border/tool slots/validation hints/character count, Slider with two-color gradient track and blended thumb, ProgressBar with gradient fill and Vista-style shimmer pulse sweep, Gauge (speedometer/tachometer dial whose needle springs, overshoots and settles like a real instrument, with ranges/redline, peak hold and an ignition sweep), ParallaxCollectionView (MAUI) / ParallaxList (Blazor) — a scrollable list with a hero header that translates at a configurable fraction of the scroll offset, with optional collapse-to-sticky and fade, Overlay/LoadingOverlay (full-screen overlay with configurable color/opacity, custom content template, and built-in loading mode with indeterminate spinner or determinate progress bar), Expander and Accordion (both hosts, core packages - a disclosure panel whose Fade/Slide/Height reveals are flags that combine, aimed at any of the four edges via SlideFrom, opening down or up, with cancelable Expanding/Collapsing, lazy content and a rotating or swapping indicator; Accordion stacks them with Single/Multiple selection, AllowCollapseAll, a two-way ExpandedIndex, and motion/chrome properties that seed every item that did not set them itself), SkeletonView (content-wrapping skeleton loader that shows animated shimmer placeholders while IsBusy is true, with built-in line placeholders or a custom placeholder template), SplashScreen (Blazor-only pre-boot loading splash - static index.html markup plus a classic splash.js global that paints before Blazor starts, driven afterwards by ISplashScreen/SplashScreenHost for status, progress and the handoff; customizable via data attributes, a show() config, or your own markup), Desktop add-on (separate Shiny.Maui.Controls.Desktop package) combining Tray Icon (cross-platform system tray / status-bar icon with context menus — including coloured pills after a label and live-updating progress rows for usage meters — click events, tooltips, and dynamic visibility on Windows/macOS AppKit/MacCatalyst/Linux) and Docking (Visual-Studio-style dockable tool windows, tabbed groups, splitters, auto-hide rails, and tear-off floating windows), On-Screen Keyboard (Blazor only, in the main Shiny.Blazor.Controls package - a touch / kiosk US-QWERTY soft keyboard with a symbols layer, bottom-docked auto-show on focus, momentary Shift and sticky Caps Lock, auto-repeat, caret-aware arrows, and the crucial property that tapping a key never takes the caret off the field; the MAUI half is planned but NOT implemented, so never emit UseOnScreenKeyboard / IOnScreenKeyboard); Blazor's docking and on-screen keyboard both ship in the main Shiny.Blazor.Controls package - there is no Blazor add-on, Keyframe animation (MAUI-only Shiny.Maui.Controls.Keyframe package — declarative CSS-@keyframes-style XAML timelines via the kf:Animate.Keyframes attached property with Keyframes/Track/Key, named + CSS-function easing including cubic-bezier/steps/spring, a fluent C# TimelineBuilder and composable Storyboard with Add/Then/With/Stagger, and a seekable/reversible Player — evaluation is a pure function of time so animations scrub from a Slider or gesture, reverse mid-flight, and export deterministically, which MAUI's own fire-and-forget Animation.Commit cannot do; an AOT-safe hand-registered AnimatableProperties registry, KeyframeView rendering a KeyframeScene layer tree to a canvas with two-way bindable Progress, and an optional Shiny.Maui.Controls.Keyframe.Export package for headless deterministic frame export and GIF encoding), Motion Icons (111 animated icons in the core packages on both hosts - MotionIconView on MAUI and <MotionIcon> on Blazor - triggered by timer/hover/press/appear/command, each with hand-drawn motion plus generic presets (Pulse/Beat/Spin/Shake/Wobble/Bounce/Float/Pop/Tada/Flip/Swing/Blink/Draw/Nudge/Jiggle) that also work on your own path data; one shared MotionSpec compiled to a drawn GraphicsView on MAUI and to CSS @keyframes on Blazor), ModalView (Blazor only, core package - a modal window with an optional title-or-template header, an optional built-in-or-custom close button, a content template and a footer of ModalButtons or your own markup; two-way IsOpen with Opened/cancellable Closing/Closed(reason) events, five sizes, three placements, six animations, a blurrable backdrop, and optional drag/resize/maximize; focus trap, scroll lock, focus restore, aria-modal and modal stacking are built in; the MAUI equivalent is FloatingPanel or the dialog service, never emit ModalView in XAML), StateView and Wizard (both hosts, core packages - StateView switches between named branches from one string with Fade/Slide/Scale transitions and lazy per-branch content; Wizard builds a multi-step flow on it with a drawn pointed-chevron progress bar (or dots/bar/your own), per-step validity gates (IsValid/IsOptional/ValidateCommand/async Validate/cancellable StepChanging), conditional steps that drop out of the run when IsVisible is false, built-in Next/Back/Finish/Cancel commands, and a cancellable Finish), Walkthrough and Tooltip (both hosts, core packages - Walkthrough is a guided tour that dims the page and cuts an animated spotlight around one control at a time, with steps declared together in order on the control rather than attached to each element, four displays (Popover/Tooltip/Inline/Spotlight) or your own template, per-step in/out animations, conditional steps via IsVisible, a RememberRunKey so onboarding runs once, and three ways to advance - the Next command, tapping the highlighted control itself, or a dwell timer; Tooltip is the bubble underneath it, wrapping its target or pointing at one by reference/selector, with auto-flipping placement, a tail that slides to keep pointing after clamping, hover/tap/long-press/focus triggers, and IsOpen (never IsVisible, which is VisualElement's) for binding), Layout (Blazor only - VStack/HStack flexbox stacks, a responsive 12-column Grid/Row/Column whose per-breakpoint spans cascade upwards, and an AppLayout application shell of header/footer/left+right panels placed by CSS grid areas, where each panel cycles hidden -> toolbar rail -> shown, drag-resizes between a min and max, keeps its own scroll region, takes configurable borders, auto-compacts to a scrimmed drawer under a breakpoint measured on the shell, and can persist its state and width), Flyout (MAUI only, core package - a side panel that slides in from either edge, rests as a narrow icon rail instead of a full panel, and either pushes the content aside or floats over it with a scrim; FlyoutPanel/FlyoutView/ShinyFlyoutPage replace FlyoutPage and also work inside Shell, ShinyFlyout.StartTemplate/EndTemplate install one over every page a Shell or NavigationPage shows, and IFlyoutService drives whichever flyout is on the page currently showing; the Blazor equivalent is AppLayoutPanel), TabbedPage (MAUI only, core package - an improved TabbedPage: ShinyTabbedPage hosts tabs whose content is built on first selection and cached, with motion icons, per-tab badges, a direction-aware transition between tabs, and a raised centre button that presents the current page's actions declared as ShinyTabs.Actions the way ToolbarItems are; a ContentTemplate may inflate a whole ContentPage, which is adopted but gets no OnAppearing - implement ITabAware instead; ShinyTabBarBehavior drops the same bar onto a Shell, keeping routes, deep links and per-tab navigation stacks; the Blazor ShinyTabBar component is a different, simpler control), NavigationPage (MAUI only, core package - ShinyNavigationPage is a NavigationPage subclass, so PushAsync/PopAsync/PopToRootAsync/InsertPageBefore/RemovePage, the modal stack, page lifecycle, Android hardware back and Pushed/Popped/PoppedToRoot all keep working; what it adds is toolbar items on the LEFT as well as the right, which no native bar has room for - that slot is the back button's on every platform and AppKit/GTK4 have no bar at all - so the native bar is hidden and a drawn ShinyNavBar replaces it, giving the same left/right items, overflow menu, badges, motion icons and collapsing large title on every head; items are declared on the page as ShinyNav.LeftItems/RightItems holding NavBarItem, which derives from ToolbarItem so an existing toolbar moves over unchanged and a page's own Page.ToolbarItems render on the right automatically; Order=Secondary and anything past MaxVisibleItems fold into an overflow menu; MAUI's own SetHasBackButton/SetBackButtonTitle/SetTitleView/SetTitleIconImageSource/SetIconColor and the Bar* colours are all honoured, with SetHasNavigationBar read only as the starting value because that is the property the class takes over - ShinyNav.IsNavBarVisible is the runtime switch), Page Transitions (both hosts, core packages - per-page navigation transitions set on the page (MAUI PageTransition.Push/Pop/Direction attached properties, Blazor <PageTransition> inside a <PageTransitionHost> on the View Transitions API) and picked up by PushAsync/GoToAsync unchanged, hero flights between pages, entrance cascades, animated Shell tabs, iOS full-screen swipe-back and Android 14 predictive back), Captcha (Blazor only, core package - a human check in front of a form: one <Captcha /> over four providers selected by name, the built-in local challenge (canvas characters or a screen-reader-friendly sum, no account and no third-party script) plus Google reCAPTCHA, hCaptcha and Cloudflare Turnstile, registered with AddShinyCaptcha/ConfigureCaptcha so the provider swaps without touching markup; the component yields a token, not a verdict, so pair it with the Validate callback that runs your server's siteverify and gate submit on ValidChanged rather than IsSolved; site keys are public and the secret key never leaves the server, and the local challenge is checked in the browser so it is a bot speed bump rather than a security boundary), Gamepad (both hosts, add-on packages Shiny.Maui.Controls.Gamepad / Shiny.Blazor.Controls.Gamepad over the shared engine Shiny.Controls.Gamepad.Shared - an on-screen game controller as a full-screen overlay with touch pass-through or an inline Uniform-scaled controller, in NES, SNES, Standard (Xbox/PlayStation two-stick), TwinStick and Arcade layouts relabelled by Xbox/PlayStation/Nintendo/SuperNintendo/NES face styles; it IS a Shiny.Gamepad IGamepad of GamepadKind.Virtual reported by IGamepadManager next to physical controllers once UseShinyGamepad()/AddShinyGamepad() replaces AddGamepads(); multi-touch sticks and 8/4-way d-pad, floating sticks, double-tap stick click, thumb-roll chords, turbo, ButtonHapticFeedback/DirectionalHapticFeedback, device rumble, hide-when-a-controller-connects, idle fade, and a drag/pinch layout editor persisting through GamepadLayout.ToJson; buttons are positional so SNES "B" reports GamepadButton.A), Feedback Service (extensible IFeedbackService with haptic default, replaceable with TTS/sound/analytics), and UseFeedback support across all interactive controls Also AgentView (AG-UI agent conversation with streaming markdown, reasoning, tool cards, interrupts and inline UI tools) and A2UISurfaceView (A2UI v1.0 renderer with the basic and Shiny catalogs) in the *.Controls.Agents add-ons.
Trending skills
7-day visitors to each skill page
Ships in shiny. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are an expert in the Shiny Controls library, which ships a single shared control surface across two hosts:
Shiny.Maui.Controls (plus Shiny.Maui.Controls.Markdown, Shiny.Maui.Controls.MermaidDiagrams)Shiny.Blazor.Controls (plus Shiny.Blazor.Controls.Markdown, Shiny.Blazor.Controls.MermaidDiagrams)Every control below is available on both MAUI and Blazor. The feature set (properties, events, behavior) is intentionally mirrored — the same concepts apply on either host; only the syntax differs (XAML + BindableProperty on MAUI, Razor markup + [Parameter] on Blazor).
The library contains:
TableView: A pure MAUI settings-style TableView with 14 cell types, cascading styles, sections, drag-sort reordering, and full MVVM/binding support
DataGrid (MAUI + Blazor): A feature-rich data grid modeled on MudBlazor. Blazor is a generic DataGrid<TItem> rendering an HTML <table> with child PropertyColumn/TemplateColumn; MAUI is a pure cross-platform composite (shiny:DataGrid + DataGridColumn/DataGridTemplateColumn, items as object) built on a Grid header + virtualized CollectionView (no native handlers). Sorting (single/multi), filtering (menu/row/toolbar), grouping + aggregates, single/multi selection w/ checkboxes, inline editing (cell/form), paging, virtualization, column resize/reorder, sticky header, ServerData delegate, density/striped/bordered/hover. See datagrid.md
Spreadsheet (MAUI + Blazor WASM): SpreadsheetView opens, renders and edits real .xlsx workbooks. A shared host-agnostic kernel (Shiny.Controls.Office.Shared) owns the OOXML package, a transactional undo stack and a formula engine (~140 functions incl. XLOOKUP/SUBTOTAL/AGGREGATE and the financial set, defined names, dependency-ordered recalculation, circular-reference detection; no dynamic arrays); a shared SkiaSharp painter (Shiny.Controls.Office.Skia) draws the grid for both hosts, so MAUI and Blazor are literally the same renderer. Virtualized grid over 1,048,576 rows, frozen panes, merged cells, column/row resize, range selection, in-cell editing via a native Entry/<input>. Edits are surgical: an unmodified workbook saves byte-identical, and macros, tracked changes, pivot caches and custom XML survive untouched. MAUI requires UseShinyOffice() (SkiaSharp plus, on net11.0-macos, the AppKit canvas SkiaSharp does not ship); Blazor is WASM-only. An Excel-style ribbon is on by default (File hook, Home, Insert, Formulas, Data, Review, View): merge & center, freeze panes, borders, sort, AutoFilter, fill handle and Fill Down/Right, conditional formatting (highlight rules, top/bottom, data bars, colour scales), data validation with in-cell lists, cell styles, Format as Table, column/bar/line/pie/area charts, notes, hyperlinks, a Name Manager, Insert Function, formula autocomplete, Format Cells (Ctrl+1), a right-click menu, Excel's keyboard shortcuts, 10-400% zoom and SelectionStatistics for a status bar — all round-tripped into the xlsx. Row/column insert-delete repoints formulas, names, merges and the sheet's other ranges. Find is on the Home tab of all three Office toolbars — a box, a 3/12 readout and previous/next arrows over a shared IFindController; the spreadsheet searches cell text as the formula bar shows it (formula first, then literal), the active sheet only unless SearchAllSheets is set. See spreadsheet.md
Document & Slide Viewers (MAUI + Blazor WASM): DocumentView renders .docx, SlideView renders .pptx, both read-only and both in the same packages as the spreadsheet. Word reflows to the control's width rather than paginating — no pages, headers or footers by design — with the full style chain resolved (doc defaults → named style with its whole basedOn ancestry → direct formatting), lists numbered from numbering.xml, tables with spans/merges/shading, inline images, plus an outline for navigation. PowerPoint scales its fixed-size artboards rather than reflowing, with shapes resolved through slide → layout → master (a title placeholder usually carries text and nothing else), ~20 preset geometries, gradient fills, theme colours with lumMod/lumOff/shade/tint applied, per-level text styles, notes, a thumbnail-grid mode, and a presenting mode that takes the deck full screen on black with an auto-hiding control bar and speaker notes. Both preserve the package untouched and report what they could not draw via UnsupportedFeatureCollector. See document-viewer.md
Document Editor (MAUI + Blazor WASM): two controls — DocumentEditor is the lone editing surface, DocumentEditorView wraps it in formatting chrome. Edits are surgical on the OOXML runs (runs are split only at the boundaries an edit needs and never rebuilt, so language, proofing state and revision marks survive), with a transactional undo stack, caret and selection over the shared text layout, and typing/Enter/Backspace/formatting/alignment. Both toolbars are built from the same core pickers — FontPickerButton, FontSizePickerButton and ColorPickerButton exist on both hosts; only the bar around them differs (MAUI lays out a row of primitives because it has no toolbar control, Blazor composes ShinyToolbar with the item row as its own flex container, which is what keeps the items off the text baseline and aligned). Blazor keyboard input is complete (via beforeinput, so IME and dictation work); MAUI has no portable key-down event, so physical keys route through HandleKey. Spell check uses the platform's own dictionary on MAUI — UITextChecker, NSSpellChecker, Android text services, Windows ISpellChecker — registered automatically, with a red wavy underline and a right-click/long-press menu offering corrections, Ignore and Add to dictionary (which writes to the user's real dictionary); the browser exposes no such API so Blazor defaults to none and takes an app-supplied ISpellChecker, overridable per control or globally via SpellCheckers.Default on either host. Find is on the Home tab — a box, a 3/12 readout and previous/next arrows (OfficeFindBar over IFindController, shared with the slide and spreadsheet editors). Setting Find.Query searches and steps onto the first hit at or after the caret and selects it; next/previous wrap; table cells are searched too. The ribbon is organised as Word's tabs (Home/Insert/Design/Layout/References/Review/View + contextual Table, tab strip on by default) and covers table editing (caret in cells, rows/columns, merge/split), Find & Replace, a rich clipboard and format painter, Font/Paragraph extras, a styles API (AvailableStyles/ApplyStyle/CurrentStyleId), hyperlinks, bookmarks, section breaks, TOC, footnotes, comments with margin balloons, track changes, word count (Statistics), read mode, navigation pane and Word's shortcuts (WordShortcuts). Positions index the story (WordDocument.Paragraphs, cells included), not Blocks. See document-editor.md
Slide Editor (MAUI + Blazor WASM): two controls — SlideEditor is the lone editing surface, SlideEditorView wraps it in an editing toolbar. Two gestures carry the whole design: a single click selects a shape and draws a dashed frame with eight resize handles (drag body to move, handle to resize); a double-click puts a caret inside that shape's text and the frame turns solid. Typing is deliberately dropped while a shape is merely selected — Controller.IsEditingText gates it. Only shapes the slide itself owns are selectable; layout/master shapes and group children are skipped, because dragging one would move it across every slide using that layout. Edits are surgical on the DrawingML runs, and a:rPr children are a sequence — out-of-order properties make PowerPoint call the file corrupt rather than repair it. The text layout inside a shape is shared with the painter so caret and glyphs cannot drift. SetFontSize/CaretFormat.FontSize are in points, not the model's pixels. Find is on the Home tab, over the same shared IFindController: a deck search spans every slide, opens the one it lands on, selects the shape and selects the matched word, and searches only IsEditable shapes — a hit in a layout or master shape would count the company name once per slide. Home ▸ Slide ▸ Slide show plays the deck full screen from the slide being edited: the editor grows no presenting mode of its own, it hands a SlideView the deck it is already holding, so the show is the viewer's whole (black surround, auto-hiding presenter bar, tap to advance, speaker notes) and plays what was typed a moment ago without a save or a reload. No F5 here, unlike the viewer — Blazor fixes preventDefault a keystroke behind the handler that decides it, and a reload would lose an unsaved deck. Home ▸ Slides adds, duplicates, deletes (confirmed by the view, never by the controller — ConfirmSlideDelete / ConfirmDeleteSlide) and reorders slides (Earlier/Later, MoveSlide), all undoable even across a save; a new slide takes the current layout (content after a title slide) and its empty placeholders show editor-only "Click to add …" prompts. Also: a thumbnail SlideRail with drag-to-reorder, editable speaker notes (ShowNotes), layout switching (Layouts/SetLayout), arrow-key nudging, z-order (Arrange), a per-controller shape clipboard (Copy/Cut/Paste/Duplicate, across decks), group entry by double-click, and typing into table cells (ActiveCell, Tab walks cells). Not implemented: soft line breaks, rotation handles, replace. See slide-editor.md
Office Shell (MAUI + Blazor, in the Office packages): the Word/Excel/PowerPoint application window around the editors — OfficeShell (slots TitleBar / Ribbon / Ruler / VerticalRuler / LeftPane / content / RightPane / StatusBar / Backstage; App, two-way IsBackstageOpen, IsFocusMode, IsLeftPaneOpen, IsRightPaneOpen; ShellLayout goes compact below 600px), OfficeTitleBar (AutoSave, Save/Undo/Redo, rename, save status, command search over an OfficeCommandIndex), OfficeRibbonActions (Comments / Editing-Reviewing-Viewing / Share for the ribbon's header end), OfficeBackstage (Home/New/Open/Info/Save/Save As/Print/Export/History/Options — events only, no I/O; the editors themselves have NO file events — Open/Save/Save As/Export/recent go to an IOfficeDocumentStore (one serves all three editors; host default when none is registered), ShowFileCommands=false when the app owns files), OfficeStatusBar (OfficeStatusItem segments, Focus, view modes, zoom − slider + % with OfficeZoomDialog), OfficeRuler, OfficeStyleGallery, OfficeNavigationPane, OfficeSidePane, OfficeDialog. Shared models in Shiny.Controls.Office.Shell. Feed the search with commandIndex.SyncRibbon(ribbon). See office-shell.md
Notebook (MAUI + Blazor WASM): two controls — NotebookEditor is the lone canvas, NotebookEditorView wraps it in a ribbon, section tabs and a page list. A OneNote-style free-form page: unlike a slide, which is a fixed artboard that gets fitted, a page has no edges — it grows to hold whatever is on it (Extent() = minimum unioned with every item's bounds plus padding) and the canvas scrolls and zooms instead. Three layers of state and keeping them apart is the design: the tool decides what a press starts (Select, Text, Shape, Pen, Highlighter, Eraser, Lasso, Pan), the selection is a set of item ids (a lasso catches thirty strokes and a picture at once — there is no SelectedShape int), and text editing is a caret inside exactly one item. Escape steps back out one layer at a time. Items are one immutable NoteItem record with a Kind discriminator, z-ordered by their index in the page's list rather than by a field. Ink is real: pressure normalised 0..1 where 0.5 means "no idea" (only a pen reports otherwise), a highlighter painted beneath every other item so it does not grey the words it marks, a point eraser that splits a stroke into separate items rather than leaving a hole, and hit-testing and lasso capture against a stroke's path rather than its bounding box. Text formatting reaches a selected container as well as a caret inside one, so a toolbar's HasText is IsEditingText || HasSelection. Saves to a .shinynote zip — notebook.json, one JSON per page, pictures as files — and it is the one editor here whose model is the truth rather than a projection of an OOXML package, so there is no reproject step and no byte-identical promise. The one Office surface whose page follows the app theme, and existing ink is never recoloured. Not implemented: rotation handles, tables on a page, ink-to-shape recognition, search across pages, tags. See notebook.md
Gantt (MAUI + Blazor): GanttView — a project timeline; task grid on the left, scrolling time axis on the right, draggable bars. Hierarchy (flat ParentId or nested Children, mixable) with summary rollups weighted by duration, milestones, baselines, deadlines, constraints, all four dependency types with lag (negative lag = lead time), working-time calendars, and a critical path. The entire scheduling engine lives in Shiny.Controls.Gantt.Shared (GanttModel/GanttCalendar/GanttScheduler/GanttGeometry/GanttLayoutMetrics) and is shared verbatim — including bar rectangles and arrow routes — so neither control does date arithmetic; generate model work against Shiny.Controls.Gantt, not the view. Items must be GanttTask (no generic TItem); put your own object in GanttTask.Item. Every drag produces a cancellable GanttSchedulePlan listing the edited task plus every cascaded one, and the plan reverts itself — undo is a stack of them. CascadeMode defaults to PushOnly (successors move later, never earlier). ShowCriticalPath and AllowDependencyEdit are both off by default. On Blazor the component fills its parent and needs a bounded height. See gantt.md
Kanban (MAUI + Blazor): KanbanView — a board of columns you drag cards between, with WIP limits, swimlanes, collapsible columns and an inline add-card composer. Every decision lives in KanbanBoard (bucketing, WIP counts, drop verdicts, move planning, order renumbering) and the file is mirrored verbatim into both packages — a test fails if the copies drift — so generate model work against KanbanBoard, not the view. Cards must be KanbanCard (no generic TItem); put your own object in KanbanCard.Item. Colours on cards, columns, swimlanes and labels are strings ("#2563eb"), not platform colours. A WipLimit counts the whole column across every swimlane, and reordering inside a column is always allowed however full it is; ShowWipLimits (styling) and WipBehavior (None/Warn default/Block) are independent. Every move raises cancellable CardMoving with the full KanbanMove — which records the source column, swimlane and index, so undo is a stack of them — then CardMoved; a refused drop raises DropRejected with a reason. AddCardMode is off by default and the board never creates a card: handle AddCardRequested and add to your own collection. SwimlaneMode defaults to None, in which case SwimlaneId is ignored. MAUI drags on PanGestureRecognizer (never DragGestureRecognizer); Blazor drags on pointer events (never HTML5 DnD) and needs a bounded height. See kanban.md
Diagram (MAUI + Blazor): DiagramView — a bindable graph of shapes and connections: org charts, decision trees, flowcharts, mindmaps. Add-on packages (Shiny.Maui.Controls.Diagram / Shiny.Blazor.Controls.Diagram), never core. Not the Mermaid control — that renders a picture from mermaid text; this is a graph you bind to and edit, so pick it when the source of truth is a collection of nodes. The whole engine is Shiny.Controls.Diagram.Shared (namespace Shiny.Controls.Diagramming): DiagramModel, the five layouts, ConnectionRouter, ShapeGeometry and DiagramHitTester, shared verbatim so neither control computes geometry; generate model work against that namespace, not the view. Items must be DiagramNode/DiagramConnection (no generic TItem); put your own object in DiagramNode.Item. Hierarchy is flat ParentId or nested Children, mixable — and a hierarchy with no connections still draws its links, so an org chart is nested nodes plus an empty connection list. Layouts are Tree (default; arranges a hierarchy, so a graph that rejoins loses an edge), Layered (Sugiyama — reach for this the moment the graph rejoins or loops), MindMap, Radial, ForceDirected and None; all deterministic. The property is LayoutKind, never Layout on both hosts — on MAUI Layout hides VisualElement.Layout(Rect). Connectors are Orthogonal (default), Straight or Bezier, anchored to the real shape outline rather than the bounding box, with Auto ports snapping to the layout's axis. Editing is off by default — AllowNodeDrag, AllowConnectionEdit, AllowMultiSelect, AllowDelete (Blazor only; MAUI uses DeleteSelection()); AllowPan/AllowZoom/AllowSelection are on. Dragging a node sets IsPinned, which holds it through a re-layout. Every gesture produces a cancellable DiagramEditPlan listing the whole cascade, and the plan reverts itself — Undo()/Redo() are built in. Validation reports and never throws: read DiagramModel.Issues from Built/OnBuilt. DiagramJson.Save/Load round-trips the graph. On Blazor the component fills its parent and needs a bounded height. See diagram.md
Gamepad (MAUI iOS/Android + Blazor): GamepadView — an on-screen game controller, as an overlay over a game (default Sizing="Anchored", touches that miss every element pass through) or inline (Sizing="Uniform"). Add-on packages (Shiny.Maui.Controls.Gamepad / Shiny.Blazor.Controls.Gamepad); engine Shiny.Controls.Gamepad.Shared (namespace Shiny.Controls.Gaming). It is a real Shiny.Gamepad IGamepad (GamepadKind.Virtual) — read view.Gamepad.GetState() or the button/axis events. Always emit UseShinyGamepad() (MAUI) / AddShinyGamepad() (Blazor) instead of AddGamepads(). Buttons are positional (A = bottom face button whatever the label). MAUI properties are ControllerLayout and ControllerScale, never Layout/Scale. Haptics are two switches: ButtonHapticFeedback (on) and DirectionalHapticFeedback (off). See gamepad.md
Floor Plan (MAUI + Blazor): FloorPlanView — rooms, walls, doors, cubicles, outlets, furniture and custom SVG stencils on a pan/zoom SkiaSharp surface. Add-on packages (Shiny.Maui.Controls.FloorPlan / Shiny.Blazor.Controls.FloorPlan), never core — the engine is SkiaSharp and core carries none. MAUI needs UseShinyFloorPlan() or the canvas has no platform view and the page is blank; XAML namespace is http://shiny.net/maui/floorplan, not the core shiny: one. Blazor needs a sized container — a drawn surface has no intrinsic height. Two modes and they behave like different controls: Edit gives the ActiveTool the pointer and puts eight resize handles on the selection; View makes the whole surface a pan surface, blocks every edit, and raises ElementTapped/OnElementTapped on a tap that did not turn into a drag (the seating-chart case — no toolbar needed). The whole engine is Shiny.Controls.FloorPlan.Shared (namespace Shiny.Controls.FloorPlan): FloorPlanEngine, the document model, renderers, FloorPlanHitTester, the camera and the tools; generate document and tool work against that namespace, not the view. Sizes are plan units, not pixels. Element Style.FillColor/StrokeColor are nullable and default to null, meaning "take the theme" — that is what makes one saved plan read correctly in light and dark; set them only when the plan really is colour-coded. Tools hold gesture state, so build a new tool instance each time rather than reusing one. PlaceElementTool takes either Kind + companions (XAML/parameter friendly) or a Factory that overrides everything. Viewport operations (ZoomToFit/ZoomIn/ZoomOut/ScrollTo) are methods, not bindable properties — they need the surface size. net11.0-macos (AppKit) is not supported unless the app also references Shiny.Maui.Controls.Office, which ships the missing Skia canvas handler. See floorplan.md
Timeline (MAUI + Blazor): TimelineView — a vertical rail of markers with arbitrary content beside each one; the wizard's three-state marker turned on its side and made item-driven. Named TimelineView, not Timeline, because Shiny.Controls.Keyframe.Timeline already owns the bare name in a namespace MAUI's core package imports. ActiveIndex says how far along it is — before it complete, at it current (drawing a ring), after it pending — and it defaults to -1, so a timeline handed no position does not claim its first entry has happened; AllActive fills everything and wins outright over the index rather than being merged with it. The rule is TimelineNode.StateFor(index, activeIndex, allActive) on both hosts. Rows size to their content and the rail stretches to match, which is why it is built per row rather than as one line behind the stack: content beside a timeline is arbitrary and self-sizing, and a continuous line would need a total height nothing knows until after layout. ItemTemplate and OppositeTemplate bind to the item; MarkerTemplate binds to a TimelineNode, because everything deciding how a marker is drawn is a property of the node's position rather than of the item. Not virtualized on either host — the deliberate trade for rows of differing height. On MAUI the marker is a BoxView rather than a Border so its Color can take a theme token; a colour token on a Brush property is silently dropped. See timeline.md
TreeView: Hierarchical tree with lazy-loaded branches (ChildrenLoader for per-node async, RootLoader for async root), ChildrenSelector for sync data, HasChildrenSelector/CanExpandSelector/CanSelectSelector predicates, configurable ExpandedIcon/CollapsedIcon/RetryIcon (ImageSource on MAUI, RenderFragment slots on Blazor), single/multi selection with two-way SelectedItem/SelectedItems (multi-select renders a checkbox per row — ShowSelectionCheckBoxes to turn it off — and switching modes clears the selection), events + ICommand mirrors for ItemSelected/ItemExpanded/ItemCollapsed/LoadFailed/ItemDropped, indent + guide lines, drag/drop reorder with above/below/into drop positions and visual drop indicators (event-only — never mutates your data; native HTML5 drag via JS interop on Blazor for Safari/Firefox support, pan-gesture fallback on Catalyst/AppKit/GTK4), opt-in virtualization (IsVirtualized on MAUI / Virtualize on Blazor, with a fixed RowHeight; builds only the rows in view, so the tree needs a bounded height and must not sit inside another scroller), programmatic API (ExpandAll/ExpandAllAsync — both materialize every sync branch and cap at a maxDepth of 32 — plus CollapseAll/Expand/Collapse/SelectAll/DeselectAll/SetBranchSelected/Refresh/ReloadAsync with state preservation/FindNode), and keyboard navigation on Blazor
FloatingPanel + OverlayHost: A floating panel overlay system (MAUI only). Panels slide from bottom or top with configurable detents, header peek when closed, backdrop dimming, and feedback. Multiple panels coexist without blocking touches. Use with OverlayHost (manual Grid setup) or ShinyContentPage (convenience ContentPage with built-in overlay). Blazor uses SheetView with CSS-based overlays instead
Expander & Accordion (MAUI + Blazor): A disclosure panel — header plus content that animates in beneath or above it — and the accordion list that coordinates a stack of them. Animation is a flags enum (Fade/Slide/Height) so the effects combine; SlideFrom aims the slide at any of the four edges and ExpandDirection opens the panel down or up. Two-way IsExpanded, cancelable Expanding/Collapsing, LoadContentOnDemand, a rotating or swapping indicator on either edge, and full border/radius/fill/padding/separator control that falls back to the theme. Accordion adds SelectionMode Single/Multiple, AllowCollapseAll, a two-way ExpandedIndex, ExpandAll/CollapseAll, ItemsSource with header/content templates (MAUI) or a plain @foreach (Blazor), and motion/chrome defaults that reach every item that did not set them itself. On MAUI Height measures and animates a clipped panel; on Blazor it is a CSS grid-template-rows transition with no JS. See expander.md
PillView: A status badge/label control with 6 preset themes, custom colors, and WCAG-accessible contrast
NotchView (both hosts, core packages): A Dynamic Island / camera-notch style surface that holds any content and morphs its width, height and corner radius to fit it. No compact/expanded states: swap Content (MAUI) or the rendered ChildContent (Blazor, with ContentKey to fade the new content in) and it springs to the new size, and content that changes its own size is followed automatically. The content is laid out once at its final size and clipped while the surface animates. Shape = Island (rounded) or Notch (square top corners), black SurfaceColor on every theme, MinNotchWidth/MinNotchHeight (120×36, also the empty size), MaxNotchWidth/MaxNotchHeight, auto CornerRadius (pill capped at 28), MorphDuration, Tapped/Command (MAUI) or OnClick (Blazor), and NotchSizeChanged. The Desktop add-on's INotchWindowService (always registered by UseShinyDesktop(); options via cfg.ConfigureNotch(o => …); macOS/Windows/Linux only, guard code that uses the service or ConfigureNotch with #if !ANDROID && !IOS && !MACCATALYST, no IsSupported) puts it in a borderless window above every app on macOS, Windows and Linux: on a MacBook the empty notch hides in the camera cut-out and content grows out of it; everywhere else it is a floating island at the top of the screen. See notch.md
BadgeView: A content-wrapping overlay that pins a small badge to one of the four corners (TopLeft/TopRight/BottomLeft/BottomRight) of a wrapped view. Setting Text to an empty string auto-hides the badge — bind your unread/count value directly. Supports configurable BadgeColor/BadgeTextColor/BadgeBorderColor/BadgeBorderThickness, IsDot mode for simple notification indicators, MaxCount numeric overflow rendering ("99+"), per-corner OffsetX/OffsetY nudge (default hangs the badge slightly outside the corner), scale-in/out animation (IsAnimated), and optional continuous IsPulsing to draw attention. Blazor honors prefers-reduced-motion
Avatar + AvatarGroup (both hosts, core package): Avatar draws a picture (Uri; MAUI also Source), else initials from Name, else a silhouette, with an optional presence dot (Status = AvatarStatus.Online/Away/Busy/Offline) and ColorFromName for a stable per-person hue identical on both hosts. AvatarGroup overlaps them and collapses everyone past Max into a "+N" chip (TotalCount for a partial sample; MAUI OverflowCommand, Blazor OnOverflowClick). See avatar.md.
ImageViewer: A tappable thumbnail plus a full-screen image overlay with pinch-to-zoom, pan when zoomed, double-tap to toggle zoom, animated open/close, and a close button. On MAUI both surfaces are a ShinyImage, so binding Uri instead of Source adds placeholder artwork, a loading ring, error artwork and IImageService memory/disk caching — the overlay opens off the cache the thumbnail already warmed. See image-viewer.md
ZoomPanView: Pinch, pan and double-tap zoom over any content — a layout, a chart, a form — not only a picture. ImageViewer's machinery with the image taken out, sharing one implementation with it. Inline and clipped to its own bounds rather than a full-screen lightbox; the content stays interactive because the pan gesture is only attached once there is somewhere to pan. Blazor adds wheel zoom (WheelMode). See zoom-pan-view.md
FloatingToolbar: A toolbar that floats over a control the way a tooltip does — icons, labels, badges, dropdown menus and an overflow, horizontal or vertical. Shares the tooltip's anchoring (AnchorTriggerBinder + TooltipPlacementSolver on MAUI, tooltip.js on Blazor). One instance serves many controls: FloatingToolbar.AttachTo per row on MAUI, a multi-match selector on Blazor. Item type is ShinyToolbarItem on MAUI (MAUI already has a ToolbarItem), ToolbarItem on Blazor. Not the docked page bar — that is ShinyToolbar. See floating-toolbar.md
ImageEditor: An inline image editor with cropping (drag-handle selection with dimmed overlay), rotation, freehand drawing with color, text annotations, undo/redo, reset, and export to PNG/JPEG/WEBP at configurable resolutions
MediaPickerButton: A button that adds photos from the gallery and/or camera (built-in MediaPicker on MAUI; <input type=file>/capture on Blazor), compresses/re-encodes each to PNG or JPEG at a chosen quality (with optional max-dimension downscale), caps the count with MaxPhotos (added one at a time), and shows the collected photos inline as a tappable carousel (ShowAsCarouselInView, opening the ImageViewer with an optional Edit button that reuses the ImageEditor) or a compact pinch/zoom overlay. AllowGallery/AllowCamera/AllowPhotoEdit toggles, PermissionDeniedText, NoImagesTemplate, and a two-way Photos collection of MediaPickerItem. See media-picker-button.md
ChatView: A modern chat UI with message bubbles, per-participant colors and avatars, visual grouping by sender/minute, typing indicators, virtualized message list with load-more, auto-link detection, image messages, and a bottom input bar with send/attach
SecurityPin: A PIN/OTP entry control with individual cells, configurable length, keyboard, and optional character masking
PasswordStrength (MAUI + Blazor): A password field with a live strength meter and a rule checklist, built on TextEntry. Passphrase-first defaults (15 characters, breached values refused, composition rules off). Gate submit on IsAcceptable, not Score. Pluggable async IPasswordStrengthEvaluator for zxcvbn / HIBP. See password-strength.md
Fab: A Material-style floating action button with Icon, Text, Command, custom colors, border, and shadow
FabMenu: A floating action menu with an expanding, animated child FabMenuItem stack and two-way IsOpen
SchedulerCalendarView: Monthly calendar grid with swipe navigation, event display, and pinch-to-zoom
SchedulerAgendaView: Day/multi-day timeline (DaysToShow 1–7) with overlap detection, switchable date picker modes (DatePickerMode: Carousel / Calendar / None), additional timezone columns, auto-updating current time marker, and 12/24-hour time — full feature parity on MAUI and Blazor
SchedulerCalendarListView: Vertically scrolling event list grouped by day with infinite scroll and sticky day headers (StickyDayHeaders, default true, pins the current day header while scrolling)
MarkdownView: A read-only markdown renderer that converts markdown text to native MAUI controls with theming and link handling
MarkdownEditor: A markdown editor with formatting toolbar, live preview toggle, and customizable toolbar items
BarcodeView / QRCodeView (separate Shiny.Maui.Controls.Barcodes / Shiny.Blazor.Controls.Barcodes packages): Pure-managed barcode rendering powered by ZXing.Net. Supports 13 symbologies (QRCode, Aztec, DataMatrix, Pdf417, Code128, Code39, Code93, Codabar, Ean8, Ean13, UpcA, UpcE, Itf). MAUI renders to PNG via a built-in pure-managed encoder (no SkiaSharp / System.Drawing dependency, AOT-safe) and feeds an Image. Blazor renders inline SVG by default (crisp at any size, single-path output with shape-rendering="crispEdges") or a PNG data: URI. QRCodeView is a BarcodeView subclass that locks Format = QRCode and adds Size (square edge length) and ErrorCorrection (Low/Medium/Quartile/High). The static BarcodeRenderer exposes RenderPng, RenderSvg, and RenderDataUri for raw output without a view. XAML namespace xmlns:bc="http://shiny.net/maui/barcodes"
AutoCompleteEntry: A text input with debounced search, dropdown suggestions, busy indicator, custom item templates, and full styling control via CSS custom properties (Blazor) or bindable properties (MAUI)
CountryPicker: A country search control built on AutoCompleteEntry with flag emoji, country name, and dial code
AddressEntry: An address search control built on AutoCompleteEntry with geocoding (Nominatim/OpenStreetMap by default) and structured address results
SignaturePad: A signature capture control that opens in a FloatingPanel (MAUI) or SheetView (Blazor). Users draw on a canvas and export to PNG. Configurable stroke color/width, background, export dimensions, sign/cancel buttons, and panel styling. Like FloatingPanel, it must be placed inside an OverlayHost or ShinyContentPage (MAUI). The Sign button is disabled until the user draws something. Its surface is a SignatureView
SignatureView (both hosts, core packages): the inline signature surface behind SignaturePad — place it anywhere (form, card, row; no OverlayHost). Scroll-safe (a stroke holds an enclosing ScrollView off), PlaceholderText, ShowSignatureLine, ShowClearButton, IsReadOnly, ShowBorder, HasSignature (bindable / @bind-HasSignature), StrokeCount, Undo/Clear, ExportToPng (MAUI Stream) / ExportPngAsync (Blazor byte[]), StrokeCompleted/Cleared. See signature-view.md
Resizable (both hosts, core packages): ResizablePanelGroup (Direction Horizontal/Vertical, two-way Sizes in percent, LayoutChanged) of ResizablePanels (DefaultSize, MinSize, MaxSize, Collapsible, CollapsedSize, two-way IsCollapsed) with a ResizableHandle (WithHandle grip) between each pair; nests; collapsible panels snap shut past half their minimum; Blazor handles are keyboard-operable separators. The group fills its container — never in a stack/ScrollView on its axis. See resizable.md
Toast: A service-first toast notification system invoked via DI-injected IToaster (registered by UseShinyControls()). Supports auto-dismiss with configurable duration, manual dismiss via IDisposable, pill or fill-horizontal display modes, top/bottom positioning, queue or stack mode for multiple toasts, indeterminate spinner, countdown progress bar, icon, tap command, feedback, and screen reader announcement. No XAML or OverlayHost required — the overlay auto-attaches to the current page. Blazor uses IToastService with <ToastHost> component. Snackbars are secondary methods on the same service: SnackbarAsync(text, actionText, configure, ct) → Task<SnackbarResult> (ActionInvoked/TimedOut/Dismissed/Replaced) and LoadingSnackbarAsync(text, configure) → ILoadingSnackbar (Text/Progress/Closed/Dispose); SnackbarConfig : ToastConfig adds ActionText, ActionCommand (MAUI) / ActionCallback (Blazor), ActionTextColor, IsLoading, Progress. Never use the action for the body tap: TapCommand/TapCallback is the body. See toast.md
Dialogs (MAUI + Blazor): A service-first dialog system that emulates alert/confirm/prompt with owned (non-native), animated, themeable dialogs. Inject IDialogService and await Alert (Task), Confirm (Task), or Prompt (Task). Queued/modal, backdrop cancel (Escape/Enter on Blazor), theme-token colors. Per-call configure sets the DialogAnimation (None/Fade/SlideTop/SlideBottom/SlideLeft/SlideRight/Zoom/Pop) and styling; customize globally via ConfigureDialogs (MAUI) / AddShinyDialogs(o => ...) (Blazor) or fully replace the card with a ContentTemplate (MAUI DataTemplate) / <DialogHost Template> (Blazor RenderFragment<DialogContext>). MAUI auto-attaches (just UseShinyControls()); Blazor needs AddShinyDialogs() + a single <DialogHost>
ModalView (Blazor only, core package — there is no MAUI equivalent; never emit <ModalView> in XAML, use FloatingPanel/ShinyContentPage or IDialogService there): a modal window — a titled panel over a backdrop that owns the screen until dismissed. Declarative, unlike Dialogs: you write the content and it hosts it, which is what makes it the answer for a form/editor/picker rather than alert-confirm-prompt. Every region is optional and replaceable — Title/Subtitle/Icon or HeaderTemplate (which keeps the header bar so the close button still has a home) or ShowHeader="false"; the built-in ✕ or CloseButtonTemplate or ShowCloseButton="false"; FooterTemplate or a Buttons list of ModalButton (rendered as ShinyButton, each with Type/Appearance/Icon/State/Disabled/ClosesModal/awaited OnClick/Tag). State is two-way IsOpen plus ShowAsync/CloseAsync/ToggleAsync; events are Opened, cancellable Closing (ModalClosingEventArgs.Cancel — the dirty-form veto, skipped only when IsOpen is bound to false) and Closed(ModalCloseReason) carrying CloseButton/Backdrop/Escape/Button/Programmatic. Sizing is Size (Small/Medium/Large/ExtraLarge/Full, caps not fixed widths) or explicit Width/Height/Max*, with Placement Center/Top/Bottom, six ModalAnimations and a ShowBackdrop/BackdropOpacity/BlurBackdrop backdrop. It behaves as a window when asked: Draggable by the header, Resizable from a corner grip, AllowMaximize/ShowMaximizeButton/MaximizeOnHeaderDoubleClick. The modal contract is not optional and comes for free: focus moves in (data-shiny-autofocus to choose where) and is trapped, page scroll locks without a layout jump, focus is restored, role="dialog" aria-modal="true", and modals stack with only the topmost answering Escape. No host component and no AddShinyModal() — it renders where you put it, so keep it at page level, out of any ancestor with transform/filter/contain. See modal.md
Captcha (Blazor only, core package — there is no MAUI equivalent; never emit <Captcha> in XAML and never call a UseShinyCaptcha() on MauiAppBuilder): a human check in front of a form — one <Captcha /> over four providers selected by name: the built-in local challenge (no account, no site key, no third-party script, works offline and inside a BlazorWebView), plus Google recaptcha, hcaptcha and Cloudflare turnstile. Registration is optional — with nothing registered the local challenge renders — and is done with AddShinyCaptcha(c => …) or the umbrella's cfg.ConfigureCaptcha(c => …), taking UseLocal(configure?, name?) / UseReCaptcha(siteKey) / UseHCaptcha(siteKey) / UseTurnstile(siteKey) / UseProvider<T>(), plus SetDefaultProvider/SetTheme/SetSize/SetLanguage; the component resolves Provider, then the configured default, then the first registered, then local, and a name that is registered nowhere renders a visible "no provider" alert rather than silently weakening the check. The site key is public and the secret key never leaves your server: the component yields a token in State.Response, and it is the server that posts it to the provider's siteverify — so pair it with the Validate callback (called with the fresh token the moment the widget solves; returning false, or throwing, keeps the state invalid and by default resets the challenge) and treat IsSolved alone as untrusted. Gate a submit button on the ValidChanged event, which flips back when a solved challenge expires. Size="CaptchaSize.Invisible" scores the session in the background and needs ExecuteAsync() from your submit handler (Flexible is Turnstile-only; BadgePosition places the badge). LocalCaptchaOptions covers Mode (Text canvas / Math, which renders real text a screen reader can read), Length, CharacterSet, CaseSensitive, Width/Height, ExpirySeconds, MaxAttempts and all the wording — but say plainly that the local challenge is generated and checked in the browser, so it is a bot speed bump, not a security boundary. Other members: State (Valid/Response/ProviderName), Response, ResetAsync() (call it after a failed submit — a token is single-use), and events Solved/Expired/Errored. Extend with RemoteCaptchaProvider + a RemoteCaptchaDescriptor for another script-and-global widget, or ICaptchaProvider for anything else. See captcha.md
ButtonGroup (both hosts, core): Joins related buttons into one segmented control - inner corners square off and adjacent outlines collapse into one edge, horizontally or vertically. A container for actions first; SelectionMode (None/Single/Multiple, default None) is opt-in and turns the same markup into a segmented picker with a two-way SelectedIndex, SelectedIndexes, AllowDeselect and SelectionChanged. While a selection mode is on the group owns each segment's Appearance (SelectedAppearance Filled / UnselectedAppearance Outlined) - except where the segment set its own, which wins as the unselected look. Segments are ShinyButtons plus ButtonGroupSeparator (a hairline for a split button, for two filled segments only) and ButtonGroupText (a static label/unit, never selectable); a nested ButtonGroup makes the outer one a spaced cluster. MAUI is a StackLayout that pushes squared corners onto each segment and collapses outlined edges with a negative margin; Blazor does the joining in CSS over :first-child/:last-child with logical corner properties, so RTL mirrors for free, and adds aria-pressed on selection segments. Reach for ShinyTabBar when the segments switch pages. See button-group.md
TagEntry (both hosts, core): A free-text tags field - type and press Enter (or a delimiter) to commit each value as a removable chip in one bordered box. Pasting "a, b, c" commits three tags while typing the same characters leaves "c" in the editor; Delimiters defaults to [","] and an empty list means Enter-only, which is how a tag gets to contain a comma. MaxTags caps the count and leaves the typed text alone, duplicates are dropped quietly (AllowDuplicates, CaseSensitiveDuplicates), and validation is the cancellable TagAdding on MAUI / TagValidator on Blazor. Backspace on empty text removes the newest chip - on MAUI that is a zero-width-space sentinel, because there is no portable key-down on an Entry, switchable off with BackspaceRemovesTag. ChipTemplate/ChipContent replaces a chip's label but never its remove button. Not a suggestion list: when the values come from a known list, use AutoCompleteEntry. See tag-entry.md
ChipGroup (both hosts, core): A bound set of chips - one per item in ItemsSource, selectable singly or in any number, and the selection is the items themselves rather than an index, which is the whole difference from ButtonGroup (markup segments, SelectedIndex). SelectionMode defaults to Single here (the opposite of ButtonGroup's None), with Multiple for filter chips and None for action chips that only report ChipTapped. Two-way SelectedItem and SelectedItems are both kept accurate in every mode, and MAUI writes into the bound SelectedItems list rather than replacing it. AllowDeselect (off) lets a second tap clear a single-selection group; MaxSelectionCount refuses the new chip rather than dropping the oldest pick; a selection the source stops offering is dropped. Chips show ToString() unless given ItemDisplayBinding/DisplayMemberPath (MAUI) or DisplaySelector (Blazor), and ItemTemplate/ChipContent replaces the label but never the check or the ✕. AllowRemove is off by default and takes the item out of the source when the source is a writable list, with the cancellable ChipRemoving in front of it. Chips wrap by default; Wrap="False" needs a horizontal ScrollView around it on MAUI and scrolls by itself on Blazor. Blazor is generic - ChipGroup<TItem>. See chip-group.md
TextEntry: A Material Design-inspired text entry control with animated floating placeholder, customizable border, left/right tool slots, hint text for validation, character count, read-only/password modes, and reusable tools (ClearButtonTool, TextEntrySpeechToTextTool)
Slider: A slider control with a two-color gradient track, blended thumb border that samples the gradient at the current position, tooltip with custom templates, and full drag/tap interaction
RangeSlider: A two-thumb variant of Slider selecting a lower/upper value pair (LowerValue/UpperValue). Reuses the gradient (shown across the active segment between thumbs), blended thumb borders, and per-thumb tooltips, and adds MinimumRange (hard-stop gap) and MaximumRange (pushes the other thumb) constraints. See range-slider.md
ProgressBar: A progress bar with gradient fill and a Vista-style shimmer pulse that sweeps left-to-right. Configurable PulseLength (width of sheen) and PulseSpeed (sweep duration). Triggers on value change or timed interval. Supports indeterminate mode and text overlay. Segments (with SegmentSpacing) splits the bar into separate steps instead of a solid bar - the fill runs across them, so line Maximum up with the count for whole steps. The fill slides to each new value rather than snapping, symmetrically - a value that drops drains back at the same rate it filled - via AnimateProgress/ProgressAnimationDuration/ProgressAnimationEasing; only a value change animates, while a width change driven by layout snaps. See progressbar.md
ProgressLine (both hosts, core packages): The thin line that runs across the top or bottom of the window while something loads. A sibling of ProgressBar, not a mode of it - ProgressBar fills a slot you gave it in a layout, ProgressLine is chrome with no slot that pins itself to a page edge and knows about the navigation bar, tab bar and safe area so it lands against them rather than under them. It composes a ProgressBar internally, so the gradient, shimmer, indeterminate sweep and animated fill are the same code. On MAUI a line declared anywhere in a page's markup removes itself from that layout and installs into the page's overlay layer on the edge named by Position (Dock="False" keeps it inline). The inset follows one rule - a bar earns an offset exactly when it is painted inside the same coordinate space the line is - so a ShinyTabBar docked over a Shell page pushes the line up by its measured height, while ShinyNavigationPage, ShinyTabbedPage, native NavigationPage and native TabbedPage all resolve to zero because the page's content area already excludes their chrome. On Blazor it is position: fixed with env(safe-area-inset-*), plus Anchor="Container" to run along a panel's edge instead of the window's and a --shiny-progressline-offset custom property any ancestor can set. Bind IsActive (animated), never IsVisible. Also driven from code with no markup via IProgressLineService (UseShinyControls() on MAUI; AddShinyControls() plus one <ProgressLineHost /> on Blazor, registered Scoped): using var run = svc.Start(c => c.BarColor = ...); run.SetProgress(0.6); run.Complete();. Runs are reference-counted so two overlapping operations are one line that stays up until the slower lands, the slowest run is the one shown (not the average), progress never goes backwards, and with nothing reported the line trickles - decelerating toward TrickleCeiling (0.9) and never arriving, because a line that reaches 100% on its own has claimed the work finished. Indeterminate = true sweeps instead. MAUI re-resolves the showing page each tick, so a run started before a navigation follows it. See progressline.md
AgentView (both hosts, add-on *.Controls.Agents, engine Shiny.Controls.AgentUI.Shared): renders an AG-UI agent conversation from an IAgentSession (streaming markdown, reasoning, tool cards, A2UI surfaces, sub-agents, interrupts with approve/choices/text, errors with Retry, Stop). Frontend UI tools via AgentPromptQueue + AgentToolRegistry.AddAll(prompts), drawn inline. Fills its parent and owns vertical scroll. Shiny.AiConversation: AgentSession.Create(session.SessionId, session.RunAgUiAsync). See agent-view.md
A2UISurfaceView (both hosts, *.Controls.Agents): renders A2UI v1.0 surfaces with native controls; basic catalog + Shiny catalog (A2UICatalog.CreateShiny(), id https://shinylib.net/a2ui/shiny.controls/v1.json: DataGrid, Gauge, ProgressBar, Pill, Avatar, ChipGroup, TagEntry, DateRangePicker, RangeSlider, Timeline, Expander, Markdown); custom components via A2UIRendererRegistry.Register. See a2ui-surface.md
Gauge (both hosts, core packages, engine Shiny.Controls.Gauge.Shared): A speedometer/tachometer-style dial whose needle animates itself like a real instrument's. The default Spring accelerates, carries momentum through a change of reading, overshoots by SpringDamping (1 = none) and bounces off end pegs; Ease gives a fixed duration; None snaps. Bind Value straight to the live reading and never tween it in the view model. Compass angles (StartAngle -135 / SweepAngle 270 by default; -90/180 for a semicircle). Ranges add coloured bands, and ColorValueArcByRange turns the value arc red in the redline. Also: auto 1-2-5 ticks, a readout that counts with the needle, Units/Title, peak hold (ShowPeak, ResetPeak()), SweepOnLoad ignition sweep / Sweep() (MAUI) / SweepAsync() (Blazor), NeedleStyle Tapered/Line/None. MAUI is a GraphicsView; Blazor is SVG with gauge.js on requestAnimationFrame. See gauge.md
Marquee (both hosts, core packages): Magic UI-style endless scrolling content at any Angle (0 left, 90 up, 180 right, 270 down, anything between diagonal), with Reverse, Duration (40s) or Speed (units/s), Gap, Repeat (min copies, auto-raised to fill the viewport), PauseOnHover/PauseOnPress, IsRunning, FadeEdges/FadeLength, KeepContentUpright, RespectReducedMotion. MAUI content is ItemsSource + ItemTemplate (views can't be cloned); Blazor content is ChildContent animated with pure CSS. Vertical/angled marquees need a height. See marquee.md
ScratchCard (both hosts, core packages): a scratch-off card — a live Cover view (image, gradient, any layout; null = silver foil) over the hidden content (MAUI HiddenContent content property / Blazor ChildContent), scratched away by finger or mouse. StrokeWidth (44, fingertip), ThresholdPercent (60, 0–100) raises ThresholdReached/OnThresholdReached once per cover, AutoReveal (true) then clears the rest and raises Revealed/OnRevealed; ScratchProgressChanged/OnScratchProgress and read-only ScratchedPercent (0–100), two-way IsRevealed, IsScratchEnabled, RevealDuration, Reveal()/Reset(). MAUI clips the cover with Clip, Blazor uses a canvas-drawn CSS mask. See scratch-card.md
BorderBeam / ShineBorder (both hosts, core packages): Magic UI-style animated card outlines. Both wrap one piece of content (MAUI Content, Blazor ChildContent), clip it to CornerRadius (12) and draw the effect over it, above a static track (TrackColor, which follows the theme's outline-variant; Transparent hides it), at BorderWidth (1), with IsRunning and RespectReducedMotion. BorderBeam: Size (50), Duration (6s), Delay (a head start), ColorFrom/ColorTo, Reverse, InitialOffset (%). ShineBorder: ShineColors (a comma list in XAML), Duration (14s). MAUI draws on a GraphicsView (every head); Blazor is pure CSS, and Overlay="true" renders only the ring. See border-animations.md
AnimatedBackground (both hosts, core packages): a container (like a Border / div) that draws an animated Effect behind its content: AuroraEffect, ParticlesEffect, SnowEffect, RainEffect, MeteorsEffect, DotPatternEffect (spotlight SpotlightMode.Auto/Pointer/Wander/None), NoiseEffect, StarfieldEffect (Warp), FirefliesEffect, BubblesEffect, WavesEffect, MatrixEffect. Each effect is a typed options object with Speed; Density is per 100×100 area. Host: CornerRadius, Background, IsRunning, RespectReducedMotion (still frame). MAUI: <shiny:AnimatedBackground.Effect><shiny:SnowEffect .../></...>, bindable live, colour lists comma-separated in XAML, GraphicsView on every head, pointer via hover. Blazor: Effect="@field" with CSS colour strings, Fixed="true" for a full-page background, canvas + rAF with no per-frame interop. See animated-background.md
Range Pickers (both hosts, core packages, engine Shiny.Controls.RangePickers.Shared): DateRangeCalendar (inline, tap start then end), DateRangePicker, TimeRangePicker, DateTimeRangePicker (field + popup editing a draft; Apply commits, Cancel discards). Constraints: MinDate/MaxDate, MinDays/MaxDays, AllowSingleDay, DisabledDates/DisabledDaysOfWeek/IsDateDisabled, AllowDisabledDatesInRange (off = a range can't cross a blocked day), Presets (DateRangePresets.Reporting/Booking), Interval/MinTime/MaxTime/MinDuration/MaxDuration/AllowOvernight for times. MAUI values are DateTime?/TimeSpan?; Blazor DateOnly?/TimeOnly? with @bind-. Field text from RangeFormatter ("Mar 3 – 9, 2026"). See range-pickers.md
Confetti (both hosts, core packages): Magic UI / canvas-confetti style bursts. MAUI: attached shiny:Confetti.Trigger="Tap|DoubleTap" + Confetti.Preset / Confetti.Options on ANY view (buttons hook Clicked and burst from centre; other views get a TapGestureRecognizer and burst from the touch point). Blazor: wrap with <Confetti Preset=... Options=... Trigger=...>. From code: IConfettiService (FireAsync(options), FireAsync(preset, origin), FireFromAsync(element, preset|options), Clear/ClearAsync), awaitable until the last particle fades. Presets: Burst, Random, Fireworks, SideCannons, Stars. Options mirror canvas-confetti names/defaults. See confetti.md
Overlay & LoadingOverlay: Full-screen overlay with configurable backdrop color and opacity, fade animation, and custom content via DataTemplate (MAUI) or RenderFragment (Blazor). LoadingOverlay extends it with built-in spinner (indeterminate) or progress bar (determinate) plus optional message text. On MAUI it also carries ContentAlignment (Start/Center/End, default Center) + ContentMargin for content that should sit off-centre — a prompt bar near the top rather than a dialog in the middle — and ShowEdgeGlow + GlowOptions, which rim the page with the Siri-style animated colour wash for as long as the overlay is up (behind the content, in front of the backdrop, click-through). Quick entry's in-app presentation is built on exactly these rather than its own scrim, so it shares the page's OverlayHost backdrop with everything else instead of stacking a second one. A DataTemplate that returns the same view instance each time is supported, which is how you host one long-lived view rather than rebuilding it per show
SkeletonView: A content-wrapping control (similar to RefreshView) that shows animated shimmer placeholders while IsBusy is true, then reveals the real content when loading finishes. Built-in line placeholders (configurable ItemCount/ItemHeight/ItemSpacing/CornerRadius/BaseColor/ShimmerColor) or a custom placeholder layout via SkeletonTemplate (MAUI) / SkeletonContent (Blazor). Shimmer is a sweeping LinearGradientBrush band on MAUI and an animated CSS gradient (honoring prefers-reduced-motion) on Blazor. Use it for inline content regions; use LoadingOverlay for whole-page loading
StateView & Wizard (both hosts, core packages): StateView shows exactly one of several named branches chosen by a string - the declarative form of the IsVisible / @if/else ladder. States are StateViewState (MAUI ContentProperty is Content; Blazor renders nothing itself and hands its ChildContent to the host, so an unreached branch is never built). Matching is ordinal and case-insensitive, and an unmatched name falls back to DefaultState then the first declared state, so a typo shows something rather than a blank rectangle. MAUI adds a lazy ContentTemplate (built on first show, cached unless CacheContent="False"). Transition is None/Fade/Slide (direction taken from the move)/SlideLeft|Right|Up|Down/Scale. Wizard builds on the same model: WizardStep is a StateViewState plus rules. Validity gates are layered cheapest-first - IsValid, IsOptional, ValidateCommand (MAUI, runs before IsValid is read so a command that sets the flag is enough), Validate (Blazor, Func<Task<bool>>, so a server round-trip is a first-class validator), then a cancellable StepChanging. IsVisible="False" takes a step out of the run entirely - skipped by Next/Back, dropped from the indicator, excluded from StepCount - which is how a conditional branch is modelled; IsEnabled="False" leaves it drawn but unreachable. The default indicator is the pointed breadcrumb (ProgressStyle="Chevron", plus Dots/Bar/None, or Progress to replace it wholesale) - drawn on a GraphicsView on MAUI so it renders on every head including AppKit and GTK4, and a CSS clip-path on Blazor. The wizard owns GoNextCommand/GoBackCommand/FinishCommand/CancelCommand/GoToStepCommand (MAUI) and GoNextAsync/GoBackAsync/FinishAsync/CancelAsync/GoToAsync (Blazor), so a button inside a step navigates without the view-model re-implementing it; CanGoBack/CanGoNext stay yours and are ANDed with the wizard's own checks. Finishing is cancellable so a submit rejected server-side leaves the user on the last step. See wizard.md
Keyboard Shortcuts (both hosts, core packages; engine in Shiny.Controls.Keyboard.Shared): in-app shortcuts that fire while the window has focus — NOT global hotkeys (that is IGlobalHotKeyService in the Desktop add-on). MAUI: <shiny:KeyboardShortcuts.Shortcuts> holding <shiny:KeyboardShortcut Gesture="Primary+S" Command="{Binding SaveCommand}" /> on a page or any VisualElement (live while the page shows / the element is visible), shiny:KeyboardShortcuts.IsModal to block everything outside; IKeyboardShortcutService for app-wide registrations, GetActiveShortcuts() cheat sheets and Format(). Blazor: <KeyboardShortcuts Scope="Document|Element" IsModal> with <KeyboardShortcut OnPressed=… OnReleased=…> and <KeyboardShortcutHint>. Gesture syntax Primary+Shift+P, Ctrl+K, Ctrl+C, ?; use Primary (⌘ on Apple, Ctrl elsewhere), modifiers match exactly, plain keys stay with focused text fields (TextInput=Auto). Key sources: core covers Windows, Android and iOS hardware keyboards; AppKit, GTK4 and Mac Catalyst need .UseShinyDesktop() from the Desktop add-on, which always registers their key sources. Full reference: keyboard-shortcuts.md
Walkthrough & Tooltip (both hosts, core packages): Walkthrough is a guided tour - dim the page, cut an animated spotlight around one control at a time, say what it does. Steps are declared together on the walkthrough, in order (Steps is the content property), not attached to the controls they describe: on a real screen attached ordering scatters the sequence where nothing can see it whole, so reordering means hunting and a conditionally-hidden control derails the rest silently. IsVisible="False" takes a step out of the run and re-numbers the counter. A step advances three ways - the Next command (NextCommand/NextAsync, or the built-in nav row), tapping the highlighted control itself (AdvanceOnTargetTap/AdvanceOnTargetClick, which implies AllowTargetInteraction), or a dwell timer (Duration in ms; DurationIn/DurationOut are the animation lengths, which is the one naming trap). Four displays: Popover (card + tail, the default), Tooltip (compact, no buttons), Inline (card, no tail), Spotlight (no card - text on the dim; needs UseOverlay and falls back to Popover without it). RememberRunKey is what makes onboarding run once - backed by IWalkthroughStore (Preferences on MAUI, localStorage on Blazor via AddShinyWalkthrough(), both replaceable); Restart() clears it and re-runs, which is the "show me the tour again" menu item. AllowTargetInteraction fences the backdrop with four panels around the hole rather than one catcher, because hit testing has no notion of a hole. Targets are {x:Reference} on MAUI (prefer it - compile-checked) or a CSS selector on Blazor. Tooltip is the bubble underneath it, usable on its own: it either wraps its target or points at one by reference/selector, opens on Manual/Tap/LongPress/Hover/Focus, and is bound with IsOpen - never IsVisible, which is VisualElement.IsVisible and would hide the anchor. Placement is a preference, not a promise: a side with no room flips to its opposite, the bubble is clamped inside ScreenMargin, and the tail slides along its edge to keep pointing at the target it was moved away from. The bubble is drawn in a page-level layer (MAUI) or the browser's top layer (Blazor), so it is never clipped by a scroll view or card. See walkthrough.md and tooltip.md
Keyframe (MAUI only, separate Shiny.Maui.Controls.Keyframe package): Declarative keyframe animation — the CSS @keyframes model in XAML (kf:Animate.Keyframes attached property with Keyframes/Track/Key, Duration/Delay/Iterations/Direction/Fill/Speed/AutoPlay), plus a fluent C# TimelineBuilder and composable Storyboard (Add/Then/With/Stagger). Evaluation is a pure function of time, so animations seek — scrub from a Slider or gesture via Player.SeekProgress, reverse mid-flight with a negative Rate, and export deterministically — which is exactly what MAUI's own fire-and-forget Animation.Commit cannot do. Easing takes named curves (CubicOut, BounceOut, Emphasized, …) and CSS function syntax (cubic-bezier(...), steps(n), spring(...)) so design-tool curves paste in verbatim; omitting Value on a key resolves it to the target's live value at start. Properties resolve through an explicit hand-registered AnimatableProperties registry (AOT-safe, no reflection) covering transforms/opacity/colors/layout, extensible via AnimatableProperties.Register. KeyframeView renders a KeyframeScene layer tree (rectangle/ellipse/path/text/image layers) to a canvas with two-way bindable Progress. Optional Shiny.Maui.Controls.Keyframe.Export adds headless deterministic frame export and a pure-managed GIF encoder — the only piece that pulls SkiaSharp. See keyframe.md
Motion Icons (both hosts, in the core packages; artwork lives in Shiny.Controls.MotionIcons.Shared): 111 animated icons that run on a timer, on hover, on tap, when they scroll into view, or on command — MotionIconView on MAUI (a GraphicsView, so it works on every head including AppKit and GTK4) and <MotionIcon> on Blazor. Trigger is a [Flags] enum (Manual/Loop/Hover/Press/Appear, default Hover|Press); hover finishes the cycle in progress rather than snapping back mid-pose, and Interval is folded into the animation itself so a resting gap needs no timer on either host. Bind IsPlaying for a busy state. Each icon carries motion drawn for it (a bell rings from its crown, a hamburger morphs into a cross, a tick draws itself on), overridable with generic presets — Pulse/Beat/Spin/Shake/Wobble/Bounce/Float/Pop/Tada/Flip/Swing/Blink/Draw/Nudge/Jiggle — that also work on your own artwork via PathData, a MotionIconDefinition, or MotionIconLibrary.Register (which can also replace a built-in app-wide). Both hosts compile the same MotionSpec into different machinery: MAUI draws it on a canvas ticked by one shared timer per window; Blazor compiles it to @keyframes once and lets the browser composite it with no C# running per frame. Blazor's Color defaults to currentColor so icons inherit surrounding text colour including disabled states. Write path data with explicit L commands — Microsoft.Maui.Graphics does not implement SVG's implicit lineto (M6 6 18 18 becomes two movetos) nor run-together decimals (l.06.06), both of which browsers accept, so design-tool artwork can look perfect on Blazor and draw nothing on MAUI. See motion-icons.md
MediaElement (separate Shiny.Maui.Controls.MediaElement / Shiny.Blazor.Controls.MediaElement packages, plus Shiny.Maui.Controls.MediaElement.Linux for the GTK4 head): Local and remote audio/video on iOS, Android, Windows, macOS AppKit, Linux GTK4 and Blazor — AVPlayer, Media3/ExoPlayer, Windows.Media.Playback, GtkMediaFile and HTML5 media behind one API. The transport bar is drawn by Shiny rather than handed to the platform, which is the only way each piece can toggle independently (ShowPlayPauseButton / ShowSeekBar / ShowVolumeControl / ShowFullScreenButton / ShowTimeLabels / ShowPictureInPictureButton): native transport UI is all-or-nothing everywhere but Windows. Commands on MAUI (PlayCommand, PauseCommand, StopCommand, SeekCommand, MuteCommand, ToggleFullScreenCommand, PictureInPictureCommand) and methods on Blazor. An IMediaPlayerBackend owns the player and the view is pushed into it, so fullscreen hands the same stream to a second surface (no re-buffering) and backgrounding detaches the video surface while audio keeps running. Background audio with OS lock-screen/notification controls (EnableBackgroundPlayback + Metadata) and Picture-in-Picture, both needing an app-level manifest opt-in the library cannot add. Capabilities reports what the current backend actually honours so a UI never offers a dead control. Analyzers on media: Analyzer (frames — the same OCR/barcode/face/motion analyzers a CameraView runs) and AudioAnalyzer (e.g. SpeechCaptionAnalyzer feeding a CaptionView, transcribed ahead of playback for decodable sources) — see media-analysis.md. See mediaelement.md
VideoText (in the MediaElement packages, both hosts): display text whose letters are windows onto a looping video — no transport, autoplay + loop, muted by default, FontSize 0 auto-fits; native layer/TextureView mask on iOS/Catalyst/macOS/Android, plain-text fallback on Windows/Linux; Blazor uses an SVG CSS mask (system fonts only). See video-text.md
SplashScreen (Blazor only): A boot splash that is on screen before Blazor starts — so it deliberately is not a Razor component. Ships as a classic (non-module) splash.js exposing a global shinySplash, an unscoped shiny-splash.css, and a managed side (ISplashScreen + <SplashScreenHost />, registered with AddShinySplashScreen()) that only owns status, progress, and the handoff to the app. The host <div id="shiny-splash"> must sit outside #app (Blazor clears #app when it attaches the root component, long before the app is ready) and splash.js must be referenced before blazor.webassembly.js/blazor.webview.js. Three tiers of customization: data-* attributes, a shinySplash.show({...}) config object, or your own arbitrary HTML inside the host (the script then only binds [data-shiny-splash-status] / [data-shiny-splash-progress-fill] / [data-shiny-splash-percent] and owns fade/hide). Spinners ring/dots/bar/pulse/none, minDurationMs anti-flicker, a failSafeMs auto-dismiss so a boot failure is never hidden behind the splash, and WASM-only blazorLoadProgress mirroring --blazor-load-percentage. <SplashScreenHost Until="StartupAsync" /> awaits real startup work and dismisses in a finally. No MAUI equivalent by design — MAUI has the native MauiSplashScreen; in Blazor Hybrid you use both and match their background colors. See splash-screen.md
CarouselGallery: Netflix-style horizontal carousel with snap-to-center, configurable scale transforms (FocusedItemScale/UnfocusedItemScale), peek area insets, infinite loop, two-way position tracking, and SnapCount (0=free scroll, 1+=snap to item). Uses native recycler views on MAUI and CSS scroll-snap on Blazor
Carousel (Blazor only, Carousel<TItem>): An Embla-style, transform-based drag carousel. A pointer-drag engine (mouse click-drag + touch flick with momentum) translates the track — no native scroll-snap. Parameters: Items/ItemTemplate (+PlaceholderTemplate, EmptyTemplate, ThumbnailTemplate); layout Align (Start/Center/End), SlidesPerView (fill-to-fit sizing), SlidesToScroll, VariableWidths (content-sized slides), fixed ItemWidth/ItemHeight/ItemSpacing, Orientation (Horizontal/Vertical) with ViewportHeight, Rtl; interaction Draggable, DragFree (momentum, no snap), Loop; auto-motion AutoPlay+AutoPlayInterval, AutoScroll+AutoScrollSpeed (continuous marquee), PauseOnHover; scroll-linked Effect (None/Scale/Opacity/Parallax/Fade) tuned by FocusedItemScale/UnfocusedItemScale/ParallaxFactor/MinOpacity; chrome ShowArrows/ShowIndicators (dots = snap count)/ShowCounter ("n / total")/ShowProgress (scroll-position bar)/ShowThumbnails; LazyLoad+LazyLoadBuffer. Two-way CurrentPosition (selected snap index), CurrentPositionChanged, ItemSelected. Methods NextAsync/PreviousAsync/GoToAsync(snap)/GoToSlideAsync(item). Keyboard arrows/Home/End. Effects animate live during drag. Use CarouselGallery for MAUI/Blazor parity; use Carousel for the richer Blazor-only drag experience
CoverFlowView (both hosts, core packages): Album-art Cover Flow carousel — the centre item faces the viewer, side items tilt toward it (SideAngle 60) and stack (CenterSpacing 130, ItemSpacing 50, SideScale 0.85, SideOpacity), with drag/flick momentum, tap a side item to centre it, tap the centre to select, Loop, ShowReflection/ReflectionOpacity, CaptionTemplate for the centre item, VisibleItems window (virtualized), two-way CurrentPosition, AnimationDuration, IsSwipeEnabled. MAUI: ItemsSource/ItemTemplate, Next/Previous/GoTo, PositionChanged(Command), ItemSelected(Command); Blazor: CoverFlowView<TItem> with Items, NextAsync/PreviousAsync/GoToAsync, ItemSelected, Perspective, keyboard. See cover-flow.md
ParallaxCollectionView (MAUI) / ParallaxList (Blazor): A scrollable list with a hero header that translates at a configurable fraction of the scroll offset (ParallaxFactor, default 0.5 = half speed). Optional CollapseToSticky clamps the header to a MinHeaderHeight minimum, and FadeHeaderOnScroll fades it out as it scrolls. MAUI wraps a real CollectionView (ItemTemplate, EmptyView, SelectionMode, SelectedItem, ScrollTo, custom ItemsLayout) in a Grid and drives the hero translation from CollectionView.Scrolled. Blazor uses a CSS-positioned hero plus a tiny JS scroll listener that mutates transform/opacity directly (rAF-throttled) so parallax runs at native scroll framerate without Razor re-renders. Both hosts fire a Scrolled event with ParallaxScrollEventArgs(verticalOffset, headerTranslation, headerVisibleHeight) for driving sticky titles, fading nav chrome, etc. No platform handlers
ShinyToolbar + ShinyTabBar (Blazor only — there is no MAUI equivalent, never emit shiny:ShinyToolbar): ShinyToolbar is an action bar docked to the top or bottom of its scroll container (Dock, Sticky, Title/StartContent/ChildContent, Frosted glass, ShowItemLabels); its trailing ToolbarItems are measured against the room the bar has and the ones that do not fit collapse into an overflow dropdown automatically, while EndContent sits beside them pinned and never collapses. Any item with Children becomes a menu button — it opens a dropdown instead of raising ItemClicked, nests into submenus as deep as you like, and takes IsSeparator dividers between groups; a menu button that lands in the overflow menu keeps its children as a submenu row there. Every panel is drawn in the browser's top layer via the popover API, so a bar inside a card, panel or scroller is never clipped by that ancestor's overflow. ShinyTabBar is the mobile-style bottom tab bar with @bind-SelectedKey, per-tab ActiveIcon and badges. See toolbar-tabbar.md
Foldables (core Shiny.Maui.Controls seam + Shiny.Maui.Controls.Foldables add-on for the providers; Blazor is CSS in core): when a fold divides the window (Android foldables, iPhone Duo on iOS 27.1), Flyout panels snap to the fold, dialogs/overlays/toasts/ImageViewer move into a segment, FloatingPanel/SheetView gain a tabletop detent, and Gantt/DataGrid/DockSplitter/carousels/Walkthrough/ShinyTabBar keep clear of the hinge. builder.UseShinyFoldables(), or cfg.UseFoldPosture(IFoldPostureSource) for your own (explicit wins). No source = no change. See foldables.md
Flyout (MAUI only — using Shiny.Maui.Controls.Flyout;; the Blazor equivalent is AppLayoutPanel inside AppLayout, see layout.md): a side panel that slides in from either edge, rests as a narrow icon rail instead of a full panel, and either pushes the content aside or floats over it — the FlyoutPage replacement that also works inside Shell, which FlyoutPage cannot. FlyoutPanel is one panel (PanelContent body, RailContent for the rail, pinned HeaderContent/FooterContent); FlyoutView is the layout hosting Content plus a Start and/or End panel; ShinyFlyoutPage is a ShinyContentPage built around one, where the content property is Detail (a View — MAUI cannot parent a Page inside a page, so never emit <ShinyFlyoutPage.Detail><NavigationPage>); and ShinyFlyout.StartTemplate/EndTemplate are attached properties on a Shell or NavigationPage that install a flyout over every page it shows (a DataTemplate, so each page builds its own panel and only the state carries across; pair with Shell.FlyoutBehavior="Disabled"). States are Hidden/Collapsed(the rail)/Expanded, sides are RTL-aware Start/End, presentation is Overlay/Push/Auto (Push at or above CompactWidth, default 800). The rule: Presentation governs an Expanded panel — a Collapsed rail always insets the content on both presentations, which is why expanding a rail in Overlay floats the panel over the content without the content moving. CollapseBelow drops an expanded panel to CollapsedState under a width measured on the FlyoutView and restores it when it grows back, unless the user has since changed the state deliberately. Plus ExpandedWidth/CollapsedWidth (+Min/MaxExpandedWidth, IsResizable inner-edge drag handle on pushing panels), HasScrim/CloseOnScrimTap, IsSwipeEnabled/EdgeSwipeWidth edge-swipe-to-open, AnimationDuration, and theme-following PanelBackgroundColor/DividerColor. Drive it from a view model with IFlyoutService (ToggleAsync/SetStateAsync/GetState/StateChanged), which resolves the flyout on the page currently showing. See flyout.md
ShinyNavigationPage + ShinyNavBar (MAUI only, core package — there is no Blazor equivalent; never emit <ShinyNavigationPage> in Razor): a NavigationPage subclass, so PushAsync/PopAsync/PopToRootAsync/InsertPageBefore/RemovePage, the modal stack, page lifecycle, Android hardware back and Pushed/Popped/PoppedToRoot all still work — what it adds is toolbar items on the left as well as the right, which no platform's native bar has room for (that slot is the back button's everywhere, and AppKit/GTK4 have no bar at all). The native bar is hidden and ShinyNavBar draws its own, so the overflow menu, badges, motion icons and collapsing large title render identically on every head. Items go on the page as ShinyNav.LeftItems / ShinyNav.RightItems; NavBarItem derives from ToolbarItem (so Text/IconImageSource/Command/IsEnabled/IsDestructive/Clicked/Order/Priority keep their meanings) and adds Icon (motion icon name), IconSource/IconPathData/Motion, IconColor, Badge/BadgeColor ("" is a dot, null is nothing), Display, IsVisible, IsSeparator, Tag. A page's own Page.ToolbarItems are drawn on the right automatically, ahead of RightItems, so adopting the page never means rewriting a toolbar. Order="Secondary" always overflows; anything past MaxVisibleItems (default 3, per side) overflows behind it. Everything MAUI already gives a NavigationPage is honoured rather than reinvented — Page.Title, SetHasBackButton, SetBackButtonTitle, SetTitleView, SetTitleIconImageSource, SetIconColor, BarBackground/BarBackgroundColor/BarTextColor — with one exception: SetHasNavigationBar is read only as the starting value (that property is the slot the class had to take over to hide the native bar), so the runtime switch is ShinyNav.SetIsNavBarVisible(page, false). LargeTitleDisplay is Inherit/None/Always/Collapsing — Inherit means None on the navigation page and "follow the navigation page" on a page, which is what lets one page turn the large title off; Collapsing follows the first ScrollView/ItemsView found unless ShinyNav.ScrollSource names one. Per-page overrides live on ShinyNav (Subtitle, LargeTitle, TitleAlignment, BackButtonIcon, BackButtonCommand, BarBackgroundColor, BarTextColor); appearance defaults live on the navigation page (BarHeight, BarPadding, HasShadow, HasSeparator, ItemSpacing, IconSize, MaxVisibleItems, OverflowIcon, MenuTemplate, AnimationDuration, BarIconColor — not IconColor, which is MAUI's attached per-page one). Non-ContentPage pages are left alone; a ShinyContentPage is wrapped at PageContent so overlays stay on top; iOS edge-swipe-back is put back deliberately (EnableSwipeBackGesture). Shell cannot host it — present it modally from a Shell app. See navigationpage.md
Page Transitions (both hosts, core packages; Blazor: <PageTransitionHost> around @Body in the layout, <PageTransition Push=... Direction=... /> in a page, data-shiny-hero="name" attribute, <Entrance Animation=...> - View Transitions API, no gestures/modals/tabs; MAUI native on iOS + Android, managed property animations on Windows/macOS/Mac Catalyst/Linux; UseShinyControls(cfg => cfg.UsePageTransitions(...))): transitions are normally set on the page — shiny:PageTransition.Push (how it arrives), Pop (how it leaves; Default mirrors Push), Modal (for PushModalAsync, in place of Push/Pop), Direction (FromRight/FromLeft/FromBottom/FromTop), Duration and Animator (a custom IPageTransitionAnimator), picked up by PushAsync, PushModalAsync, Shell.GoToAsync and Shiny MAUI Shell alike. For one navigation, extension overloads take the transition: Navigation.PushAsync(page, PageTransitionType.Cover, PageTransitionDirection.FromBottom), PopAsync(type), PushModalAsync(page, type), PopModalAsync(type), Shell.GoToAsync(route, type), each also with an IPageTransitionAnimator. Precedence: one-shot call > page Animator > page type > app defaultAnimator > modalTransition/defaultTransition > platform; then reduced motion (reducedMotion: Crossfade|None|Ignore). IPageTransitionAnimator.AnimateAsync(PageTransitionContext ctx, CancellationToken ct) animates ctx.FromSurface/ctx.ToSurface (not the pages: on GTK the surface is the page's Content), From may be null, the host resets transforms/opacity afterwards. Types: None, Fade, FadeThrough, Slide, Push, Cover, Reveal, SharedAxisX/Y/Z, Zoom, CircularReveal, Flip, NativeZoom (no SlideUp — use Cover + FromBottom). PageTransition.Hero pairs a view on two pages by name so it flies between them; PageTransition.Entrance on a layout cascades its children in (every head, no setup). UsePageTransitions also animates Shell tabs (shellItemTransition, per tab PageTransition.Tab on ShellContent/Tab/ShellItem), adds iOS fullScreenSwipeBack and Android 14 predictiveBack (needs android:enableOnBackInvokedCallback="true"). It registers ShinyShellRenderer as the Shell handler, so a custom Shell renderer must derive from ShinyShellRenderer. Android modals/NavigationPage and Mac Catalyst only animate through the per-call overloads. See page-transitions.md
Ribbon (both hosts, but a desktop control — Shiny.Maui.Controls.Desktop in the Shiny.Maui.Controls.Desktop.Ribbons namespace, and the core Shiny.Blazor.Controls package on Blazor, the same split docking uses): the Office-style tabbed command bar — Ribbon → RibbonTab → RibbonGroup → items, authored declaratively on both hosts (nested elements in XAML, nested components in Razor; there is no ItemsSource form, never invent one) and needing no registration at all (do not emit UseShinyRibbon()/AddShinyRibbon()). Items are RibbonButton, RibbonToggleButton (two-way IsChecked/Checked), RibbonSplitButton (face runs the default action, chevron opens the menu), RibbonMenuButton, RibbonSeparator and RibbonContentItem/RibbonContent for arbitrary content. Nothing declares a column — a Large item takes one to itself and Small items stack SmallItemRows (3) deep in a shared one, with a separator or a large item starting a fresh column, so a group is re-flowed by reordering its items and nothing else. Dropdown entries are RibbonMenuEntry (nestable Children fly out as submenus): markup children on MAUI, a List<RibbonMenuEntry> Menu parameter on Blazor, the same split ToolbarItem.Children uses. A contextual tab is just ContextTitle (captions the band, picks the tertiary accent) plus a bound IsVisible/Visible; when the showing tab stops being selectable the bar falls back to the nearest one that is. DisplayMode (two-way) is Expanded/Collapsed/Simplified, and groups that do not fit fold into single buttons worst-Priority-first (CanCollapse="false" pins one open, AllowGroupCollapse="false" scrolls instead). In Razor Size must be qualified — Size="RibbonItemSize.Small" — and using <QuickAccess> forces <ChildContent> to be named too. Also RibbonGallery (in-ribbon preview gallery that steps a row at a time and drops a full grid) and RibbonNumberBox (labelled number + spinner with a unit), a per-item Shortcut shown in the tooltip, a header-end slot (HeaderEndContent / <HeaderEnd>), and GetCommands() listing every command for a command search. Do not generate a ribbon for a phone; use ShinyToolbar/ShinyTabBar or ShinyTabbedPage. See ribbon.md
ShinyTabbedPage + ShinyTabBar (MAUI only, core package — Blazor's ShinyTabBar is a different, simpler component, see toolbar-tabbar.md; never emit <ShinyTabbedPage> in Razor): an improved TabbedPage — motion icons in the tabs, per-tab badges, an animated transition between tabs, tab content that is built on first selection and then cached, and a raised centre button that presents the current page's actions. ShinyTabbedPage is the standalone page (content property Tabs, holding ShinyTabItems with Content or a ContentTemplate; Transition takes the same StateTransition as StateView/Wizard and Slide is direction-aware). A ContentTemplate may inflate a View or a whole ContentPage, which is adopted — its Content is hosted, its Title fills in the tab, its BindingContext is mirrored across — but it gets no OnAppearing (MAUI raises page lifecycle only for the page the platform presented, so SendAppearing() on it does nothing): implement ITabAware (OnTabAppearing/OnTabDisappearing) on the content, the page or its view model instead. For a Shell, add ShinyTabBarBehavior to Shell.Behaviors — it hides the platform bar, mirrors the Shell's own tabs, docks the bar over the current page and turns a tap into a CurrentItem change, so routes, deep links and per-tab navigation stacks all keep working; the bar's Items are managed by the behavior, so per-tab chrome goes on the Shell elements. Per-page chrome is the ShinyTabs attached properties (Badge, BadgeColor, Icon, Title, Actions, MenuContent/MenuContentTemplate, IsTabBarVisible) set on the page or the ShellContent — Actions needs a <shiny:TabActionCollection> wrapper in XAML, the way VisualStateGroups needs VisualStateGroupList. Badge="" is a dot, Badge=null is nothing; put the badge on the tab/ShellContent when it must show before the tab is ever opened, and on the page when the page computes it. TabCenterButton.Mode="Menu" falls back to a plain click when nothing is declared. Indicators are Pill/Line/Underline/Dot/None; nothing touches a platform SDK, so it renders on AppKit and GTK4 where MAUI's own TabbedPage does not. See tabbedpage.md
Layout + AppLayout (Blazor only — MAUI already has VerticalStackLayout/HorizontalStackLayout/Grid, so use those there instead): VStack/HStack are flexbox stacks (Spacing in px, Align, Justify, Wrap, Reverse, Grow, Scrollable, Padding, Background) styled entirely inline, and they merge a consumer's class/style rather than letting the splat clobber their own. Grid/Row/Column are a responsive 12-column grid: each Column takes a span per breakpoint (Xs <576 · Sm ≥576 · Md ≥768 · Lg ≥992 · Xl ≥1200 · Xxl ≥1400) that cascades upwards Bootstrap-style, so Md="6" alone is full width on phones and half from 768px up, plus per-breakpoint OffsetXs…OffsetXxl / OrderXs…OrderXxl, Fit (shrink to content) and span-less columns that share the row equally; spans are chained var() fallbacks in media queries rather than 72 generated classes, and gutters are padding-based so a 6+6 pair still totals 100%. AppLayout is an application shell — AppLayoutHeader, AppLayoutFooter, AppLayoutPanel (Side="Left|Right") and AppLayoutContent placed by CSS grid areas, so markup order does not matter. Panels cycle PanelState.Hidden/Toolbar (a rail rendering arbitrary ToolbarContent)/Shown via @bind-State or SetStateAsync/ToggleAsync, drag-resize between MinSize/MaxSize reporting back through @bind-Size (JS writes the width during the drag and only commits on pointer-up), keep their own scroll regions for the body and rail while HeaderContent/FooterContent stay pinned, take per-region border config that falls back to the shell's BorderWidth/BorderColor through CSS variables, auto-compact under CollapseBelow (measured on the shell, not the window) with Shown there floating as a scrimmed drawer, and optionally persist state+width to localStorage via PersistKey. HeaderSpan/FooterSpan choose whether the header/footer run the full width or are inset between the panels. See layout.md
ShinyFlexLayout (MAUI only, core package - Blazor uses native CSS flexbox): a fast replacement for MAUI's FlexLayout with the same properties and Microsoft.Maui.Layouts enums (Direction, Wrap, JustifyContent, AlignItems, AlignContent; attached Grow/Shrink/Basis/AlignSelf/Order under the shiny:ShinyFlexLayout. prefix), plus RowSpacing/ColumnSpacing gaps (CSS row-gap/column-gap). Child measurements are cached until the child invalidates, so same-size passes measure nothing, a single change re-measures one child, and resizes reuse leaf measurements. Shrink is CSS-weighted; Position (absolute) is not supported. Prefer it over FlexLayout in generated MAUI code. See flex-layout.md
YogaLayout (MAUI + Blazor, core packages): the layout model of Yoga (Meta's React Native flexbox engine; credit to the Yoga project), implemented independently: pure C# on MAUI, CSS with Yoga's defaults on Blazor. Yoga defaults: Column, shrink 0, align-content FlexStart, min size 0. Extras: absolute PositionType with Left/Top/Right/Bottom/Start/End insets, percentage lengths ("50%"), AspectRatio, AutoMargins (YogaEdges), Display. MAUI child props are attached; sizes are NodeWidth/NodeHeight (never YogaLayout.Width, which collides with VisualElement.Width). On Blazor every node is a nested <YogaLayout> and lengths are strings. See yoga-layout.md.
StaggeredGrid: Pinterest-style masonry/waterfall layout with variable-height items in configurable columns. Items with HeightRequest on the root template view use that value directly for measurement. Uses native staggered layout managers on MAUI and CSS column-count on Blazor
VirtualizedGrid: Full-featured grouped grid with sticky section headers, virtualization, orientation-aware column counts, cell padding, load-more button (renders as footer at end of data) with custom template support, and item visibility tracking. Uses native grid layouts on MAUI and CSS Grid on Blazor
Quick Entry (using Shiny.Maui.Controls.QuickEntry; / using Shiny.Blazor.Controls.QuickEntry;) — an assistant-style prompt popup summoned over whatever the user is looking at, in the CORE packages on BOTH hosts, plus a Siri-style screen-edge glow on the same service. Registered by UseShinyControls() / AddShinyControls(); configure with cfg.ConfigureQuickEntry(o => …). Blazor additionally needs one <QuickEntryHost /> in the root layout. Presentation: QuickEntryOptions.Presentation is Auto (default) / InApp / Desktop — Auto uses a native always-on-top OS window where the Shiny.Maui.Controls.Desktop add-on is registered with UseShinyDesktop(cfg => cfg.UseQuickEntryWindow()) on Windows/macOS/Linux, and an in-app page overlay everywhere else; explicit Desktop where unavailable falls back to the overlay and logs. ⚠️ The in-app overlay does NOT paint on the macOS AppKit head (net11.0-macos) — re-parenting a ContentPage's Content at runtime does not re-render there, which is a pre-existing limitation shared with Toast and Dialogs, not a quick entry bug; Auto picks the desktop window on macOS so the default path is fine, but never suggest Presentation = InApp as a fix on that head. iOS, Android, Mac Catalyst and Blazor are in-app only — never emit Presentation = Desktop as the fix for those, and the Blazor options class has no Presentation member at all. IQuickEntryService: Show/Hide/Toggle, PreloadAsync (MAUI), Resize (MAUI), IsOpen/Content/ResolvedPresentation, Opened/Closed, and the glow — ShowGlow/HideGlow/PulseGlowAsync/IsGlowVisible/IsGlowSupported (one service, deliberately, since the two are almost always used together). QuickEntryOptions: Presentation, Placement (TopCenter/BottomCenter/Center/NearCursor/Manual — Blazor has only the first three), Width, CollapsedHeight, MaxHeight, TopMarginRatio/BottomMarginRatio, AutoSize, DismissOnFocusLost, DismissOnScrimTap, DismissOnEscape, ActivateOnShow, ScrimColor, ContentFactory, RecreateContentOnShow, ScreenGlow (None/WhileOpen/WhileBusy), Glow, and the desktop-only HotKey/ShowInTaskbar/JoinAllSpaces. The default content is PromptView (NOT AiPromptView — that name never shipped): Text, Placeholder, leading icon (Icon/IconContent/ShowIcon/IconSize, default is the built-in animated orb), IsBusy, BusyText, Suggestions (PromptSuggestion = Text/Description/Glyph/Value) + SuggestionTemplate, MaxVisibleSuggestions, DropdownContent, DropdownHeight (unset = size to content, set = pinned and scrolling), Response (plain text, rendered in a built-in label) and ResponseContent (any view/markup, wins when both are set), Footer, LeadingTools/TrailingTools, SubmitCommand/SuggestionCommand/MicrophoneCommand, ShowMicrophone, ShowSubmitButton, ClearOnSubmit, colours, events Submitted/SuggestionSelected/Cancelled/ResponseChanged. Tools: LeadingTools (beside the orb) and TrailingTools (before the microphone/submit glyphs) take PromptTools — same IconTextTool base as TextEntryTool on MAUI, a plain object with Icon/Text/Title/ToolColor/Clicked on Blazor. A tool that needs the prompt implements IPromptAwareTool (MAUI Attach/Detach) or overrides OnAttached/OnDetached (Blazor, which also hands it the app's IServiceProvider); whatever it subscribes to in attach must come off in detach. PromptTextToSpeechTool in Shiny.Maui.Controls.SpeechAddins / Shiny.Blazor.Controls.SpeechAddins reads the answer aloud via Shiny.Speech — hidden until there is something to read, a stop button while speaking, with AutoSpeak/HideWhenEmpty/TextSelector/SpeechRate/Pitch/Volume/VoiceName/Culture. It speaks Response, so an answer set only through ResponseContent needs a TextSelector. MAUI needs AddSpeechServices()/AddTextToSpeech() registered — every SpeechAddins tool resolves its engine from DI and silently no-ops otherwise. Shiny.Maui.Controls.SpeechAddins targets ios/android/maccatalyst/macos/windows; there is NO plain net11.0 target, so the GTK/Linux head cannot reference it (Shiny.Speech's net11.0 assembly is browser-only) — resolve the tool by name in source shared with that head. Blazor needs only a WebAssembly host; the synthesiser is the browser's own speechSynthesis, reached through the package's JS module, and nothing needs registering. It does no AI itself — handle Submitted, set IsBusy, assign the response. It is an ordinary control, so it also works inline on a page on every platform. Keyboard: ↑/↓ walk suggestions, Enter submits or picks, Escape unwinds one state at a time (cancel → highlight → response → text) before closing. Custom popup content joins in via IQuickEntryKeyHandler, reports busy state for the glow via IQuickEntryBusyState, hears open/close via IQuickEntryPresentationAware, and — if it changes size — reports its own height via IQuickEntryAutoSize (the host otherwise measures, which only holds for fixed-height content). On Blazor the popup's own prompt is configured through IQuickEntryService.ConfigurePrompt(state => …) because a service cannot hand a component parameters; using <PromptView> directly on a page takes ordinary parameters instead
Desktop (Tray Icon + Docking + Desktop Quick Entry): A single desktop-only add-on package Shiny.Maui.Controls.Desktop bundles the features that share the desktop TFM matrix (Windows + macOS AppKit + MacCatalyst + Linux):
using Shiny.Maui.Controls.Desktop.TrayIcon;) — cross-platform system tray / status-bar icon. Windows (Shell_NotifyIcon), macOS AppKit (NSStatusItem, native net11.0-macos build), MacCatalyst (AppKit bridged via the Objective-C runtime), Linux (libayatana-appindicator3 + GTK 3 — requires the system library installed). API: ITrayIconFactory resolved from DI, then ITrayIcon with SetIcon(Func<Stream>) (PNG or ICO bytes — Windows auto-wraps PNG into ICO), Tooltip, Title (macOS/Linux label, ignored on Windows), IsVisible, IsTemplateImage (macOS auto-tint), SetMenu(TrayMenu), ShowMenu(), and PrimaryClick/SecondaryClick/DoubleClick events. Menus are built fluently with TrayMenu.Build(b => b.Item(...).Check(...).Separator().Submenu(...)) — TrayMenuItem, TrayCheckMenuItem, TraySeparator, and TraySubmenu. Mutating any item's Label/IsEnabled/IsVisible rebuilds the native menu automatically. No Blazor equivalent — tray icons are a desktop OS concept. Always registered by .UseShinyDesktop() in MauiProgram.csusing Shiny.Maui.Controls.Desktop.Docking;) — Visual-Studio-style window docking for MAUI desktop, with the Blazor host shipping in the main Shiny.Blazor.Controls package (namespace Shiny.Blazor.Controls.Docking). DockHostView attaches to any existing ContentPage (not a ContentPage subclass) and orchestrates DockGroupView, DockTabStrip, and DockSplitter building blocks. Public surface includes IDockHost (per-window controller — LoadAsync, Snapshot, ShowPanelAsync/HidePanelAsync/ActivatePanelAsync, ResetLayoutAsync, SetRailCollapsedAsync, IsLocked, Events; implemented directly by DockHostView / <DockHost>), IDockableContent (optional interface on panel views — per-instance Title/Icon, CanClose/CanFloat, OnActivated/OnDeactivated, WantsPointerDown for embedded editors), IDockableContentFactory (async Task<View> CreateAsync(string instanceId, ...) + DisplayName/Icon/CanClose, registered with cfg.AddDockPanel<TView>("panel-id", displayName: …, icon: …, canClose: …) inside UseShinyDesktop(cfg => …); canClose: false hides the tab's close button and makes HidePanelAsync refuse the panel, for panels a surface cannot function without), IDockLayoutStore (bring-your-own persistence — no default ships; attach via the host's LayoutStore property for auto-load at startup + debounced auto-save), IDockLayoutMigrator (forward-only schema migrations), IDockEvents (LayoutChanged, PanelActivated, DragStarted/Completed/Cancelled), and IDockCommandScope (scopes Ctrl+W, Ctrl+Tab MRU, Ctrl+Alt+PgUp/Dn to the dock surface). The layout schema is a pure POCO tree (DockRoot, DockWindowState, DockSplit, DockGroup, DockTab, DockEmpty, DockCollapsedPanel) with a source-generated System.Text.Json context and SchemaVersion + MinReadableVersion for migration; DockSerialization.Serialize/Deserialize round-trip layouts to JSON. Fully interactive: tab drag to merge (drop center) / split (drop edge) / reorder (drop in tab strip) / tear off floating windows (drop outside the host — movable, resizable, re-dockable), draggable splitters with persisted clamped ratios, per-panel collapse to slim edge bars (restore on click; whole rails via SetRailCollapsedAsync), locked/read-only mode, and persisted floating-window bounds + collapsed state. Registered with .UseShinyDesktop(cfg => cfg.AddDockPanel<TView>("id")) on MAUI, services.AddShinyDocking() + .AddDockPanel<TComponent>("id") on Blazor; host controls accept InitialLayout, LayoutStore, and IsLockedusing Shiny.Maui.Controls.Desktop.QuickEntry;) — .UseShinyDesktop(cfg => cfg.UseQuickEntryWindow()) opts in to the native-window presentation of the core Quick Entry popup (borderless, always-on-top, opening over other applications) and the whole-display screen glow, and claims QuickEntryOptions.HotKey at startup. IGlobalHotKeyService is always registered by UseShinyDesktop(). The popup, PromptView and the in-app presentation are in the CORE package — see the Quick Entry entry below. Safe to call unconditionally; on MacCatalyst and non-desktop runtimes the presenters report themselves unsupported and the core service stays with the overlay. IGlobalHotKeyService.Register(accelerator, action) returns IDisposable? — null means could not claim, which is a normal outcome; never throw or assume success — and needs at least one modifier. Backed by RegisterHotKey (Windows), Carbon RegisterEventHotKey (macOS, no Accessibility prompt), XGrabKey (Linux/X11) and the org.freedesktop.portal.GlobalShortcuts portal (Linux/Wayland, GNOME 45+/KDE 6+, shows a user confirmation and may bind a different trigger). Under Wayland the desktop popup cannot be positioned or raised by the client and the whole-display glow is unavailableusing Shiny.Maui.Controls.Desktop.FileDrop;) — .UseShinyDesktop(cfg => cfg.UseFileDrop(o => …)) / cfg.UseFileDrop<TDelegate>(o => …) (opt-in) registers IFileDropService: files dragged from Finder / Explorer / Files onto the application window, anywhere in it, including on top of a BlazorWebView. This is the answer whenever someone asks for app-wide file drag/drop on desktop — do NOT reach for DropGestureRecognizer, which is per-view, unimplemented on the AppKit and GTK4 heads, broken on Mac Catalyst (dotnet/maui#23627) and sits behind hosted web content. Windows (WinUI XAML drop on the window root), macOS AppKit (the drop view becomes the window's contentView, since AppKit walks up the superview chain to find a destination), Mac Catalyst (UIDropInteraction on the UIWindow, staging NSItemProviders to temp), Linux/GTK4 (GtkDropTarget on the toplevel in the capture phase). Elsewhere IsSupported is false, attaching no-ops and nothing fires — never #if around it. IFileDropService: IsSupported, IsEnabled, Options, DragEnter/DragOver/DragLeave/Dropped, AttachTo(Window). FileDropOptions: AllowedExtensions (with or without the dot; empty = all), MaxFileSize, MaxFiles, AllowDirectories, SuppressWebViewDrop (default true — the switch that makes it work over web content), AutoAttachWindows (default true). DroppedFile: FileName, FullPath, Length, Extension, ContentType, IsDirectory, OpenReadAsync(), ReadAllBytesAsync(), plus the static FromPath. IFileDropDelegate (singleton, OnFilesDropped(FileDropContext)) handles drops app-wide and can set Handled to suppress the event. ⚠️ A wholly refused drop raises DragLeave, not Dropped — no platform sends a leave after a drop, so an overlay bound to the drag state would otherwise never come down. ⚠️ Hover events may carry placeholder files with no name or size (Catalyst, and every browser); bind overlays to Files.Count/HasAcceptableFiles. The Blazor half lives in the CORE package — see the Blazor File Drop entry below. Full reference: file-drop.mdusing Shiny.Blazor.Controls.FileDrop;) — Blazor half of the MAUI service above, in the CORE Shiny.Blazor.Controls package. services.AddShinyFileDrop(o => …) / AddShinyFileDrop<TDelegate>(), covered by AddShinyControls() with cfg.ConfigureFileDrop(…), then ONE <FileDropHost /> in the root layout (it calls StartAsync() after the first render — a JS module cannot be imported during prerender). Listeners go on window in the capture phase, so the drop is caught wherever it lands, before any component sees it, and the browser never navigates away to the dropped file. IFileDropService: IsSupported, IsRunning, IsEnabled, Options, DragEnter/DragOver/DragLeave/Dropped, StartAsync/StopAsync, ReleaseAsync. Registered SCOPED — it holds a JS module reference, a DotNetObjectReference and the last drop's files, all per-user, so a singleton would hand one user's files to every user on Blazor Server. DroppedFile here has NO FullPath — the browser gives none; read with OpenReadAsync(maxAllowedSize = 32MB) / ReadAllBytesAsync(...), and IsMetadataKnown is false for the placeholder entries reported while a drag is still moving (the DataTransfer API hides names and sizes until drop, so only ContentType is set). FileDropOptions: AllowedExtensions, MaxFileSize, MaxFiles, ReleaseFilesAfterHandling (default true — the files sit in JS memory until released). ⚠️ Same rule as MAUI: a wholly refused drop raises DragLeave, not Dropped. Full reference: file-drop.mdusing Shiny.Blazor.Controls.OnScreenKeyboard;) — Blazor only; there is no MAUI implementation. Shiny.Maui.Controls.Desktop.OnScreenKeyboard, UseOnScreenKeyboard, IOnScreenKeyboard and OnScreenKeyboardView do not exist and will not compile — never generate them. Touch / kiosk soft keyboard in the main Shiny.Blazor.Controls package. US-QWERTY letters plus a 123 symbols layer; Shift and Caps Lock are render-time state rather than layers, so ⇧ is momentary and ⇪ raises only the letters and leaves the number row alone. Press-and-hold autorepeat (400ms delay, 50ms interval, configurable) on characters, ⌫, space and arrows. Critically does NOT take the caret off the field — every key cancels pointerdown, on the key and on the container, so the browser's focus default never runs. Types via execCommand('insertText') (selection-replace + undo intact) with a value splice fallback that raises both input and change, so plain @bind and @bind:event="oninput" both see keystrokes. ▲/▼ walk lines in a <textarea>; Enter dispatches real key events and submits the form on a single-line input unless cancelled, and EnterInsertsNewLine types a newline in a textarea instead. PushContent pads the body, and the focused field is separately scrolled clear of the keys in whichever container actually scrolls. Themed by --shiny-osk-* CSS custom properties; OnScreenKeyboardTheme.Auto (default) follows the app's theme tokens, Light/Dark pin a palette. Public surface: IOnScreenKeyboardService (Show() / Hide() / Toggle() / IsVisible / VisibilityChanged) plus OnScreenKeyboardOptions, registered SCOPED and live so it can be mutated at runtime (scoped, not singleton, because it is per-user state - identical under WASM, but a singleton leaks across users on Blazor Server). Register with services.AddShinyControls() (preferred - one call covers Toast, Dialogs, SplashScreen, Walkthrough, Docking and the keyboard, with ConfigureKeyboard(...) for options) or services.AddShinyOnScreenKeyboard(opts => ...) a la carte, then place <OnScreenKeyboardHost /> once in MainLayout.razor. Limitations: DOM inputs only (no system-wide injection), no Shadow DOM, no IME / dead keys / language switching, no Ctrl or Alt keys, and keys are tabindex="-1" by design — do not describe it as switch-navigableFeedback Service: All interactive controls fire events through IFeedbackService. Default HapticFeedbackService provides tactile feedback. Replace with SetCustomFeedback<T>() in UseShinyControls() for TTS, sounds, analytics, or custom responses. The control parameter is the actual control instance (use pattern matching like control is ChatView), and args carries context — ChatMessage for ChatView events, native EventArgs for standard MAUI controls. Standard MAUI control integration is pluggable and AOT-compatible via MauiControlFeedbackBuilder — use AddDefaultMauiControlFeedback() for all built-in hooks, add custom hooks with Hook<TControl>(eventName, subscribe, unsubscribe), or use AddMauiControlFeedback() for only the hooks you configure
Invoke this skill when the user wants to:
CanSelect/CanExpand predicatesdata: URIs from code without a view (e.g., for PDF export, file save, email attachment)IDialogService), with custom in/out animationslibayatana-appindicator) for tray icons on GNOME/KDEDockHostView for MAUI / <DockHost /> for Blazor) to an existing page without subclassing ContentPageAddDockPanel<TView>("solution-explorer")) so layout JSON can resolve them back to actual viewsAddDockPanel<TView>("id", canClose: false) when the surface cannot work without it (a file explorer's folder tree, an editor's document area)IDockLayoutMigratorIDockLayoutStore (e.g. backed by Shiny.Stores, a file, or a remote service) to save/load DockRoot snapshotsIDockEvents for telemetry or undo-stack integrationIDockHost.IsLocked = trueBlazorWebView or other hosted web content, which DropGestureRecognizer cannot seeIFileDropDelegate)Entry/Editor/<input>/<textarea> gains focus and types into it without stealing focusIOnScreenKeyboardService.Show()/Hide()/Toggle() (Blazor only)PushContent option)osk.exe / TabTip) — Shiny's OSK is an in-app control, not a wrapper around the OS oneNuGet: Shiny.Maui.Controls (+ Shiny.Maui.Controls.Markdown, Shiny.Maui.Controls.MermaidDiagrams, Shiny.Maui.Controls.Barcodes, Shiny.Maui.Controls.MediaElement (+ .Linux for GTK4), Shiny.Maui.Controls.Desktop for tray icon + docking)
Namespace: Shiny.Maui.Controls
XAML Namespace: http://shiny.net/maui/controls (prefix: shiny)
Desktop add-on namespaces: Shiny.Maui.Controls.Desktop.TrayIcon, Shiny.Maui.Controls.Desktop.Docking (the one registration method, UseShinyDesktop, lives in Shiny).
Desktop add-on registration: emit ONE call, builder.UseShinyDesktop(cfg => cfg…). It always registers the tray icon factory, IGlobalHotKeyService, the keyboard-shortcut key sources for AppKit/Catalyst/GTK4, the docking registry and (macOS AppKit/Windows/Linux) INotchWindowService; they are inert until used. Opt-ins on cfg: UseQuickEntryWindow(), UseFileDrop(o => …) / UseFileDrop<TDelegate>(o => …). Also on cfg: AddDockPanel<TView>(…) and ConfigureNotch(o => …), the only one that needs #if !ANDROID && !IOS && !MACCATALYST. Safe to call twice. Never emit UseTrayIcon(), UseDesktopQuickEntry(), UseDesktopNotch(), UseDesktopKeyboardShortcuts(), UseShinyDocking(), builder.AddDockPanel<T>() or builder.UseFileDrop(): they were removed and will not compile. There is no Shiny.Maui.Controls.Desktop.OnScreenKeyboard — the MAUI on-screen keyboard is not built.
NuGet: Shiny.Blazor.Controls (+ Shiny.Blazor.Controls.Markdown, Shiny.Blazor.Controls.MermaidDiagrams, Shiny.Blazor.Controls.Barcodes, Shiny.Blazor.Controls.MediaElement; the Blazor docking host is in the main package, not an add-on)
Namespaces: Shiny.Blazor.Controls, Shiny.Blazor.Controls.Cells, Shiny.Blazor.Controls.Sections, Shiny.Blazor.Controls.Scheduler, Shiny.Blazor.Controls.Chat, Shiny.Blazor.Controls.Markdown, Shiny.Blazor.Controls.MermaidDiagrams, Shiny.Blazor.Controls.Docking, Shiny.Blazor.Controls.OnScreenKeyboard
Blazor DI registration — most controls need none: a component brings its own scoped CSS and JS module, so a <PackageReference> is enough. Only the service-backed ones need registering, and one call covers all of them, mirroring MAUI's UseShinyControls():
using Shiny.Blazor.Controls;
builder.Services.AddShinyControls(cfg => cfg
.ConfigureDialogs(o => o.DefaultAnimation = DialogAnimation.Zoom)
.ConfigureKeyboard(o => o.HeightPx = 320)
.UseHttpImageDownloader() // optional - ShinyImage via HttpClient
.SetCustomImageDownloader<MyDownloader>() // or your own
.SetCustomDialogs<MyDialogs>() // also SetCustomToaster / SetCustomOnScreenKeyboard / SetCustomWalkthroughStore
.AddDockPanel<ExplorerPanel>("explorer", "Explorer", "📁")
);
AddShinyControls() registers Toast, Dialogs, SplashScreen, the Walkthrough store, Docking, keyboard shortcuts and the On-Screen Keyboard. The à-la-carte calls (AddShinyToast, AddShinyDialogs, AddShinySplashScreen, AddShinyWalkthrough, AddShinyDocking, AddShinyOnScreenKeyboard, AddShinyImages) all still exist for apps minimising the WASM payload; every registration is TryAdd, so the two styles compose in either order and the FIRST registration wins — register a replacement before AddShinyControls(), or use a SetCustom* method. Placing a host component (<ToastHost />, <DialogHost />, <SplashScreenHost />, <DockHost />, <OnScreenKeyboardHost />) without the matching registration throws a DI resolution exception at render time, which is exactly what the umbrella call avoids.
All of these services are registered Scoped, never Singleton — they hold per-user UI state. Under WASM the lifetimes are identical, but on Blazor Server a singleton would show one user's toast/dialog/keyboard to every connected user. The single deliberate exception is DockableContentRegistry (singleton): an immutable lookup over the registered panel factories with no per-user state.
The packages target .NET 11 (net11.0, MAUI 11, Blazor 11). Generated projects need the .NET 11 SDK, Android SupportedOSPlatformVersion 24 or higher and Mac Catalyst 17.0 or higher (iOS 15.0).
Install the NuGet package
dotnet add package Shiny.Maui.Controls
Configure in MauiProgram.cs
using Shiny;
var builder = MauiApp.CreateBuilder();
builder
.UseMauiApp<App>()
.UseShinyControls();
Add the XAML namespace to your pages
xmlns:shiny="http://shiny.net/maui/controls"
Install the NuGet package
dotnet add package Shiny.Blazor.Controls
Add @using directives (typically in _Imports.razor)
@using Shiny.Blazor.Controls
@using Shiny.Blazor.Controls.Cells
@using Shiny.Blazor.Controls.Sections
@using Shiny.Blazor.Controls.Scheduler
@using Shiny.Blazor.Controls.Chat
@using Shiny.Blazor.Controls.Markdown
@using Shiny.Blazor.Controls.MermaidDiagrams
No DI registration is required for Blazor — components are used directly in .razor pages.
Every control that reads "now" or "today" (calendars, schedulers, range presets, Gantt, Kanban due
dates, chat timestamps, Office date fields, image cache expiry) uses the TimeProvider registered in
DI, falling back to TimeProvider.System. Never generate DateTime.Now/UtcNow/Today inside
control code — read the clock instead. To pin the date for a demo, screenshot pass or test:
// any TimeProvider subclass, e.g. FakeTimeProvider from Microsoft.Extensions.TimeProvider.Testing
builder.Services.AddSingleton<TimeProvider>(myClock);
The Office models (Workbook, NotebookDocument, DocumentEditorController, SlideEditorController)
also expose a settable Time property for code that builds them without DI.
All controls exist on both hosts, but the Blazor surface is idiomatic Razor, not a 1:1 XAML port. When generating Blazor code, translate with these rules:
| MAUI (XAML) | Blazor (Razor) | Notes |
|---|---|---|
shiny:TableView | <TableView> | No prefix on Blazor; TableRoot is not needed |
shiny:TableRoot | (omitted) | Sections go directly inside <TableView> |
shiny:TreeView | <TreeView TItem="…"> | Strongly typed on Blazor; ExpandedIcon/CollapsedIcon/RetryIcon are RenderFragment slots, not ImageSource; Blazor adds keyboard navigation (↑/↓/←/→/Enter/Home/End) and a <LoadingTemplate> slot for the root-load spinner |
shiny:TableSection | <TableSection> | |
shiny:PillView | <Pill> | Renamed to just Pill on Blazor |
shiny:BadgeView | <BadgeView> | Wraps Content (MAUI) / ChildContent (Blazor). Colors are CSS strings on Blazor; Position is the BadgePosition enum on both hosts; empty Text auto-hides unless IsDot=true |
shiny:Avatar / shiny:AvatarGroup | <Avatar> / <AvatarGroup> | Same names. MAUI Command/Clicked → Blazor OnClick; OverflowCommand → OnOverflowClick; MAUI-only Source and ItemsSource/ItemTemplate (Blazor uses @foreach children) |
shiny:AnimatedBackground + <shiny:AnimatedBackground.Effect> | <AnimatedBackground Effect="@effect"> | Same effect class names and properties. Colours are CSS strings and lists are IReadOnlyList<string> on Blazor; MAUI Padding → Blazor Style="padding:…"; Blazor-only Fixed |
shiny:FloatingPanel in shiny:OverlayHost | <SheetView> | MAUI uses FloatingPanel+OverlayHost; Blazor uses SheetView with CSS overlay. Content goes in <SheetContent> named slot on Blazor |
shiny:ShinyButton | <ShinyButton> | Same parameters. LeftIcon/RightIcon are URL-or-SVG strings on Blazor, ImageSource on MAUI; LeftIconView is LeftIconContent (RenderFragment); ContentPadding is a CSS string. Command state (CanExecute → disabled, and AutoBusy while an async command runs) is MAUI-only — Blazor awaits Clicked instead. Disabled on Blazor vs IsEnabled on MAUI |
shiny:Fab | <Fab> | Icon takes inline SVG/text string, not ImageSource |
shiny:FabMenu | <FabMenu> | Items passed via Items parameter (List), not as children |
shiny:ImageViewer | <ImageViewer> | Source is a URL string on Blazor. The Uri loading pipeline (ring, placeholder/error artwork, caching) is MAUI-only; Blazor has no thumbnail either — it is overlay-only |
shiny:ImageEditor | <ImageEditor> | Source is byte[] (MAUI) or URL string + ImageData byte[] (Blazor); colors are CSS strings on Blazor |
shiny:ChatView | <ChatView> | Colors are CSS strings on Blazor; SendCommand is EventCallback<string> on Blazor; uses @using Shiny.Blazor.Controls.Chat |
shiny:SecurityPin | <SecurityPin> | |
md:MarkdownView | <MarkdownView> | |
md:MarkdownEditor | <MarkdownEditor> | |
diagram:MermaidDiagramControl | <MermaidDiagramControl> | |
shiny:AutoCompleteEntry | <AutoCompleteEntry> | Colors are CSS strings; SearchCommand is EventCallback<string>; supports CssClass, InputClass, DropDownClass, and AdditionalAttributes on Blazor |
shiny:CountryPicker | <CountryPicker> | Colors are CSS strings on Blazor |
shiny:AddressEntry | <AddressEntry> | Colors are CSS strings on Blazor; uses IAddressSearchProvider on both hosts |
| Scheduler views | <SchedulerCalendarView>, <SchedulerAgendaView>, <SchedulerCalendarListView> | Same names |
IToaster.ShowAsync(text, cfg => {}) | IToastService.ShowAsync(text, cfg => {}) | MAUI uses DI-injected IToaster (registered by UseShinyControls()); Blazor uses DI-injected IToastService. Blazor requires AddShinyToast() in DI and <ToastHost /> in layout |
IDialogService.Confirm(...) (DI) | IDialogService.Confirm(...) (DI) | Same interface on both hosts. MAUI auto-attaches via UseShinyControls(); Blazor needs AddShinyDialogs() + <DialogHost />. Colors are Color on MAUI, CSS strings on Blazor |
shiny:DataGrid + shiny:DataGridColumn PropertyName="Name" (items as object) | <DataGrid TItem="T"> + <PropertyColumn Property="x => x.Name"/> (generic; RenderFragment cell templates) | MAUI columns nest directly; Blazor columns go in <Columns>. Paging: MAUI PageSize, Blazor <PagerContent><DataGridPager/></PagerContent>. Reorder: MAUI AllowColumnReorder (arrows), Blazor DragDropColumnReordering (drag) |
shiny:TextEntry | <TextEntry> | Colors are CSS strings on Blazor; tools are List<TextEntryTool> on both hosts. MAUI uses ICommand, Blazor uses Action callback. Blazor TextEntryTool has Icon as string (not ImageSource) |
VerticalStackLayout / HorizontalStackLayout (built-in MAUI) | <VStack> / <HStack> | Blazor only — do not invent a MAUI VStack. Spacing is px on both; alignment is StackAlign/StackJustify enums on Blazor vs HorizontalOptions/VerticalOptions on MAUI |
Grid + OnIdiom / VisualStateManager (built-in MAUI) | <Grid> + <Row> + <Column Md="6"> | Blazor only. Responsive spans are viewport media queries, which MAUI has no equivalent of |
shiny:DockHostView (Desktop add-on) or a hand-built Grid page | <AppLayout> + <AppLayoutHeader> / <AppLayoutPanel> / <AppLayoutContent> / <AppLayoutFooter> | Blazor only. Use AppLayout for a fixed app shell with collapsible/resizable edge panels; use DockHost when the user needs VS-style tabbed, tear-off, user-rearrangeable tool windows |
| MAUI | Blazor |
|---|---|
IsOpen="{Binding IsOpen, Mode=TwoWay}" | @bind-IsOpen="isOpen" |
Value="{Binding Pin, Mode=TwoWay}" | @bind-Value="pin" |
Command="{Binding AddCommand}" | Clicked="OnAdd" / OnClick="OnAdd" (event callback) |
FontAttributes="Bold" (PillView) | Bold="true" |
Color="DodgerBlue" (MAUI Color) | Color="#1E90FF" (CSS color strings) |
ItemsSource + ItemTemplate (DataTemplate) | ItemsSource + ItemTemplate (RenderFragment<object>) |
<shiny:FloatingPanel> content is [ContentProperty] PanelContent | <SheetContent>…</SheetContent> named slot (Blazor SheetView) |
<shiny:FabMenu><shiny:FabMenuItem /></shiny:FabMenu> | Items="List<FabMenuItem>" parameter |
"#RRGGBB", "rgb(...)", named colors) — there is no MAUI Color type on BlazorIcon on Fab/FabMenuItem is a string — pass an inline SVG, emoji, or single characterRenderFragment<object> is the Blazor equivalent of DataTemplate for ItemsSource/ItemTemplateCompleted="OnCompleted" where OnCompleted(SecurityPinCompletedEventArgs e)), not ICommandISchedulerEventProvider — the same interface and models work on both hostsTableView
<TableView CellAccentColor="#10B981">
<TableSection Title="Profile">
<LabelCell Title="Name" ValueText="Allan Ritchie" />
<LabelCell Title="Plan" ValueText="Pro" />
</TableSection>
<TableSection Title="Danger zone">
<ButtonCell Title="Delete account"
ButtonTextColor="#DC2626"
OnClick="@(() => deleted = true)" />
</TableSection>
</TableView>
SheetView (Blazor only — MAUI uses FloatingPanel+OverlayHost)
<button @onclick="() => isOpen = true">Open Sheet</button>
<SheetView @bind-IsOpen="isOpen"
Detents="detents"
SheetCornerRadius="20">
<SheetContent>
<h2>Hello from a sheet</h2>
<button @onclick="() => isOpen = false">Close</button>
</SheetContent>
</SheetView>
@code {
bool isOpen;
IList<DetentValue> detents = new List<DetentValue>
{
DetentValue.Quarter, DetentValue.Half, DetentValue.Full
};
}
Pill
<Pill Text="Success" Type="PillType.Success" />
<Pill Text="Brand" PillColor="#312E81" PillTextColor="#E0E7FF" />
<Pill Text="Bold" Type="PillType.Info" Bold="true" />
Fab / FabMenu
<Fab Icon="+" FabBackgroundColor="#EC4899" Clicked="OnAdd" />
<FabMenu Items="items"
Icon="+"
FabBackgroundColor="#7C3AED"
ItemTapped="OnItemTapped" />
@code {
readonly List<FabMenuItem> items = new()
{
new FabMenuItem { Text = "New Note", Icon = "📝", FabBackgroundColor = "#10B981", Tag = "note" },
new FabMenuItem { Text = "New Photo", Icon = "📷", FabBackgroundColor = "#F59E0B", Tag = "photo" }
};
void OnItemTapped(FabMenuItem item) { /* ... */ }
void OnAdd() { /* ... */ }
}
ImageViewer
<img src="@url" @onclick="() => Open(url)" />
<ImageViewer Source="@current" @bind-IsOpen="isOpen" MaxZoom="6" />
@code {
bool isOpen;
string? current;
void Open(string url) { current = url; isOpen = true; }
}
ImageEditor
<ImageEditor @ref="editor"
Source="@imageUrl"
ImageData="@imageData"
AllowCrop="true"
AllowDraw="true"
AllowRotate="true"
AllowTextAnnotation="true"
DrawStrokeColor="#ff0000"
DrawStrokeWidth="3"
CanUndoChanged="v => canUndo = v"
CanRedoChanged="v => canRedo = v" />
@code {
ImageEditor? editor;
string? imageUrl = "https://example.com/photo.jpg";
byte[]? imageData;
bool canUndo, canRedo;
async Task Export()
{
var bytes = await editor!.ExportAsync("png");
}
}
ChatView
@using Shiny.Blazor.Controls.Chat
<div style="height:600px;">
<ChatView Messages="messages"
Participants="participants"
IsMultiPerson="true"
TypingParticipants="typingParticipants"
SendCommand="OnSend"
AttachImageCommand="OnAttach"
LoadMoreCommand="OnLoadMore"
MyBubbleColor="#DCF8C6"
OtherBubbleColor="#FFFFFF" />
</div>
@code {
List<ChatMessage> messages = new();
List<ChatParticipant> participants = new();
List<ChatParticipant> typingParticipants = new();
Task OnSend(string text)
{
messages.Add(new ChatMessage { Text = text, SenderId = "me", IsFromMe = true });
StateHasChanged();
return Task.CompletedTask;
}
Task OnAttach() => Task.CompletedTask;
Task OnLoadMore() => Task.CompletedTask;
}
PasswordStrength
<PasswordStrength @ref="field" @bind-Password="passphrase" Placeholder="Passphrase" />
<button disabled="@(field?.IsAcceptable != true)">Create account</button>
@code {
PasswordStrength? field;
string passphrase = "";
}
SecurityPin
<SecurityPin @bind-Value="pin"
Length="6"
HideCharacter="●"
Completed="OnCompleted" />
@code {
string pin = "";
void OnCompleted(SecurityPinCompletedEventArgs e) { /* verify e.Value */ }
}
Markdown
<MarkdownView Markdown="@content" />
<MarkdownEditor @bind-Markdown="content" Placeholder="Write markdown…" />
SplashScreen (Blazor only — see splash-screen.md; the markup goes in index.html, NOT a component)
<!-- wwwroot/index.html — host div OUTSIDE #app, script BEFORE blazor.*.js -->
<link href="_content/Shiny.Blazor.Controls/css/shiny-splash.css" rel="stylesheet" />
...
<div id="app">...</div>
<div id="shiny-splash" data-shiny-splash data-title="My App" data-spinner="ring" data-min-duration="600"></div>
<script src="_content/Shiny.Blazor.Controls/splash.js"></script>
<script src="_framework/blazor.webassembly.js"></script>
builder.Services.AddShinySplashScreen(); // Shiny.Blazor.Controls.Splash
@* MainLayout.razor / App.razor *@
<SplashScreenHost Until="StartupAsync" />
@code {
[Inject] ISplashScreen Splash { get; set; } = default!;
async Task StartupAsync()
{
await Splash.SetStatusAsync("Loading accounts…");
await Splash.SetProgressAsync(0.4);
await LoadAsync();
}
}
When generating code with Shiny.Maui.Controls:
xmlns:shiny="http://shiny.net/maui/controls" to the pagexmlns:md="http://shiny.net/maui/markdown" to the pageshiny:TableView > shiny:TableRoot > shiny:TableSectionshiny:ShinyContentPage as the page base class with PageContent for main content and Panels for FloatingPanels. Alternatively, place shiny:OverlayHost with shiny:FloatingPanel children inside a Grid. Supports Position="Bottom" (default), Position="Top", or Position="BottomTabs" (for use inside Shell TabBar)<SheetView> with <SheetContent> childshiny:ImageViewer inside a Grid that fills the page (it overlays on top, same pattern as SheetView)shiny:ImageEditor with Source bound to byte[] image data. Set AllowX properties to toggle features. Use CurrentToolMode (TwoWay) to control the active tool. Use CanUndo/CanRedo (OneWayToSource) to observe undo state. Call ExportAsync() to save.shiny:SchedulerCalendarView, shiny:SchedulerAgendaView, or shiny:SchedulerCalendarListView and bind Provider to an ISchedulerEventProvidermd:MarkdownView anywhere you need to render markdown contentmd:MarkdownEditor for editable markdown with toolbar and previewSwitchCell for on/off togglesCheckboxCell for accept/agree checkboxesSimpleCheckCell for selection lists (shows/hides checkmark)RadioCell for mutually exclusive choices within a sectionEntryCell for text inputCommandCell for navigation/action items with disclosure arrowButtonCell for destructive or primary actionsLabelCell for read-only displayDatePickerCell / TimePickerCell for date/time selectionTextPickerCell for dropdown selection from a listNumberPickerCell for numeric input with min/maxPickerCell for full-page single or multi-selectCustomCell for any custom MAUI viewMode=TwoWay for editable properties (On, Checked, ValueText, Date, Time, Number, SelectedIndex, SelectedItem, SelectedItems, IsOpen, IsViewerOpen, IsPreviewVisible)Mode=TwoWay for MarkdownEditor.Markdown (editor content)Mode=OneWay (default) for display-only properties (Title, Description, ValueText on LabelCell, Text on PillView, Source on ImageViewer, Markdown on MarkdownView)Mode=OneWayPath=VideoSize.Width on MediaElement) must say Mode=OneWay: MAUI 11's compiled XAML otherwise generates a setter through the read-only property and the page does not compileshiny:RadioCell.SelectedValue="{Binding Prop, Mode=TwoWay}"Style. Prefer an app-wide implicit style for
consistent theming instead of repeating the same properties at each usage site:
<Style TargetType="shiny:AutoCompleteEntry">
<Setter Property="FontSize" Value="15" />
<Setter Property="CornerRadius" Value="12" />
</Style>
ChatView with MyBubbleColor="#DCF8C6" keeps that green through every
ShinyThemeManager.SetTheme call, which looks like theme switching is broken. Omit the property
unless you actually want to pin it.Colors.DodgerBlue, Color.FromArgb("#007AFF")). Use
SetDynamicResource(prop, ShinyThemeKeys.Color.X) so the control repaints live when the theme
pack changes. ThemeTokenCoverageTests fails the build for any file that mentions a colour and
never references ShinyThemeKeys; colours that are genuinely content (the ink in SignaturePad,
the HSV ramp in ColorPicker) are listed there with a reason instead.
BindableProperty to null and pick between the
explicit value and the token at apply time — the pattern used throughout the library:
static void Tint(Element target, BindableProperty property, Color? explicitColor, string themeKey)
{
if (explicitColor is null)
target.SetDynamicResource(property, themeKey);
else
{
target.RemoveDynamicResource(property);
target.SetValue(property, explicitColor);
}
}
shadow / flat / outline / glow), density (spacing ramp and control metrics) and
border widths. That is what makes packs look genuinely unalike — colour alone cannot, because
the neutral ramp is ΔE ~1 between packs (a tone-98 near-white has no room to carry a hue), so a
control themed only on Surface / OnSurface / Outline would look identical everywhere.
Put the accent token on whatever element carries the control's identity, and take its radius,
size, stroke width and shadow from tokens too.Shiny.{Maui,Blazor}.Controls.Themes.{Ocean,Material,Terminal,Aurora}. On MAUI select
one with cfg.UseOceanTheme() / .UseMaterialTheme() / .UseTerminalTheme() / .UseAuroraTheme()
inside UseShinyControls; on Blazor <link> the pack stylesheet after the core
shiny-theme.css so it overrides :root..razor.css — border-radius: var(--shiny-shape-corner-medium, 10px),
font-size: var(--shiny-type-body-medium-size, 14px) when the value is exactly on the type
scale, otherwise calc(13px * var(--shiny-type-scale, 1)) — but never wrap an em size that
way, since em already inherits an ancestor the theme scaled; scale once on the control root
(font-size: calc(1em * var(--shiny-type-scale, 1))) and leave the em children alone. Same idea for
var(--shiny-spacing-N, …) / calc(… * var(--shiny-density-scale, 1)) and
var(--shiny-border-thin, 1px). Leave border-radius: 50% alone — a circular avatar or spinner
is intrinsic geometry.SetDynamicResource, so chain the helper:
new Label { … }.WithFontSize(ShinyThemeKeys.Type.BodySmallSize),
new RoundRectangle().WithCornerRadius(ShinyThemeKeys.Shape.CornerMediumRadius),
border.SetDynamicResource(VisualElement.ShadowProperty, ShinyThemeKeys.Elevation.Level3).
ThemeGeometryCoverageTests fails the build on a hardcoded on-scale font size, a literal
RoundRectangle radius, or an ad-hoc new Shadow.BindableProperty default (MAUI) or a parameter default written
into an inline style (Blazor) is applied to the child at construction, which clears the dynamic
resource / outranks the stylesheet. Numeric appearance properties therefore default to the
ThemeTokens.Unset sentinel (-1) — the same idea as null for colours — and resolve through
SetTokenOrValue / SetCornerTokenOrValue. On Blazor, emit the declaration only when the
consumer actually set it, and put the default in the .razor.css where the theme can reach it;
where a parameter is a string, the default can simply be the token
(CornerRadius = "var(--shiny-shape-corner-small, 8px)").propertyChanged callback that
touches a child field through StyleGuard.WhenReady, and call
StyleGuard.MarkReady(this, typeof(TheControl)) as the last line of the constructor. MAUI
applies an implicit style from StyleableElement's constructor, before the derived
constructor body runs, so an unguarded callback dereferences a null child and the page fails
to inflate. ImplicitStyleConstructionTests fails the build if a control misses this.Use ShinyContentPage for the simplest setup:
<shiny:ShinyContentPage xmlns:shiny="http://shiny.net/maui/controls">
<shiny:ShinyContentPage.PageContent>
<ScrollView>
<VerticalStackLayout>
<Button Text="Open Panel" Command="{Binding OpenCommand}" />
</VerticalStackLayout>
</ScrollView>
</shiny:ShinyContentPage.PageContent>
<shiny:ShinyContentPage.Panels>
<shiny:FloatingPanel IsOpen="{Binding IsOpen, Mode=TwoWay}">
<Label Text="Panel content" />
</shiny:FloatingPanel>
</shiny:ShinyContentPage.Panels>
</shiny:ShinyContentPage>
Or use OverlayHost manually in a Grid:
<ContentPage>
<Grid>
<ScrollView><!-- page content --></ScrollView>
<shiny:OverlayHost>
<shiny:FloatingPanel IsOpen="{Binding IsOpen, Mode=TwoWay}">
<Label Text="Panel content" />
</shiny:FloatingPanel>
</shiny:OverlayHost>
</Grid>
</ContentPage>
null) so they resolve from the active
theme. Every colour default in the library is a theme token, so unset is always the themed answer.Application.Current.UserAppTheme automatically (MAUI) and the page's
color-scheme (Blazor).SpreadsheetView, DocumentView, DocumentEditor, DocumentEditorView,
SlideView, SlideEditor, SlideEditorView, MarkdownView, MarkdownEditor — take a nullable
Theme. Leave it unset: unset follows the host scheme live. Only pass
SpreadsheetTheme / DocumentTheme / SlideTheme / MarkdownTheme .Light or .Dark when the
surface must stay that way regardless of the app (a preview that has to look like printed paper).
Never emit Theme="…Light" as a default — it pins light and defeats dark mode.shiny-theme-dark / shiny-theme-light, and it can sit on any
container, not just <html>. Colour tokens are --shiny-color-* — not --shiny-*; a wrong
token name falls back silently to the literal and the control just never follows the theme.shiny:TableView for consistent appearanceCellAccentColor for switches, checkboxes, and radio buttons globally<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:shiny="http://shiny.net/maui/controls"
x:Class="MyApp.SettingsPage"
Title="Settings">
<shiny:TableView CellSelectedColor="#E0E0E0" CellAccentColor="#007AFF">
<shiny:TableRoot>
<shiny:TableSection Title="General">
<shiny:SwitchCell Title="Notifications" On="{Binding NotificationsOn, Mode=TwoWay}" />
<shiny:SwitchCell Title="Sound" On="{Binding SoundOn, Mode=TwoWay}" />
<shiny:CheckboxCell Title="Accept Analytics" Checked="{Binding AnalyticsAccepted, Mode=TwoWay}" />
</shiny:TableSection>
<shiny:TableSection Title="Account">
<shiny:EntryCell Title="Name" ValueText="{Binding Name, Mode=TwoWay}" Placeholder="Your name" />
<shiny:EntryCell Title="Email" ValueText="{Binding Email, Mode=TwoWay}" Keyboard="Email" />
<shiny:CommandCell Title="Change Password" Command="{Binding ChangePasswordCommand}" />
</shiny:TableSection>
<shiny:TableSection Title="Theme" shiny:RadioCell.SelectedValue="{Binding Theme, Mode=TwoWay}">
<shiny:RadioCell Title="Light" Value="Light" />
<shiny:RadioCell Title="Dark" Value="Dark" />
<shiny:RadioCell Title="System" Value="System" />
</shiny:TableSection>
<shiny:TableSection Title="Preferences">
<shiny:DatePickerCell Title="Birthday" Date="{Binding Birthday, Mode=TwoWay}" Format="D" />
<shiny:TimePickerCell Title="Daily Reminder" Time="{Binding ReminderTime, Mode=TwoWay}" />
<shiny:NumberPickerCell Title="Font Size" Number="{Binding FontSize, Mode=TwoWay}"
Min="10" Max="36" Unit="pt" />
</shiny:TableSection>
<shiny:TableSection Title="About">
<shiny:LabelCell Title="Version" ValueText="1.0.0" />
<shiny:CommandCell Title="Privacy Policy" Command="{Binding PrivacyCommand}" />
<shiny:CommandCell Title="Terms of Service" Command="{Binding TermsCommand}" />
</shiny:TableSection>
<shiny:TableSection Title="Actions">
<shiny:ButtonCell Title="Sign Out" Command="{Binding SignOutCommand}" ButtonTextColor="Red" />
</shiny:TableSection>
</shiny:TableRoot>
</shiny:TableView>
</ContentPage>
<shiny:ShinyContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:shiny="http://shiny.net/maui/controls"
x:Class="MyApp.StatusPage"
Title="Status">
<shiny:ShinyContentPage.PageContent>
<ScrollView>
<VerticalStackLayout Padding="20" Spacing="10">
<Label Text="System Status" FontSize="24" FontAttributes="Bold" />
<HorizontalStackLayout Spacing="8">
<shiny:PillView Text="API" Type="Success" />
<shiny:PillView Text="Database" Type="Warning" />
<shiny:PillView Text="Queue" Type="Critical" />
</HorizontalStackLayout>
<Button Text="View Details" Command="{Binding OpenDetailsCommand}" />
</VerticalStackLayout>
</ScrollView>
</shiny:ShinyContentPage.PageContent>
<shiny:ShinyContentPage.Panels>
<shiny:FloatingPanel IsOpen="{Binding IsDetailsOpen, Mode=TwoWay}"
PanelCornerRadius="20">
<VerticalStackLayout Padding="20" Spacing="12">
<Label Text="Service Details" FontSize="18" FontAttributes="Bold" />
<HorizontalStackLayout Spacing="6">
<shiny:PillView Text="Healthy" Type="Success" />
<Label Text="API Server" VerticalOptions="Center" />
</HorizontalStackLayout>
<HorizontalStackLayout Spacing="6">
<shiny:PillView Text="Degraded" Type="Warning" />
<Label Text="Database Cluster" VerticalOptions="Center" />
</HorizontalStackLayout>
<HorizontalStackLayout Spacing="6">
<shiny:PillView Text="Down" Type="Critical" />
<Label Text="Message Queue" VerticalOptions="Center" />
</HorizontalStackLayout>
</VerticalStackLayout>
</shiny:FloatingPanel>
</shiny:ShinyContentPage.Panels>
</shiny:ShinyContentPage>
Mode=TwoWay for user-editable propertiesShowArrow="True" and KeepSelectedUntilBack="True"SelectedValue at the section levelItemsSource on sections for data-driven cellsShinyContentPage as the page base class, or place OverlayHost in a Grid for overlay panels. Place ImageViewer in a Grid as beforeText directly to your unread/count source (empty string auto-hides). Use MaxCount for numeric overflow ("99+") and IsDot for plain "has new" indicators. Reserve IsPulsing for genuinely important badgesstatic (T item) => item.Property lambda bindings, never string-basedSource nor Uri is set, the viewer is automatically InputTransparent so it won't block touches. Use OpenViewerOnTap="False" when controlling the viewer programmatically. On MAUI prefer Uri for anything remote — it caches, shows a ring, and makes the overlay open instantlyAutomationId and test against its parts (MAUI) - Set AutomationId on the Shiny control itself; every part a test drives or reads is named after it as <id>_<Part> (or <id>_<Part>_<index> / a stable key for generated items): TextEntry → <id>_Entry, ChipGroup → <id>_Chip_0, cells → <id>_Title/<id>_Value, Wizard → <id>_Next, dialogs via configure: c => c.AutomationId = "...", toasts via ToastConfig.AutomationId. Each control's page lists its suffixes (public *AutomationIdSuffix constants). Binding the control's id is safe — the parts follow it. Never assign AutomationId in code to an element a Shiny control created or named (it is set-once in MAUI and throws); set ids on your own children before adding them (XAML always does)a2ui-surface.md (opens in a new tab)address-entry.md (opens in a new tab)agent-view.md (opens in a new tab)animated-background.md (opens in a new tab)autocomplete.md (opens in a new tab)avatar.md (opens in a new tab)badge.md (opens in a new tab)barcodes.md (opens in a new tab)border-animations.md (opens in a new tab)button-group.md (opens in a new tab)button.md (opens in a new tab)camera.md (opens in a new tab)captcha.md (opens in a new tab)chatview.md (opens in a new tab)chip-group.md (opens in a new tab)confetti.md (opens in a new tab)country-picker.md (opens in a new tab)cover-flow.md (opens in a new tab)datagrid.md (opens in a new tab)diagram.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub shinyorg/skills --plugin shiny57 skills in this plugin
/localizegenGenerate strongly-typed localization classes from .resx resource files using Shiny.Extensions.Localization.Generator for .NET applications/shiny-accessorysetupGenerate code using Shiny.BluetoothLE.AccessorySetup - the system accessory pairing sheet for BLE devices (AccessorySetupKit on iOS 18+, CompanionDeviceManager on Android) with no MFi, no location prompt and no general Bluetooth prompt on iOS; picked accessories open as Shiny.BluetoothLE peripherals, and Android adds background presence (device appeared / disappeared) events/shiny-actorsGenerate code using Shiny.Actors — Orleans-style virtual actors without the ceremony, AOT/trim-clean, running anywhere .NET runs including .NET MAUI and Blazor WebAssembly. Covers actor interfaces and source-generated proxies, the ShinyActorBuilder (AddShinyActors), persistent state with ETags, named states and auto-save, event-sourced JournaledActor with snapshots, state and event migrations, typed streams (durable, implicit consumers), timers and persistent reminders (background jobs via Shiny.Jobs, on-time OS notifications via Shiny.Notifications), concurrency control ([Reentrant], [AlwaysInterleave], [ReadOnly], [StatelessWorker]), call filters and request context, OpenTelemetry traces and metrics, remoting over HTTP (Shiny.Net.HttpServer server, RemoteActorSystem client), mDNS discovery of actor servers, Shiny.DocumentDb storage (SQLite, PostgreSQL, IndexedDB...), and the ActorTestHost testing kit./shiny-agesignalsGenerate code using Shiny.AgeSignals to read the user's age range as the app store shares it - Apple Declared Age Range (iOS / macOS 26+) and Google Play Age Signals (Android) - for app store accountability laws (Texas SB 2420, Utah, Louisiana, California AB 1043) and age-gated features/shiny-aiconversationGenerate code for Shiny.AiConversation v3 - session-based AI conversations for .NET over Microsoft.Extensions.AI with persisted, resumable sessions (IAiSessionManager / IAiSession / IAiTurn), streaming replies, the built-in ask_user tool for typed questions and multiple-choice answers, interruption and supersession, usage and context-window pressure tracking, rolling context compaction, silent assistant memory, conversation search, session titles and long-term memory, session interceptors for tools and prompts, pluggable session/memory stores (in-memory or SQLite via Shiny.AiConversation.Stores.SqliteDocDb), and voice conversations via Shiny.AiConversation.Voice (wake word, push-to-talk, follow-up, quiet-word/barge-in interruption, sentence-streamed text-to-speech over Shiny.Speech, acknowledgement modes, sounds, voice selection tools), the MAUI chat UI via Shiny.AiConversation.Maui (AiChatView bound to a session with streaming bubbles, choice chips, push-to-talk and an AiMemoryView), image attachments with retention, and the use_camera tool via Shiny.AiConversation.Maui.Camera, and AG-UI via Shiny.AiConversation.AgUi (a session as an AG-UI event stream for the Shiny AgentView with ask_user questions as interrupts, the render_ui tool for A2UI surfaces, and a remote AG-UI agent as the chat client)/shiny-appdevicebridgeGenerate code using Shiny.AppDeviceBridge, device bridges on your app's own Shiny.Net.HttpServer that also host a web app (Blazor WebAssembly, React, Vue, any static build) inside a .NET MAUI app on Android, iOS, Mac Catalyst, Windows and the maui-labs macOS and Linux heads — served from a loopback HTTP server, updated over the air from a signed release server, GitHub releases or a provider of your own, and given device access through bridges with typed C# and TypeScript clientsOther plugins' skills for the same job