rx.stack(
rx.skeleton(height="10px", speed=1.5),
rx.skeleton(height="15px", speed=1.5),
rx.skeleton(height="20px", speed=1.5),
width="50%",
)
rx.stack(
rx.skeleton_circle(size="30px"),
rx.skeleton_text(no_of_lines=8),
width="50%",
)
rx.stack(
rx.skeleton_text(
no_of_lines=5,
start_color="pink.500",
end_color="orange.500",
),
width="50%",
)
is_loaded
prop.Text is already loaded.
Text is already loaded.
rx.vstack(
rx.skeleton(
rx.text("Text is already loaded."), is_loaded=True
),
rx.skeleton(
rx.text("Text is already loaded."), is_loaded=False
),
)
Skeleton is used to display the loading state of some components. You can use it as a standalone component. Or to wrap another component to take the same height and width.
SkeletonCircle is used to display the loading state of some components.
SkeletonText is used to display the loading state of some components.