Skip to main navigationSkip to main content
Return to Sky UI homepage

system - position

Applying the position system modifier to your component will allow consumers of your component to pass in the following props:

PropTypeDefaultDescription
$position(See MDN)undefinedApplies position styles
$top(See MDN)undefinedApplies top styles
$bottom(See MDN)undefinedApplies bottom styles
$left(See MDN)undefinedApplies left styles
$right(See MDN)undefinedApplies right styles
$zIndexnumberundefinedApplies zIndex styles

z-index stacking order

We use the following rule of thumb:

  • >= 300 Modals
  • 251 Reserved for Masthead
  • 100 - 200 Inline overlays (popovers, tooltips etc)
  • < 100 Components
position | Sky UI Design System