Side Panel

A panel docked beside the page, with a header, title, actions, a close button and a scrolling body.

Available in
  • Angular: available
  • Vue: available
  • React: available
  • React Native: not available yet

Usage

Weekly sync — the note stays in place while the panel docks beside it.

Import

ts
import {
  SoneSidePanelActionsDirective,
  SoneSidePanelCloseComponent,
  SoneSidePanelContentDirective,
  SoneSidePanelDirective,
  SoneSidePanelHeaderDirective,
  SoneSidePanelTitleDirective,
} from "@surface-one/angular/side-panel";

API reference

SoneSidePanelActionsDirectiveDirective

Selector
[soneSidePanelActions]

SoneSidePanelCloseComponentComponent

Selector
sone-side-panel-close
Inputs
NameType Default
labelrequiredstring—
Outputs
NameType
closedvoid

SoneSidePanelContentDirectiveDirective

Selector
[soneSidePanelContent]

SoneSidePanelDirectiveDirective

Selector
[soneSidePanel]

SoneSidePanelHeaderDirectiveDirective

Selector
[soneSidePanelHeader]

SoneSidePanelTitleDirectiveDirective

Selector
[soneSidePanelTitle]