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

Hybrid account application

A realistic hybrid application combining synchronized appearance, profile media, record details, forms, missing data, policy errors, and overlays.

Sidebar operations applicationTopbar media applicationHybrid account application

Account workspace states

The hybrid shell combines persistent navigation with contextual header actions across complete, missing, and failed account settings.

Populated system settings

Two synchronized appearance pickers, profile media, record details, a Rails form, account actions, and a saved toast form one settings application.

Source
Gallery::Compositions::HybridApplicationPage
Skip to content
Northstar Admin
View public profile
  • Workspace
    • Overview
    • Projects12
    • People
  • Operate
    • Deployments
    • Incidents2
    • Audit log
  • Settings
Help
Navigation appearance

Account settings

Manage the public profile and personal appearance without duplicating application chrome.

Content appearance
  • Profile
  • Security
  • Notifications
  • Appearance
Abstract cover for Ada Lovelace's workspace profileAbstract cover for Ada Lovelace's workspace profile
RoleOwner
Joined onFebruary 12, 2024
Last seenJuly 13, 2026 19:04

Public profile

These values appear in workspace activity and invitations.

  1. Profile saved

    Workspace activity now uses the updated public details.
ViewportFull width
Rubytest/dummy/app/components/gallery/compositions/hybrid_application_page.rb
render NitroKit::AppShell.new(
  id: "gallery-hybrid-application-populated",
  layout: :hybrid,
  data: {
    gallery_shell_preview: "true",
    gallery_application: "hybrid",
    gallery_application_state: "populated"
  }
) do |shell|
  shell.brand { strong { "Northstar Admin" } }
  shell.navigation do
    render_application_navigation(
      id: "gallery-hybrid-application-populated-navigation",
      current: :settings,
      context: "Team plan",
      appearance_picker_id: "gallery-hybrid-application-navigation-appearance"
    )
  end
  shell.topbar do
    render NitroKit::Dropdown.new(id: "gallery-hybrid-application-account-menu") do |menu|
      menu.trigger("Ada Lovelace", variant: :ghost, size: :sm)
      menu.item("View public profile", href: "#public-profile")
      menu.item("Download account data")
      menu.separator
      menu.item("Sign out")
    end
  end
  shell.main do
    render_application_main do
      render NitroKit::PageHeader.new(
        title: "Account settings",
        description: "Manage the public profile and personal appearance without duplicating application chrome.",
        id: "gallery-hybrid-application-populated-header"
      )

      appearance_picker("gallery-hybrid-application-main-appearance", label: "Content appearance")

      render NitroKit::SettingsLayout.new(id: "gallery-hybrid-application-settings") do |layout|
        layout.navigation(label: "Account settings") do
          layout.item("Profile", href: "#profile", current: true)
          layout.item("Security", href: "#security")
          layout.item("Notifications", href: "#notifications")
          layout.item("Appearance", href: "#appearance")
        end
        layout.content do
          render NitroKit::Flex.new(dir: :col, gap: 6, align: :stretch) do
            render NitroKit::Grid.new(cols: "1 md:2", gap: 4) do
              render NitroKit::ProgressiveImage.new(
                attachment: demo_attachment,
                alt: "Abstract cover for Ada Lovelace's workspace profile",
                size: :sm,
                id: "gallery-hybrid-application-profile-image"
              )

              render NitroKit::DetailsTable.new(
                PROFILE,
                label: "Account details",
                id: "gallery-hybrid-application-profile-details"
              ) do |details|
                details.field(:role) do |role|
                  render NitroKit::Badge.new(role.to_s.humanize, color: :success, size: :sm)
                end
                details.fields(:joined_on, :last_seen)
              end
            end

            render NitroKit::SettingsSection.new(
              title: "Public profile",
              description: "These values appear in workspace activity and invitations.",
              id: "gallery-hybrid-application-profile-settings-section"
            ) do |section|
              section.form do
                form_with(
                  scope: :profile,
                  url: "#save-profile",
                  builder: NitroKit::FormBuilder,
                  id: "gallery-hybrid-application-profile-form"
                ) do |form|
                  form.group do
                    form.field(:name, label: "Name", value: PROFILE.name, required: true)
                    form.field(:email, as: :email, label: "Email", value: PROFILE.email, required: true)
                    form.field(:website, as: :url, label: "Website", value: PROFILE.website)
                    form.submit("Save profile", id: "gallery-hybrid-application-profile-submit")
                  end
                end
              end
            end
          end
        end
      end

      render NitroKit::Toast.new(
        duration: 600_000,
        label: "Account notifications",
        id: "gallery-hybrid-application-toast"
      ) do |toast|
        toast.item(
          title: "Profile saved",
          description: "Workspace activity now uses the updated public details.",
          variant: :success
        )
      end
    end
  end
end

Missing light profile

Absent media and optional record values remain explicit while the application offers one clear recovery path.

Source
Gallery::Compositions::HybridApplicationPage
Skip to content
Northstar Admin
Invite teammate
  • Workspace
    • Overview
    • Projects12
    • People
  • Operate
    • Deployments
    • Incidents2
    • Audit log
  • Settings
Help

Invited teammate

Invited teammate profile image
NameInvited teammate
Email[email protected]
RoleNot provided
WebsiteNot provided
Joined onNot provided
Last seenNot provided

Profile setup has not started

Resend the invitation or copy a fresh setup link for this teammate.

