Main Workspace
Content margins are managed by the primitive for push/side modes.
Tailwind demo for tngDrawerContainer, tngDrawer, tngDrawerContent, tngSidenav*, and wrapper <tng-drawer>.
Toggle open state, mode, direction, and position. In push/side mode, content offset updates are driven by the primitive.
Content margins are managed by the primitive for push/side modes.
Wrapper demo with the same primitive contract exposed through <tng-drawer>.
Rendered through <tng-drawer>.
Uses tngDrawerContent; offset/inert behavior still comes from primitives.
Open start/end drawers together in push mode, or enable closeOthersOnOpen for one-open-at-a-time behavior.
With both drawers open and closeOthersOnOpen=false, both side offsets are applied.
tngSidenavContainer, tngSidenav and tngSidenavContent are aliases over the drawer primitives.
Alias behavior matches drawer behavior.