All Projects → signavio → react-stick

signavio / react-stick

Licence: MIT license
React component to stick a portaled node to an anchor node

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to react-stick

RAScrollablePickerView
Lightweight HSB color picker view.
Stars: ✭ 39 (-23.53%)
Mutual labels:  ui-design
YetiForcePortal2
The Customer Portal complements YetiForce CRM and is the most effective communication tool for your customers. It’s easy to use and delivers many new functions. You can reduce operating expenses by providing support 24 hours a day. YetiForce Portal platform delivers also greater customer experiences as your clients can see all relevant informati…
Stars: ✭ 28 (-45.1%)
Mutual labels:  portal
calmly
Calmly is made with flutter to practice meditation to bring headspace and calmness. 😍💆🏼‍♂️
Stars: ✭ 34 (-33.33%)
Mutual labels:  ui-design
Advanced-Portals
An advanced portals plugin for bukkit
Stars: ✭ 108 (+111.76%)
Mutual labels:  portal
osmcz
JS mapová appka pro openstreetmap.cz (osmcz-app)
Stars: ✭ 35 (-31.37%)
Mutual labels:  portal
meshery.io
Site for Meshery, the cloud native management plane
Stars: ✭ 135 (+164.71%)
Mutual labels:  ui-design
components
Example Components (Built with Tonic)
Stars: ✭ 62 (+21.57%)
Mutual labels:  ui-design
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 (+1076.47%)
Mutual labels:  ui-design
BoxFeed
News App 📱 built to demonstrate the use of SwiftUI 3 features, Async/Await, CoreData and MVVM architecture pattern.
Stars: ✭ 112 (+119.61%)
Mutual labels:  ui-design
PickleDesign
Pickle Design - Web Portfolio
Stars: ✭ 11 (-78.43%)
Mutual labels:  ui-design
palette-21-frontend
Frontend website for Palette 2021 using React.js
Stars: ✭ 14 (-72.55%)
Mutual labels:  portal
godot-portal-demo
Experimenting with portals in Godot Engine
Stars: ✭ 66 (+29.41%)
Mutual labels:  portal
Citrus.Avalonia
Modern styles for Avalonia controls.
Stars: ✭ 326 (+539.22%)
Mutual labels:  ui-design
FireMonkeyInstagramApp
Sample Instagram UI design project made with Embarcadero Delphi 10.1 Berlin.
Stars: ✭ 23 (-54.9%)
Mutual labels:  ui-design
CoolAnimation4Beginner
Making Beauty Android UI/UX Design with cool Animation
Stars: ✭ 21 (-58.82%)
Mutual labels:  ui-design
SSP
Student Success Plan - Open Source Software Project
Stars: ✭ 31 (-39.22%)
Mutual labels:  portal
svelte-portal
Svelte component for rendering outside the DOM of parent component
Stars: ✭ 261 (+411.76%)
Mutual labels:  portal
bolsa
Biblioteca feita em Python com o objetivo de facilitar o acesso a dados de seus investimentos na bolsa de valores(B3/CEI) através do Portal CEI.
Stars: ✭ 46 (-9.8%)
Mutual labels:  portal
trident
Trident is a trusted and secure communication platform for enabling better communication between groups of trusted parties
Stars: ✭ 21 (-58.82%)
Mutual labels:  portal
Instahelp
Instahelp is a Q&A portal website similar to Quora
Stars: ✭ 21 (-58.82%)
Mutual labels:  portal

react-stick

CircleCI codecov npm package semantic-release

Stick is a component that allows to attach an absolutely positioned node to a statically positioned anchor element. Per default, the node will be rendered in a portal as a direct child of the body element.

npm install --save react-stick
import Stick from 'react-stick'

<Stick node={<p>The stick node</p>} position="bottom center" align="top center">
  <p>The anchor node</p>
</Stick>

Props

prop name type description
children node The content of the anchor element
node node The node to stick to the anchor element
position one of: "bottom left", "bottom center", "bottom right", "middle left", "middle center", "middle right", "top left", "top center", "top right" (default value: "bottom left") The reference point on the anchor element at which to position the stick node
align one of: "bottom left", "bottom center", "bottom right", "middle left", "middle center", "middle right", "top left", "top center", "top right" (default value depends on the position) The alignment of the stick node. You can also think of this as the reference point on the stick node that is placed on the position reference point of the anchor node. For example position="top left" align="bottom right" means "put the bottom right point of the stick not onto the top left point of the anchor node".
sameWidth boolean If set to true, the container of the stick node will have the same width as the anchor node. This enforces a maximum width on the content of the stick node.
autoFlipVertically boolean If a node has been attached to the bottom but there isn't enough space on the screen it will automatically be positioned to the top.
autoFlipHorizontally boolean If a node has been attached to the left but there isn't enough space on the screen it will automatically be positioned to the right.
onClickOutside function: (event: Event) => void A handler that is called on every click on any element outside of the anchor element and the stick node.
inline boolean If set to true, the stick node will not be rendered detached but inside the same container as the anchor node.
updateOnAnimationFrame boolean If set to true, will update the stick node position on every animation frame. Per default, it will only update on idle callback.
component string Pass any string-type React component that shall be rendered as the wrapper element around the children. Per default, "div" is used.
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].