Skip to content
Nitro Kitv2.0.0.alpha.4

Search gallery…

IntroductionGalleryAgent guideGalleryHuman guideGalleryColorsFoundations · ThemeTypographyFoundations · ThemeSpacing & sizingFoundations · ThemeEffectsFoundations · ThemeButtonComponents · ActionsButton groupComponents · ActionsButton toComponents · ActionsAppearance pickerComponents · FormsCheckboxComponents · FormsCheckbox groupComponents · FormsComboboxComponents · FormsControl groupComponents · FormsDropzoneComponents · FormsFieldComponents · FormsField groupComponents · FormsFieldsetComponents · FormsInputComponents · FormsLabelComponents · FormsRadio buttonComponents · FormsRadio button groupComponents · FormsRich text areaComponents · FormsSelectComponents · FormsSwitchComponents · FormsTextareaComponents · FormsCommand paletteComponents · OverlaysDialogComponents · OverlaysDropdownComponents · OverlaysSheetComponents · OverlaysTooltipComponents · OverlaysAlertComponents · FeedbackEmpty stateComponents · FeedbackToastComponents · FeedbackAccordionComponents · Data displayAvatarComponents · Data displayAvatar stackComponents · Data displayBadgeComponents · Data displayDetails tableComponents · Data displayIconComponents · Data displayProgressive imageComponents · Data displayStat gridComponents · Data displayTableComponents · Data displayTypesetComponents · Data displayPaginationComponents · NavigationPagination barComponents · NavigationTabsComponents · NavigationToolbarComponents · NavigationCardComponents · LayoutContainerComponents · LayoutFlexComponents · LayoutGridComponents · LayoutApplication navigationComponents · ApplicationApplication shellComponents · ApplicationAuthentication shellComponents · ApplicationDanger zoneComponents · ApplicationData sectionComponents · ApplicationForm sectionComponents · ApplicationPage headerComponents · ApplicationSettings layoutComponents · ApplicationSign inCompositions · Access & onboardingPassword resetCompositions · Access & onboardingEmail verificationCompositions · Access & onboardingInvitation acceptanceCompositions · Access & onboardingAccount creationCompositions · Access & onboardingAccount securityCompositions · Access & onboardingWorkspace onboardingCompositions · Access & onboardingBranched onboardingCompositions · Access & onboardingWorkspace dashboardCompositions · Workspace & organizationWorkspace settingsCompositions · Workspace & organizationWorkspace usersCompositions · Workspace & organizationTeam managementCompositions · Workspace & organizationAPI credentialsCompositions · Workspace & organizationOrganization overviewCompositions · Workspace & organizationOrganization settingsCompositions · Workspace & organizationTeam activityCompositions · Workspace & organizationTeam memberCompositions · Workspace & organizationSubscription billingCompositions · Billing & commerceCheckout and paymentCompositions · Billing & commerceCheckout resultsCompositions · Billing & commerceData resource overviewCompositions · Data & operationsData resource activityCompositions · Data & operationsData resource settingsCompositions · Data & operationsProduct resource lifecycleCompositions · Data & operationsAPI webhooksCompositions · Data & operationsIntegration managementCompositions · Data & operationsFile uploadsCompositions · Data & operationsActivity and audit logCompositions · Data & operationsChangelogCompositions · Product & supportHelp centerCompositions · Product & supportSystem status and errorsCompositions · Product & supportProduct landingCompositions · MarketingPublic pricingCompositions · MarketingProduct featuresCompositions · MarketingPublic contactCompositions · MarketingSidebar operations applicationCompositions · Complete applicationsTopbar media applicationCompositions · Complete applicationsHybrid account applicationCompositions · Complete applications

