2U has a set of layout components that could be useful for creating complex sticky and fixed layouts. This is a proposal to extract those components into an hzcore package.
Is your feature request related to a problem? Please describe.
In some simpler cases, CSS can probably suffice (via position: fixed|sticky). In more complex cases where multiple elements are stuck together, it is sometimes possible (though maybe not always feasable) to hardcode the correct offsets, z-indexes, sizes, etc, to make them work harmoniously.
Additional context
The Readme is an MDX document, so it could probably be included as the package docs in hzcore, with caveats:
there are dependencies on other 2U components (CTA, typography) that would need to be removed/substituted
The frontmatter would need to be adjusted to match hzcore docz hierarchy
2U has a set of layout components that could be useful for creating complex sticky and fixed layouts. This is a proposal to extract those components into an hzcore package.
Is your feature request related to a problem? Please describe.
See the motivation in the 2U components' doc
Describe the solution you'd like
Extract and package 2U's sticky layout
Describe alternatives you've considered
In some simpler cases, CSS can probably suffice (via
position: fixed|sticky
). In more complex cases where multiple elements are stuck together, it is sometimes possible (though maybe not always feasable) to hardcode the correct offsets, z-indexes, sizes, etc, to make them work harmoniously.Additional context