9.3.2 • Published 1 day ago

@fluentui/react-drawer v9.3.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 day ago

@fluentui/react-drawer

React Drawer components for Fluent UI React

These are not production-ready components and should never be used in product. This space is useful for testing new components whose APIs might change before final release.

The Drawer gives users a quick entry point to configuration and information. It should be used when retaining context is beneficial to users. An overlay is optional depending on whether or not interacting with the background content is beneficial to the user’s context/scenario. An overlay makes the Drawer blocking and signifies that the users full attention is required when making configurations.

Usage

To import React Drawer components:

import {
  Drawer,
  OverlayDrawer,
  InlineDrawer,
  DrawerHeader,
  DrawerHeaderTitle,
  DrawerHeaderNavigation,
  DrawerBody
} from "@fluentui/react-components';

Simple example of Drawer Usage:

import { DrawerBody, DrawerHeader, DrawerHeaderTitle, Drawer } from '@fluentui/react-components';
import { Button } from '@fluentui/react-components';
import { Dismiss24Regular } from '@fluentui/react-icons';

export const App = () => (
  <Drawer type="inline" open>
    <DrawerHeader>
      <DrawerHeaderTitle
        action={
          <Button
            appearance="subtle"
            aria-label="Close drawer"
            icon={<Dismiss24Regular />}
            onClick={() => setIsOpen(false)}
          />
        }
      >
        Title goes here
      </DrawerHeaderTitle>
    </DrawerHeader>

    <DrawerBody>
      <p>Content goes here</p>
    </DrawerBody>
  </Drawer>
);

Specification

See the Spec.md file for background information on the design/engineering decisions of the component.

API

For information about the components, please refer to the API documentation.

9.3.2

1 day ago

9.3.1

5 days ago

9.3.0

8 days ago

9.2.2

12 days ago

9.2.1

15 days ago

9.2.0

19 days ago

9.1.12

28 days ago

9.1.11

1 month ago

9.1.10

2 months ago

9.1.9

2 months ago

9.1.8

2 months ago

9.1.7

2 months ago

9.1.6

3 months ago

9.1.5

3 months ago

9.1.4

3 months ago

9.1.3

4 months ago

9.1.2

4 months ago

9.1.1

4 months ago

9.1.0

4 months ago

9.0.9

4 months ago

9.0.8

4 months ago

9.0.7

4 months ago

9.0.6

5 months ago

9.0.5

5 months ago

9.0.4

5 months ago

9.0.3

6 months ago

9.0.0-beta.39

7 months ago

9.0.0-beta.37

7 months ago

9.0.0-beta.38

7 months ago

9.0.0-beta.35

7 months ago

9.0.0-beta.36

7 months ago

9.0.0-beta.33

7 months ago

9.0.0-beta.34

7 months ago

9.0.0-beta.31

8 months ago

9.0.0-beta.32

8 months ago

9.0.0-beta.30

8 months ago

9.0.0-beta.9

10 months ago

9.0.0-beta.8

10 months ago

9.0.0-beta.7

11 months ago

9.0.0-beta.6

11 months ago

9.0.0-beta.40

7 months ago

9.0.0-beta.41

7 months ago

9.0.2

6 months ago

9.0.1

6 months ago

9.0.0

6 months ago

9.0.0-beta.19

9 months ago

9.0.0-beta.17

9 months ago

9.0.0-beta.18

9 months ago

9.0.0-beta.15

9 months ago

9.0.0-beta.16

9 months ago

9.0.0-beta.13

10 months ago

9.0.0-beta.14

9 months ago

9.0.0-beta.11

10 months ago

9.0.0-beta.12

10 months ago

9.0.0-beta.10

10 months ago

9.0.0-beta.29

8 months ago

9.0.0-beta.26

8 months ago

9.0.0-beta.27

8 months ago

9.0.0-beta.24

8 months ago

9.0.0-beta.25

8 months ago

9.0.0-beta.22

9 months ago

9.0.0-beta.23

9 months ago

9.0.0-beta.20

9 months ago

9.0.0-beta.21

9 months ago

9.0.0-beta.5

11 months ago

9.0.0-beta.4

11 months ago

9.0.0-beta.3

11 months ago

9.0.0-beta.2

11 months ago

9.0.0-beta.1

12 months ago