Rebar UI

1.0

opinion

FloatingPanel

A sheet you drag between a few set heights, snapping on release.

Projects sheetDrag the bar, or use the arrow keys on it

Projects

MC

Harbour rebrand

On track
JW

Tideline mobile

Review
PN

Crew interviews

Late
LS

Rota export

Done
MC

Depot signage

Review
Starts collapsed

Projects

MC

Harbour rebrand

On track
JW

Tideline mobile

Review
From the top

Filters

Status, owner, due date.

In context

Depot mapA details sheet over a map-style screen
Northern depots

Depot signage

MC

Harbour rebrand

On track
JW

Tideline mobile

Review
PN

Crew interviews

Late

Props

PropTypeRequiredDefault
anchorsnumber[]Yes—
placement"bottom" | "top" | undefinedNobottom
defaultHeightnumber | undefinedNo—
heightnumber | undefinedNo—
onHeightChange((height: number, animating: boolean) => void) | undefinedNo—
handleDraggingOfContentboolean | undefinedNotrue
headerReactNodeNo—
aria-labelstring | undefinedNoResize panel
classNamestring | undefinedNo—

data-rebar-* attributes

data-rebar-component="floating-panel"; data-rebar-dragging; data-rebar-part="handle"|"content".

Migrating to Ant Design

Ant Design (web) has no direct equivalent — this ports antd-*mobile*'s FloatingPanel. A migration typically hand-rolls the same anchor-snap drag pattern, or a fixed Drawer if the multi-height behavior isn't actually needed.