PS1Root

App-level wrapper that establishes the responsive containment context.

import { PS1Root } from "@ps1ui/core";

Usage

Wrap your app in PS1Root once, at the top of the tree. Responsive props on descendant components resolve against it — without a PS1Root ancestor they silently fall back to their base values.

import { PS1Root } from "@ps1ui/core";

export function App() {
  return (
    <PS1Root>
      {/* your app */}
    </PS1Root>
  );
}

Props

All native <div> attributes are also accepted.