Description

Features

Notes

Structure

Basic

import { Fixed } from "@silk-hq/sheet";

export default () => (
	<Fixed.Root>
		<Fixed.Content>
			...
		</Fixed.Content>
	</Fixed.Root>
);

With <Sheet.Outlet />

import { Sheet, Fixed } from "@silk-hq/sheet";

export default () => (
	<Sheet.Outlet>
		<Fixed.Root>
			<Fixed.Content>
				...
			</Fixed.Content>
		</Fixed.Root>
	</Sheet.Outlet>
);

Sub-components

<Fixed.Root />

Required yes
Underlying HTML element div
Requirements Must contain <Fixed.Content />

Description

The root sub-component of the Fixed component.