Affix
Navigation
@rockshin/tao-uiPins content when it crosses a scroll container boundary.
This native tao-ui component follows the public API of Ant Design 6.7.0. Appearance, theme tokens and Semantic DOM customization belong to tao-ui; configure themes with TaoProvider.
Affix uses fixed positioning and a placeholder, not CSS sticky. target returns a Window or HTMLElement; offsets are measured from that target.
When to use
Keep a small set of actions visible within a defined scroll target. The examples use a dedicated scroll container.