No destinations found.

  • Introduction
  • Agent guide
  • Human guide
  • Foundations
    • Colors
    • Typography
    • Spacing & sizing
    • Effects
  • Actions
    • Button
    • Button group
    • Button to
  • Forms
    • Appearance picker
    • Checkbox
    • Checkbox group
    • Combobox
    • Control group
    • Dropzone
    • Field
    • Field group
    • Fieldset
    • Input
    • Label
    • Radio button
    • Radio button group
    • Rich text area
    • Select
    • Switch
    • Textarea
  • Overlays
    • Command palette
    • Dialog
    • Dropdown
    • Sheet
    • Tooltip
  • Feedback
    • Alert
    • Empty state
    • Toast
  • Data display
    • Accordion
    • Avatar
    • Avatar stack
    • Badge
    • Details table
    • Icon
    • Progressive image
    • Stat grid
    • Table
    • Typeset
  • Navigation
    • Pagination
    • Pagination bar
    • Tabs
    • Toolbar
  • Layout
    • Card
    • Container
    • Flex
    • Grid
  • Application
    • Application navigation
    • Application shell
    • Authentication shell
    • Danger zone
    • Data section
    • Form section
    • Page header
    • Settings layout
  • Access & onboarding
    • Sign in
    • Password reset
    • Email verification
    • Invitation acceptance
    • Account creation
    • Account security
    • Workspace onboarding
    • Branched onboarding
  • Workspace & organization
    • Workspace dashboard
    • Workspace settings
    • Workspace users
    • Team management
    • API credentials
    • Organization overview
    • Organization settings
    • Team activity
    • Team member
  • Billing & commerce
    • Subscription billing
    • Checkout and payment
    • Checkout results
  • Data & operations
    • Data resource overview
    • Data resource activity
    • Data resource settings
    • Product resource lifecycle
    • API webhooks
    • Integration management
    • File uploads
    • Activity and audit log
  • Product & support
    • Changelog
    • Help center
    • System status and errors
  • Marketing
    • Product landing
    • Public pricing
    • Product features
    • Public contact
  • Complete applications
    • Sidebar operations application
    • Topbar media application
    • Hybrid account application

Sidebar operations application

A realistic sidebar application combining appearance, data, upload, notification, recovery, and empty-state workflows.

Sidebar operations applicationTopbar media applicationHybrid account application

Operational workspace states

A persistent sidebar surrounds populated, empty, and failed operational screens. Each preview is the executable method shown in its Code tab.

Populated system workspace

Live system appearance, summary statistics, sortable incidents, account actions, and a durable result notification share one application frame.

Source
Gallery::Compositions::SidebarApplicationPage
Skip to content
Northstar Operations
Profile
  • Workspace
    • Overview
    • Projects12
    • People
  • Operate
    • Deployments
    • Incidents2
    • Audit log
  • Settings
Help
Navigation appearance

Operations overview

Production workspaces, active incidents, and deployment readiness at a glance.

New deploymentExport
Workspaces
18
16 healthy
Deployments today
42
All checks complete
Open incidents
2
Both assigned

Active incidents

Production events that still need an owner or a final verification.

Active production incidents
ServiceRegionStatusStarted
Workspace synchronizationeu-centralWaiting18:42
Audit exportus-eastHealthy17:08
Invoice deliveryglobalQueued15:31
  1. Production checks finished

    Release 2026.07.13 is ready to promote.
