Monorepo
Packages
Nine focused, independently-versioned packages. Use one, or all of them.
Architecture
@structyl/core
Internal foundation: Slot, Primitive, Portal, Presence, FocusScope, DismissableLayer, RovingFocusGroup, Popper and more.
@structyl/hooks
24 reusable, SSR-safe, tree-shakeable React hooks.
Live — useCounter hook
@structyl/utils
Pure utility functions: cn, composeEventHandlers, type guards, array/object/string helpers.
@structyl/themes
Runtime theming: ThemeProvider, useTheme, ThemeScript, 10 accent presets, and useColorPreset.
@structyl/primitives
Headless, accessible behaviour components — the unstyled layer.
@structyl/styled
Tailwind-styled components, batteries included.
@structyl/data-table
A full-featured DataTable built on TanStack Table.
@structyl/icons
Curated icon set, re-exported from lucide-react.
@structyl/cli
Scaffolding CLI — init a project and add components from the registry.
@structyl/api-client
Lightweight Axios wrapper with React 18 cache, retries, SSR support, and zero extra dependencies.
No users