@sewdn/ui-layout
v0.1.0
Published
Composable responsive React layouts, data grids, typed filtering and saved presets.
Readme
@sewdn/ui-layout
Composable React 19 layouts for operational applications. Working 0.1 preview; not yet published.
import { AppShell, PageLayout, PageHeader } from "@sewdn/ui-layout";
import "@sewdn/ui-layout/styles.css";Exports: AppShell, SideNavigation, Breadcrumbs, PageLayout, PageHeader, Section, Toolbar, Tabs, PanelWorkspace, DetailPanel, usePanelStack, panelReducer, panelPresentation, createLocalPanelPersistence, SplitLayout, DashboardGrid, DashboardCard, WidgetState, EmptyState and Stack, plus their public types.
Documentation index · Getting started · Panel contracts · Theme · Known limits.
The ESM bundle and TypeScript declarations are in dist; import the exported CSS explicitly. React/react-dom are peer dependencies. No runtime router, service or private workspace package is required. Data, permissions, navigation, drafts and save behavior belong to the host.
Build with bun run build from this package or bun run build at repository root. Run Storybook with bun run storybook. The vendor showcase at http://localhost:4520 consumes the built public package.
Collections
DataGrid, FilterWorkspace, FilterBar, AdvancedFilterPanel and FilterPresets compose typed records and query state. Helpers include initialGridState, sortGridRows, filterRows, validateFilterQuery, countActiveFilters, useFilterPresets and createLocalFilterPresetStorage. See the collection guide and grid contract.