Resend invitationCopy setup link
ViewportFull width
Rubytest/dummy/app/components/gallery/compositions/hybrid_application_page.rb
render NitroKit::AppShell.new(
  id: "gallery-hybrid-application-missing",
  layout: :hybrid,
  data: {
    gallery_shell_preview: "true",
    gallery_application: "hybrid",
    gallery_application_state: "missing",
    theme: "light"
  }
) do |shell|
  shell.brand { strong { "Northstar Admin" } }
  shell.navigation do
    render_application_navigation(
      id: "gallery-hybrid-application-missing-navigation",
      current: :people,
      context: "Invitations"
    )
  end
  shell.topbar do
    render NitroKit::Button.new("Invite teammate", href: "#invite", variant: :primary, size: :sm)
  end
  shell.main do
    render_application_main(size: :lg) do
      render NitroKit::PageHeader.new(
        title: "Invited teammate",
        id: "gallery-hybrid-application-missing-header"
      )

      render NitroKit::ProgressiveImage.new(
        attachment: nil,
        alt: "Invited teammate profile image",
        size: :sm,
        id: "gallery-hybrid-application-missing-image"
      )

      render NitroKit::DetailsTable.new(
        MISSING_PROFILE,
        label: "Invitation details",
        id: "gallery-hybrid-application-missing-details"
      ) do |details|
        details.fields(:name, :email, :role, :website, :joined_on, :last_seen)
      end

      render NitroKit::EmptyState.new(
        title: "Profile setup has not started",
        description: "Resend the invitation or copy a fresh setup link for this teammate.",
        id: "gallery-hybrid-application-missing-state"
      ) do |empty|
        empty.icon NitroKit::Icon.new(:users)
        empty.action NitroKit::Button.new("Resend invitation", href: "#resend", variant: :primary)
        empty.action NitroKit::Button.new("Copy setup link", href: "#copy")
      end
    end
  end
end

Failed dark access request

Authorization failure, invalid fields, disabled submission, a native review dialog, and an error notification stay distinct.

Source
Gallery::Compositions::HybridApplicationPage
Skip to content
Northstar Admin

Workspace access policy

Only workspace owners may grant production access or change an administrator role.
  • Workspace
    • Overview
    • Projects12
    • People
  • Operate
    • Deployments
    • Incidents2
    • Audit log
  • Settings
Help

Request production access

Review the incomplete request and ask a workspace owner to restore submission access.

Access request needs attention
Choose an owner and add a specific operational reason before asking an administrator to review it.

Production access

Restricted fields remain visible so the failed request can be understood.

Request details
  • must be selected
  • must explain the production task
  1. Access request was not sent

    No workspace role or production permission changed.
ViewportFull width
Rubytest/dummy/app/components/gallery/compositions/hybrid_application_page.rb
render NitroKit::AppShell.new(
  id: "gallery-hybrid-application-error",
  layout: :hybrid,
  data: {
    gallery_shell_preview: "true",
    gallery_application: "hybrid",
    gallery_application_state: "error",
    theme: "dark"
  }
) do |shell|
  shell.brand { strong { "Northstar Admin" } }
  shell.navigation do
    render_application_navigation(
      id: "gallery-hybrid-application-error-navigation",
      current: :settings,
      context: "Restricted"
    )
  end
  shell.topbar do
    render NitroKit::Dialog.new(id: "gallery-hybrid-application-policy-dialog") do |dialog|
      dialog.trigger("Review policy", size: :sm)
      dialog.panel(
        title: "Workspace access policy",
        description: "Only workspace owners may grant production access or change an administrator role."
      ) do
        dialog.close_button(label: "Close policy")
      end
    end
  end
  shell.main do
    render_application_main(size: :lg) do
      render NitroKit::PageHeader.new(
        title: "Request production access",
        description: "Review the incomplete request and ask a workspace owner to restore submission access.",
        id: "gallery-hybrid-application-error-header"
      )

      render NitroKit::Alert.new(
        variant: :destructive,
        id: "gallery-hybrid-application-error-alert"
      ) do |alert|
        alert.icon NitroKit::Icon.new(:triangle_alert)
        alert.title("Access request needs attention")
        alert.description("Choose an owner and add a specific operational reason before asking an administrator to review it.")
      end

      render NitroKit::SettingsSection.new(
        title: "Production access",
        description: "Restricted fields remain visible so the failed request can be understood.",
        id: "gallery-hybrid-application-access-section"
      ) do |section|
        section.form do
          form_with(
            scope: :access_request,
            url: "#request-access",
            builder: NitroKit::FormBuilder,
            id: "gallery-hybrid-application-access-form"
          ) do |form|
            form.fieldset(legend: "Request details", disabled: true) do
              form.group do
                form.field(
                  :owner,
                  as: :select,
                  label: "Request owner",
                  include_blank: "Choose an owner",
                  options: [ [ "Ada Lovelace", "ada" ], [ "Grace Hopper", "grace" ] ],
                  errors: [ "must be selected" ]
                )
                form.field(
                  :justification,
                  as: :textarea,
                  label: "Operational justification",
                  value: "Need access",
                  rows: 4,
                  errors: [ "must explain the production task" ]
                )
              end
            end
            form.submit(
              "Request access",
              id: "gallery-hybrid-application-access-submit",
              disabled: true
            )
          end
        end
      end

      render NitroKit::Toast.new(
        duration: 600_000,
        label: "Access request notifications",
        id: "gallery-hybrid-application-error-toast"
      ) do |toast|
        toast.item(
          title: "Access request was not sent",
          description: "No workspace role or production permission changed.",
          variant: :error
        )
      end
    end
  end
end