@itwin/appui-react
TypeScript icon, indicating that this package has built-in type declarations

5.5.0 • Public • Published

@itwin/appui-react

Copyright © Bentley Systems, Incorporated. All rights reserved. See LICENSE.md for license terms and full copyright notice.

Description

The @itwin/appui-react package contains application fragments for View selection, and configuration of the application UI including the Backstage, Frontstages, Widgets, etc.

The AppUI React package is a portion of the iTwin.js User Interface library. It consists of major fragments of code that combine the functionality from the @itwin/core-frontend with the core-react and imodel-components packages to implement substantial functionality that can be used within an iTwin.js application.

The package makes use of React for rendering of the user interface, and uses react-redux and its concept of the state store for actions using reducers.

There are a number of sub-frameworks, each which has a set of components, actions, and reducers, and contributes to the overall State. Each such sub-framework is contained in a separate folder.

Usage

To get started with the @itwin/appui-react package, simply import the necessary components and utilities:

import {
  BackstageComposer,
  ConfigurableUiContent,
  ThemeManager,
} from "@itwin/appui-react";

export function App() {
  return (
    <ThemeManager>
      <ConfigurableUiContent appBackstage={<BackstageComposer />} />
    </ThemeManager>
  );
}

For more details, check out Get Started guide or @itwin/appui-react documentation.

/@itwin/appui-react/

    Package Sidebar

    Install

    npm i @itwin/appui-react

    Weekly Downloads

    4,753

    Version

    5.5.0

    License

    MIT

    Unpacked Size

    6.55 MB

    Total Files

    2223

    Last publish

    Collaborators

    • imodeljs
    • colinkerr
    • wgoehrig
    • aruniverse
    • cshafer