ComponentsResponsiveModal

overlaystexulinot agent-emittableapp

ResponsiveModal

responsive-modal

Dialog on large screens, drawer/sheet on small screens.

Live examples

Adaptive

Adaptive

Loading demo…

Props

Public props for ResponsiveModal
NameKindRequiredDefaultDescription
sizeenum (sm, md, lg, xl)no"md"—
sideenum (top, right, bottom, left, start, end, center)no"bottom"—
classstringno——
childrenslotno——

Keyboard

Keyboard behavior for ResponsiveModal
KeyAction
—See accessibility notes for keyboard behavior.

Accessibility

  • Preserves dialog semantics on large viewports.

Evidence for responsive-modal

Latest committed gates for responsive-modal (as of 2026-10-23). Static snapshot — not live CI.

Behavior

n/ano behavior scenario

No dedicated behavior scenario for this catalog id (a styled or display surface, covered by its unit and axe tests).

Size (gzip)

texuli/responsive-modal · budget 12.0 KiB

Budget from texuli.budgets.json; re-measure with `pnpm size --filter <entry>`.

Axe

documented

  • tests/e2e/site-component-pages.spec.ts
  • docs/quality (a11y-*)

Site component pages axe gate; package-level a11y docs under docs/quality when present.

Browsers

  • chromium
  • webkit
  • mobile

Playwright projects: Desktop Chrome, Desktop Safari, Pixel 7. Firefox is a known gap on this host.

When to use

Use when

  • One flow that should adapt across breakpoints

Don’t use when

Prefer another component

  • Fixed desktop-only dialogs