ViewportFull width
Rubytest/dummy/app/components/gallery/compositions/sidebar_application_page.rb
render NitroKit::AppShell.new(
  id: "gallery-sidebar-application-populated",
  layout: :sidebar,
  data: {
    gallery_shell_preview: "true",
    gallery_application: "sidebar",
    gallery_application_state: "populated"
  }
) do |shell|
  shell.brand { strong { "Northstar Operations" } }
  shell.navigation do
    render_application_navigation(
      id: "gallery-sidebar-application-populated-navigation",
      current: :overview,
      context: "Production",
      appearance_picker_id: "gallery-sidebar-application-appearance"
    )
  end
  shell.topbar do
    render NitroKit::Dropdown.new(id: "gallery-sidebar-application-account") do |menu|
      menu.trigger("Account", variant: :ghost, size: :sm)
      menu.item("Profile", href: "#profile")
      menu.item("Sign out")
    end
  end
  shell.main do
    render_application_main do
      render NitroKit::PageHeader.new(
        title: "Operations overview",
        description: "Production workspaces, active incidents, and deployment readiness at a glance.",
        id: "gallery-sidebar-application-populated-header"
      ) do |header|
        header.actions NitroKit::ButtonGroup.new(label: "Operations actions") do |group|
          group.button("New deployment", href: "#new-deployment", variant: :primary)
          group.button("Export", href: "#export")
        end
      end

      render NitroKit::StatGrid.new(id: "gallery-sidebar-application-stats") do |stats|
        stats.stat(key: :workspaces, label: "Workspaces", value: "18", detail: "16 healthy")
        stats.stat(key: :deployments, label: "Deployments today", value: "42", detail: "All checks complete")
        stats.stat(key: :incidents, label: "Open incidents", value: "2", detail: "Both assigned")
      end

      render NitroKit::DataSection.new(
        title: "Active incidents",
        description: "Production events that still need an owner or a final verification.",
        id: "gallery-sidebar-application-incidents-section"
      ) do |section|
        section.table NitroKit::Table.new(
          sort: :started,
          direction: :desc,
          id: "gallery-sidebar-application-incidents",
          table_aria: { label: "Active production incidents" }
        ) do |table|
          table.caption("Active production incidents")
          table.thead do
            table.tr do
              table.th(sort: :service, href: "?sort=service-asc")
              table.th(sort: :region, href: "?sort=region-asc")
              table.th(sort: :status, href: "?sort=status-asc")
              table.th(sort: :started, href: "?sort=started-asc", align: :right)
            end
          end
          table.tbody do
            [
              [ "Workspace synchronization", "eu-central", :waiting, "18:42" ],
              [ "Audit export", "us-east", :healthy, "17:08" ],
              [ "Invoice delivery", "global", :queued, "15:31" ]
            ].each_with_index do |(service, region, status, started), index|
              table.tr do
                table.th(service, scope: :row)
                table.td(region)
                table.td { status_badge(status, id: "gallery-sidebar-application-status-#{index + 1}") }
                table.td(started, align: :right)
              end
            end
          end
        end
      end

      render NitroKit::Toast.new(
        duration: 600_000,
        label: "Operations notifications",
        id: "gallery-sidebar-application-toast"
      ) do |toast|
        toast.item(
          title: "Production checks finished",
          description: "Release 2026.07.13 is ready to promote.",
          variant: :success
        )
      end
    end
  end
end

Empty light workspace

A missing optional description, true empty state, and ordinary multipart Dropzone keep the first-run path useful.

Source
Gallery::Compositions::SidebarApplicationPage
Skip to content
Northstar Projects
  • Workspace
    • Overview
    • Projects12
    • People
  • Operate
    • Deployments
    • Incidents2
    • Audit log
  • Settings
Help

Projects

No projects yet

Create a project manually or import a small evidence bundle.

Create project

Import project evidence

This example uses ordinary multipart submission and remains useful without JavaScript.

