You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@fluentui-contrib/react-draggable-dialog

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fluentui-contrib/react-draggable-dialog

A draggable dialog component powered by Fluent UI.

0.1.2
latest
Source
npmnpm
Version published
Weekly downloads
142
-40.59%
Maintainers
1
Weekly downloads
 
Created
Source

@fluentui-contrib/react-draggable-dialog

A draggable dialog component powered by Fluent UI.

Try it out

yarn add @fluentui-contrib/react-draggable-dialog

npm install @fluentui-contrib/react-draggable-dialog
import * as React from 'react';
import { Button, DialogContent, DialogTrigger, DialogActions, DialogBody, DialogTitle } from '@fluentui/react-components';

import { DraggableDialog, DraggableDialogSurface, DraggableDialogHandle } from '@fluentui-contrib/react-draggable-dialog';

export const DraggableDialog = () => {
  return (
    <DraggableDialog>
      <DialogTrigger>
        <Button>Toggle dialog</Button>
      </DialogTrigger>

      <DraggableDialogSurface>
        <DialogBody>
          <DraggableDialogHandle>
            <DialogTitle>Drag me</DialogTitle>
          </DraggableDialogHandle>

          <DialogContent>
            <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam exercitationem cumque repellendus eaque est dolor eius expedita nulla ullam? Tenetur reprehenderit aut voluptatum impedit voluptates in natus iure cumque eaque?</p>
          </DialogContent>

          <DialogActions>
            <DialogTrigger disableButtonEnhancement>
              <Button appearance="secondary">Close</Button>
            </DialogTrigger>

            <Button appearance="primary">Do Something</Button>
          </DialogActions>
        </DialogBody>
      </DraggableDialogSurface>
    </DraggableDialog>
  );
};

FAQs

Package last updated on 10 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts