← Back to Polaris UI Kit
B2B Product UI Patterns
Reusable Shopify embedded interaction contracts extracted cleanly for all Kaupvik interfaces.
| Pattern | Primary Composition | Engineering Contract |
|---|---|---|
| Staged Side Drawer Editor | SideDrawer | Edits isolate inside a focus-trapped drawer with aligned footer confirmation; business state only persists after explicit confirm & native read-back. |
| Bounded Rule Expression Tree | FilterRuleBuilder | Recursive AND/OR/NOT rule groups with native s-text-field / autocomplete suggestions matching backend evaluators. |
| Company Hierarchy Selection | HierarchyTreePicker | Groups companies and buying locations into a collapsible searchable tree alongside instant selection badges. |
| Live Rule Impact Preview | AccessMappingPreview | Displays live matched entities before saving access or visibility rules so administrators verify scope before committing. |
| Accessible Metric KPIs | MetricCard | Displays verified totals alongside dotted hover/keyboard definition tooltips without inventing synthetic numbers. |
| Native Settings Navigation | SettingsLayout & SettingsRows | Sticky route-driven navigation rail paired with single-subject grouped icon rows and hairline separators. |