New FAB component #3807
ferretwithaberet
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey there, I made a new FAB (Floating Action Button) component using
react-native-ui-lib
. I am posting it here in case you want to add it to the lib. It should be able to be integrated with minimal changes to the provided code.It is actually 4 components:
FAB.Button
(Just a roundButton
, no positioning);FAB
(Absolutely positionedFAButton
);FAB.SpeedDial
(Absolutely positionedFAButton
which, when pressed, displays other buttons in an overlay);FAB.SpeedDial.Item
(Used to define the buttons displayed inside ofSpeedDial
).My calculations might be wrong for iOS, will test tomorrow in the simulator and update the gist.
https://gist.github.com/ferretwithaberet/5df16e9e99e98a165496a34c247c243a
Preview

This is the (open)
FAB.SpeedDial
.Beta Was this translation helpful? Give feedback.
All reactions