All Projects â†’ myxvisual â†’ React Uwp

myxvisual / React Uwp

Licence: mit
📱⌨ React Components that Implement Microsoft's UWP Design & Fluent Design.

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects

Projects that are alternatives of or similar to React Uwp

Windowscompositionsamples
Windows Composition Samples the place for getting the latest code samples and demos using Windows.UI.Xaml and Windows.UI.Composition to make beautiful Universal Windows Platform applications.
Stars: ✭ 922 (-19.48%)
Mutual labels:  fluent, uwp
Vuent
🎨 Vue.js components implementing Microsoft Fluent Design
Stars: ✭ 207 (-81.92%)
Mutual labels:  fluent, uwp
Files
A modern file manager that pushes the boundaries of the platform.
Stars: ✭ 15,198 (+1227.34%)
Mutual labels:  uwp, fluent
Rise-Media-Player
One media player for everything you own or stream; whether it's music or videos, online or offline Rise Media Player does it all. And it's beautiful and native with the latest version of WinUI.
Stars: ✭ 600 (-47.6%)
Mutual labels:  uwp, fluent
Notepads
A modern, lightweight text editor with a minimalist design.
Stars: ✭ 5,596 (+388.73%)
Mutual labels:  fluent, uwp
DevToys
A Swiss Army knife for developers.
Stars: ✭ 4,986 (+335.46%)
Mutual labels:  uwp, fluent
Quick-Pad
Quick Pad is a modern notepad app featuring fluent design
Stars: ✭ 183 (-84.02%)
Mutual labels:  uwp, fluent
Inventorysample
Sample UWP application for LOB scenarios
Stars: ✭ 476 (-58.43%)
Mutual labels:  fluent, uwp
Xaml Controls Gallery
This app demonstrates the controls available in WinUI and the Fluent Design System.
Stars: ✭ 882 (-22.97%)
Mutual labels:  fluent, uwp
React Form Controlled
Intuitive react forms for building powerful applications.
Stars: ✭ 53 (-95.37%)
Mutual labels:  react-components
Airr React
Animated views navigation and more for your Desktop and Mobile ReactJS app
Stars: ✭ 59 (-94.85%)
Mutual labels:  react-components
Paragon
💎 Accessible components done right.
Stars: ✭ 52 (-95.46%)
Mutual labels:  react-components
Kmd Uwp
kommander is a file manager with fluent design and maximum customizability
Stars: ✭ 54 (-95.28%)
Mutual labels:  uwp
Matchbox
🔥 A react UI component library
Stars: ✭ 58 (-94.93%)
Mutual labels:  react-components
Uwp Styles Library
Just a collection of some cool styles that you can just add on to your next UWP project!
Stars: ✭ 52 (-95.46%)
Mutual labels:  uwp
React Xmasonry
Simple, minimalistic and featured native masonry layout for React JS.
Stars: ✭ 62 (-94.59%)
Mutual labels:  react-components
Coolapk Uwp
酷安的UWP版第三方客户端。。
Stars: ✭ 52 (-95.46%)
Mutual labels:  uwp
Regex Builder
Write regular expressions in pure Java
Stars: ✭ 50 (-95.63%)
Mutual labels:  fluent
Awesome Uikit
Collect JS Frameworks, Web components library and Admin Template.
Stars: ✭ 1,136 (-0.79%)
Mutual labels:  react-components
Uwpx Client
A WIP secure XMPP client for UWP (Windows 10) devices.
Stars: ✭ 61 (-94.67%)
Mutual labels:  uwp

img

react-uwp

cdnjs npm package Build Status

PeerDependencies Dependencies DevDependencies

React Components that Implement Microsoft's UWP Design & Fluent Design System.

Online Documentation

img Visit react-uwp.com online to review the API, see the components in action with live. Or build the documentation to locally.

Installation

React-UWP is available as an npm package.

Use NPM to get React-UWP components and core styling. All you need is node.js and gulp.

npm install --save react-uwp

Usage

React-UWP components require a theme to be provided. The quickest way to get up and running is by using the Theme to inject the theme into your application context.then, you can use any of the components as demonstrated in documentation.

If you coding by Typescript, add ReactUWP namespace to tsconfig.json.

{
  "compilerOptions": {
    "typeRoots": [
      "./node_modules/@types"
    ],
    "filesGlob": [
      "**/*.ts",
      "**/*.tsx"
    ],
    "files": [
      "node_modules/react-uwp/index.d.ts" // add to here.
    ]
  }
}

./App.js

import * as React from "react";
import * as ReactDOM from "react-dom";
import { Theme as UWPThemeProvider, getTheme } from "react-uwp/Theme";
import MyComponent from "./MyComponent";

export class App extends React.Component {
  render() {
    return (
      <UWPThemeProvider
        theme={getTheme({
          themeName: "dark", // set custom theme
          accent: "#0078D7", // set accent color
          useFluentDesign: true, // sure you want use new fluent design.
          desktopBackgroundImage: "http://127.0.0.1:8092/staticimages/jennifer-bailey-10753.jpg" // set global desktop background image
        })}
      >
        <MyComponent />
      </UWPThemeProvider>
    )
  }
}

ReactDOM.render(
  <App />,
  document.getElementById("app")
);

./MyComponent.js

import * as React from "react";
import Button from "react-uwp/Button";

export default class MyComponent extends React.Component<void, void> {
  render() {
    return (
      <Button tooltip="Mini Tooltip" />
    )
  }
}

Notice: that in the above example, we used:

import Button from "react-uwp/Button";

instead of

import { Button } from "react-uwp";

This will make your build process faster and your build output smaller.

For a complete mapping of React-UWP components to import, see /src/index.ts inside the React-UWP npm package root directory.

Custom Theme

We have implemented a default theme to render all React-UWP components. Styling components to your liking is simple and hassle-free. This can be achieved in the following two ways:

Four Theme Style (Fluent Design & UWP Design)

img

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].