No files selected.

    ViewportFull width
    Rubytest/dummy/app/components/gallery/compositions/sidebar_application_page.rb
    render NitroKit::AppShell.new(
      id: "gallery-sidebar-application-empty",
      layout: :sidebar,
      data: {
        gallery_shell_preview: "true",
        gallery_application: "sidebar",
        gallery_application_state: "empty",
        theme: "light"
      }
    ) do |shell|
      shell.brand { strong { "Northstar Projects" } }
      shell.navigation do
        render_application_navigation(
          id: "gallery-sidebar-application-empty-navigation",
          current: :projects,
          context: "New workspace"
        )
      end
      shell.main do
        render_application_main do
          render NitroKit::PageHeader.new(
            title: "Projects",
            id: "gallery-sidebar-application-empty-header"
          )
    
          render NitroKit::EmptyState.new(
            title: "No projects yet",
            description: "Create a project manually or import a small evidence bundle.",
            id: "gallery-sidebar-application-empty-state"
          ) do |empty|
            empty.icon NitroKit::Icon.new(:folder)
            empty.action NitroKit::Button.new("Create project", href: "#create-project", variant: :primary)
          end
    
          render NitroKit::SettingsSection.new(
            title: "Import project evidence",
            description: "This example uses ordinary multipart submission and remains useful without JavaScript.",
            id: "gallery-sidebar-application-import"
          ) do |section|
            section.form do
              form_with(
                scope: :project_import,
                url: "#import-project",
                builder: NitroKit::FormBuilder,
                id: "gallery-sidebar-application-import-form"
              ) do |form|
                form.group do
                  form.dropzone(
                    :files,
                    id: "gallery-sidebar-application-dropzone",
                    label: "Add project files",
                    description: "Up to three CSV, JSON, or text files.",
                    direct_upload: false,
                    multiple: true,
                    accept: ".csv,.json,text/plain",
                    max_files: 3,
                    max_bytes: 2 * 1024 * 1024
                  )
                  form.submit("Import files", id: "gallery-sidebar-application-import-submit")
                end
              end
            end
          end
        end
      end
    end

    Failed dark workspace

    An explicit service failure combines recovery guidance, partial record details, and a native diagnostic dialog.

    Source
    Gallery::Compositions::SidebarApplicationPage
    Skip to content
    Northstar Reliability
    • Workspace
      • Overview
      • Projects12
      • People
    • Operate
      • Deployments
      • Incidents8
      • Audit log
    • Settings
    Help

    Workspace synchronization incident

    The last verified snapshot remains available while the regional service recovers.

    Live synchronization is unavailable
    No customer data was changed. Retry after reviewing the partial incident record below.
    ServiceWorkspace synchronization
    Regioneu-central
    OwnerNot provided
    Started atJuly 13, 2026 18:42
    Last updateNot provided

    Regional diagnostics

    The service is reachable, but the replication checkpoint is 14 minutes behind.
    Read only
    ViewportFull width
    Rubytest/dummy/app/components/gallery/compositions/sidebar_application_page.rb
    render NitroKit::AppShell.new(
      id: "gallery-sidebar-application-error",
      layout: :sidebar,
      data: {
        gallery_shell_preview: "true",
        gallery_application: "sidebar",
        gallery_application_state: "error",
        theme: "dark"
      }
    ) do |shell|
      shell.brand { strong { "Northstar Reliability" } }
      shell.navigation do
        render_application_navigation(
          id: "gallery-sidebar-application-error-navigation",
          current: :incidents,
          context: "Degraded",
          dense: true
        )
      end
      shell.main do
        render_application_main(size: :lg) do
          render NitroKit::PageHeader.new(
            title: "Workspace synchronization incident",
            description: "The last verified snapshot remains available while the regional service recovers.",
            id: "gallery-sidebar-application-error-header"
          )
    
          render NitroKit::Alert.new(
            variant: :destructive,
            id: "gallery-sidebar-application-error-alert"
          ) do |alert|
            alert.icon NitroKit::Icon.new(:circle_x)
            alert.title("Live synchronization is unavailable")
            alert.description("No customer data was changed. Retry after reviewing the partial incident record below.")
          end
    
          render NitroKit::DetailsTable.new(
            INCIDENT,
            label: "Incident details",
            id: "gallery-sidebar-application-error-details"
          ) do |details|
            details.fields(:service, :region, :owner, :started_at, :last_update)
          end
    
          render NitroKit::Flex.new(dir: :row, gap: 2, align: :center) do
            render NitroKit::Dialog.new(id: "gallery-sidebar-application-diagnostics") do |dialog|
              dialog.trigger("Review diagnostics")
              dialog.panel(
                title: "Regional diagnostics",
                description: "The service is reachable, but the replication checkpoint is 14 minutes behind."
              ) do
                render NitroKit::Badge.new("Read only", color: :warning, size: :sm)
                dialog.close_button(label: "Close diagnostics")
              end
            end
          end
        end
      end
    end