Docs
Floating Phone

Floating Phone

A floating phone component.

AK

codeWithToni

Full Stack Developer

Connect with Toni

Installation

Examples

24°

Partly Cloudy

Wind

12 km/h

Humidity

64%

UV Index

6/10

Cloud Cover

25%

Hourly Forecast

Now

24°

2PM

26°

3PM

25°

4PM

23°

Open Weather
Album artwork

Cosmic Dream

Stellar Soundscapes

2:143:45
Open Music App

Props

PropTypeDefaultDescription
gradientStartstring"#4F46E5"Starting color of the gradient background. Accepts any valid CSS color value
gradientEndstring"#9333EA"Ending color of the gradient background. Accepts any valid CSS color value
textColorstring"#ffffff"Color of the text content. Used for default content and action button text
contentReact.ReactNodeundefinedCustom content to be displayed inside the phone. Overrides the default logo and title display
logoReact.ReactNodeundefinedCustom logo component to be displayed when no content prop is provided
titlestringundefinedTitle text to be displayed below the logo when no content prop is provided
actionTextstringundefinedText to be displayed in the action button at the bottom of the phone
actionLinkstring"#"URL for the action button link
showStatusBarbooleantrueControls the visibility of the status bar at the top of the phone