question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Consumer UI Refresh] Create a Floating Action Button component by adding a fixed position icon

See original GitHub issue

If you haven’t already, check out our contributing guidelines for onboarding!


  • Using the resource provided add a fixed position touchable icon component called FAB.js in /components
  • The FAB must always be the same distance from the RIGHT EDGE of the sidebar area regardless of screen width
  • We are not yet using this element so it should remain hidden for now but easily testable (use a prop isHidden for now).
  • It must use a Pressable and take an onPress callback
  • It must also accept a prop of isActive and display an alternate view when this prop is true
  • When moving from the not active to active state the SVG can be rotated via a transform and the fill color set to gray
  • No external dependencies are allowed
  • Here is the exact location where it should sit at both wide screen views and small screen widths and the two states of the FAB shown

FAB example

Asset: plus.svg.zip

Upwork: https://www.upwork.com/jobs/~0134b44cccd50f0085

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
marcaaroncommented, Jan 13, 2021

We can chat more in the reviews when you are ready with the PR. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Consumer UI Refresh] Create a Floating Action Button ...
Using the resource provided add a fixed position touchable icon component called FAB.js in /components The FAB must always be the same ...
Read more >
Add a Floating Action Button - Android Developers
A floating action button (FAB) is a circular button that triggers the primary action in your app's UI. This page shows you how...
Read more >
The floating action button in SaaS: your best guide in 2022
A floating action button is a circular icon button that hovers over content to promote a primary action to the user with one...
Read more >
ion-fab-button - Ionic Framework
Floating Action Buttons (FABs) represent the primary action in an app. The icons are circular and, when pressed, the button may open more...
Read more >
How to Create a Floating Action Button with Pure CSS ...
So we add the CSS rules, set the position fixed, 50px from bottom and 50px from the right. Add the cursor:pointer so it...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found