2020-06-09 09:09:22 +02:00
---
page_type: sample
products:
- office-sp
languages:
- javascript
- typescript
extensions:
contentType: samples
technologies:
- SharePoint Framework
platforms:
- react
createdDate: 6/1/2017 12:00:00 AM
---
2020-11-08 23:42:17 -05:00
# Side Panel
2017-05-12 08:08:19 -07:00
## Summary
The web part illustrates creation and usage of Side Panel (Sidebar) control.

2021-11-07 01:33:53 -05:00
## Compatibility




-Compatible-green.svg)


2022-02-16 21:47:07 -05:00

2017-05-12 08:08:19 -07:00
## Applies to
2020-06-09 09:09:22 +02:00
* [SharePoint Framework ](https://docs.microsoft.com/sharepoint/dev/spfx/sharepoint-framework-overview )
2017-05-12 08:08:19 -07:00
## Solution
Solution|Author(s)
--------|---------
react-side-panel | Alex Terentiev ([Sharepointalist Inc. ](http://www.sharepointalist.com ), [AJIXuMuK ](https://github.com/AJIXuMuK ))
## Version history
Version|Date|Comments
-------|----|--------
1.0|May 11, 2017|Initial release
## Disclaimer
**THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.**
## Features
Sample features:
- ability to add controls outside web part markup (thanks to Layout component)
- usage of Office UI Fabric React (Layout, ImageButton)
- CSS transition animations
Control features:
- left or right positioning
- usage of this.props.children for content
### Resources
- [React Quick Start ](https://facebook.github.io/react/docs/tutorial.html )
- [TypeScript React Tutorials ](https://www.typescriptlang.org/docs/handbook/react-&-webpack.html )
2020-06-09 09:09:22 +02:00
- [Office UI Fabric ](https://developer.microsoft.com/fluentui/ )
2017-05-12 08:08:19 -07:00
## Building the code
```bash
git clone the repo
npm i
npm i -g gulp
gulp
```
This package produces the following:
* lib/* - intermediate-stage commonjs build artifacts
* dist/* - the bundled script, along with other resources
* deploy/* - all resources which should be uploaded to a CDN.
2019-04-15 12:49:10 +03:00
2021-12-20 10:25:30 -05:00
< img src = "https://pnptelemetry.azurewebsites.net/sp-dev-fx-webparts/samples/react-side-panel" / >