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

Nitro Kit 2.0

Human guide

The gallery is the exhaustive test bed: every component, every meaningful state, proven by the same suite that ships the gem. This page explains how to read it. Guides, tutorials, the theme Customizer, and Nitro Kit Pro live on the documentation site.

Reading a component page

Every component has one page, reached from the sidebar. It opens with the component's purpose, then works through examples: the plain cases first, then variants, sizes, states, long content, disabled and error cases, and narrow widths.

  • Preview shows the rendered example in an isolated canvas.
  • Responsive shows the same example at fixed device widths, so you can see how it reflows without resizing your window.
  • Code shows the Ruby that rendered the preview. It is extracted from the executable source, not retyped, so it is always copyable and always current.
  • The appearance picker in the sidebar switches light, dark, and system. Every example is expected to hold up in all three.

Below the examples each page repeats three reference sections: the component's contract, the application patterns it belongs to, and the system rules. They are there so a coding agent can fetch a single page and compose correctly. People can read them as the precise version of the prose on nitrokit.dev.

What the compositions are

The Compositions section of the sidebar is not a showcase. Each entry is an executable composition test: a realistic screen — sign in, billing, a settings page, a whole application shell — assembled only from Nitro components and run by the test suite.

Most compositions have several states listed in their URL, such as empty, loading, error, dense, and mobile. They exist to prove the components survive real pressure together, and they double as the most honest example of how much application code a screen actually takes.

Theming basics

Nitro Kit owns component CSS and its default light and dark themes. Applications customize by overriding documented --nk-* custom properties: semantic colors, typography, spacing, radii, borders, focus geometry, shadows, motion, control heights, content widths, and shell chrome.

  • Load nitro_kit first and your own stylesheet after it. Nitro's selectors sit inside :where() in named cascade layers, so an ordinary rule wins without !important.
  • Override globally on :root, or scope a subtree by putting the variables on a wrapper element. Nitro descendants inherit them.
  • Color tokens need three selectors: light, a prefers-color-scheme fallback for visitors without JavaScript, and explicit [data-theme="dark"].
  • Variables beginning with --_nk- are private component mechanics. Never override them, and never edit the generated stylesheet.

The interactive theme Customizer — pick an accent, neutral, radius, density, font, and shell, then copy the CSS — lives on the documentation site at nitrokit.dev/customize.

Where to go next

  • nitrokit.dev — installation, guides, and the component documentation written for people.
  • nitrokit.dev/customize — the theme Customizer and its copyable exports.
  • nitrokit.dev/pro — Nitro Kit Pro: the application blocks, flows, and templates catalog.
  • The agent guide and /llms.txt — the same system, written for coding agents.