A React Native Windows library to use XAML / WinUI controls
Перейти к файлу
Ruriko Araki 79908bba29 Refs working 2022-09-13 10:47:07 -07:00
.github Add `.github/fabricbot.json` (#211) 2022-06-29 06:50:20 +00:00
codegen/Properties > 2021-11-05 18:07:50 -07:00
example Remove UseJsi() 2022-02-09 09:20:39 -08:00
examplenuget Bump plist from 3.0.1 to 3.0.4 in /examplenuget 2022-03-03 17:15:31 +00:00
package Refs working 2022-09-13 10:47:07 -07:00
.clang-format Add support for MenuFlyoutSubitem 2022-06-21 11:26:36 -07:00
.gitattributes Fix line ending generation 2022-01-26 13:04:37 -08:00
.gitignore gitignore 2021-02-27 22:26:06 -08:00
CONTRIBUTING.md Update to consume new ReactTag APIs 2022-09-01 11:56:11 -07:00
LICENSE Create LICENSE 2021-02-21 02:40:16 -08:00
README.md Updated README to point to Contribution guide 2022-02-09 16:29:37 -08:00
SECURITY.md Microsoft mandatory file 2022-08-17 14:46:43 +00:00
TechnicalGuide.md Update TechnicalGuide.md 2021-03-14 01:51:03 -08:00
USAGE.md Add support for MenuFlyoutSubitem 2022-06-21 11:26:36 -07:00
package.json Add support for MenuFlyoutSubitem 2022-06-21 11:26:36 -07:00
yarn.lock Bump plist from 3.0.2 to 3.0.4 2022-03-02 02:45:55 +00:00

README.md

CI

react-native-xaml

A React Native Windows view manager that allows directly using the Windows XAML framework.

Cheat sheet

To see examples of the syntax and available controls, check out the Usage guide.

Main advantages

  • Allows developers writing react-native-windows apps (React Native apps targeting Windows 10) to quickly get started, if they are familiar with XAML.
  • Developers are not limited by the set of controls present today in RNW and community modules that support Windows.
  • Best of all, this solution is available today!
  • The set of types/properties/events are the XAML ones, however JS libraries can wrap those to expose the Windows control in a platform-agnostic way (e.g. as a way to implement a cross-plat control for Windows).

react-native-xaml works by leveraging metadata for XAML properties, types and events. This metadata is automatically generated (code-gen) from the Windows SDK. This means we can have a full projection of all of XAML – or any WinRT components written by app devs, that export a UserControl – without manual intervention.

Technical details

See Technical Guide.

Contributing

Pull Requests are welcome. See Contribution Guide for details.

Demo

react-native-xaml demo