Loading component…
Loading component…
What automated tests prove about each implementation — separate from whether the package itself is a finished product. Derived from the test files; how the levels are earned.
React
React setupPackage maturity: stable · Implementation verification: Beta
Angular
Angular setup · previewPackage maturity: preview · Implementation verification: Preview
SwiftUI
SwiftUI setupPackage maturity: stable · Implementation verification: Experimental
Jetpack Compose
Jetpack Compose setupPackage maturity: stable · Implementation verification: Experimental
Flutter
Flutter setupPackage maturity: stable · Implementation verification: Experimental
This platform’s whole catalogue is verified to React beta, Angular preview, SwiftUI experimental, Jetpack Compose experimental, Flutter experimental. The catalogue figure is the weakest component on that platform, not an average.
npx @kinetixui/cli add modalnpm i @kinetixui/ui @kinetixui/tokens@kinetixui/ui on npm@kinetixui/tokens on npmThe CLI copies React source. Usage imports from @kinetixui/ui require the npm package; for copied source, use your configured local import instead.
npm i @kinetixui/angular @kinetixui/tokens@kinetixui/angular on npm@kinetixui/tokens on npmSource only, not on Swift Package Manager yet: use a repository checkout pinned to a commit.
Source only, not on Maven Central yet: use a repository checkout pinned to a commit.
Source only, not on pub.dev yet: use a repository checkout pinned to a commit.
Modal is a Dialog with a fixed structure, header, body and footer, configured from props and typed as Info, Confirmation, Warning or Destructive.
Reduced motion: off · your browser setting
A keyboard test checks that it opens from the keyboard, is named by its title, and closes on Escape without taking the action. Evidence for Modal on each platform is in the Platforms row above.
npx @kinetixui/cli add modalimport { Modal } from "@kinetixui/ui";Styled entirely from the KinetixUI token contract — bg-action,
text-muted-foreground, border-input, ring-ring. Works in light and dark
with no extra config. Keyboard and ARIA behaviour is inherited from Radix where the
component is built on a primitive; the hand-built widgets (DataGrid, TreeView,
ColorPicker, MultiSelect, Tour, KanbanBoard) have their own documented interaction
models — see Accessibility.
The props of @kinetixui/ui, generated from its TypeScript. Props inherited from the underlying DOM element (className, id, event handlers) are accepted too and are not listed.
This table is React-specific. The SwiftUI, Jetpack Compose, Flutter and Angular implementations share the design contract — the same variants, sizes, states and tokens — but each exposes its own idiomatic interface. Their real usage is in the platform tabs on the example above, not here.
| Prop | Type | Notes |
|---|---|---|
| type | ModalType | |
| titlerequired | React.ReactNode | |
| description | React.ReactNode | |
| actionLabel | stringoverrides the type's default action label | overrides the type's default action label |
| cancelLabel | string | |
| onAction | (() => void) | |
| onCancel | (() => void) | |
| open | boolean | |
| defaultOpen | boolean | |
| onOpenChange | ((open: boolean) => void) | |
| trigger | React.ReactNode | |
| children | React.ReactNode | |
| className | string |
1 behaviour asserted on every commit by packages/ui/src/components-keyboard.test.tsx. Listed because they are tested, not the other way round — if one stops being tested it stops appearing here.
opens from the keyboard, names itself, and closes on Escape without taking the action
Reconciled 1:1 with design source node 54857:1322.