SPHPlayground API
SPHPlayground
sphplayground sphplayground

Bootstrap Components

Alerts

Alert messages can be used to notify the user about something special: danger, success, information or warning. [1]

Bootstrap Carousel

Similar to Banners, Carousels are a component that score highly in the visual hierarchy, used to convey multiple messages to the user or provide quick access to their respective page. [2]

Carousel variants

Offcanvas

Offcanvas is a sidebar component that can be toggled to appear from the left, right, top, or bottom edge of the viewport. Buttons or anchors are used as triggers that are attached to specific offcanvas elements. [3]

Placement

The placement of the offcanvas component is managed with Position enum. The default placement for Offcanvas components is Position::start. The placement can be changed either in constructor or using Offcanvas::setPosition() method.

offcanvas-start
This is an offcanvas-start component.
offcanvas-end
This is an offcanvas-end component.
offcanvas-top
This is an offcanvas-top component.
offcanvas-bottom
This is an offcanvas-bottom component.