---
title: "Showcase"
description: "Larger examples that combine several features. Each one runs on the page, with the files it is made of beside it. Copy both files into your project to use one."
url: "https://opensource.rising.sh/solid-motion/docs/showcase"
---

# Showcase

Larger examples that combine several features. Each one runs on the page, with
the files it is made of beside it. Copy both files into your project to use one.

## Resizing panel

A panel that changes size with its content. [`layout`](https://opensource.rising.sh/solid-motion/docs/layout.md) animates the
box, and [`AnimatePresence`](https://opensource.rising.sh/solid-motion/docs/presence.md) with `mode="popLayout"` crosses one
view into the next.

The [web page](https://opensource.rising.sh/solid-motion/docs/showcase) shows a live demo here.

## Card stack

Throw the top card to the side and it goes to the back. The
[drag](https://opensource.rising.sh/solid-motion/docs/drag.md#props) reports the speed of the release, so a short quick flick
counts as much as a long pull.

The [web page](https://opensource.rising.sh/solid-motion/docs/showcase) shows a live demo here.

## App grid

Drag the grid in any direction. Every icon takes its size from its distance to
the centre, through a [derived value](https://opensource.rising.sh/solid-motion/docs/motion-values.md#derived-values).

The [web page](https://opensource.rising.sh/solid-motion/docs/showcase) shows a live demo here.

## Swipe actions

Swipe a message to the left to reveal the button behind it.
[`dragTransition`](https://opensource.rising.sh/solid-motion/docs/drag.md#release) settles the message open or closed, and the
rows below move up when one is deleted.

The [web page](https://opensource.rising.sh/solid-motion/docs/showcase) shows a live demo here.

## Filter grid

Pick a filter. The pictures that stay move to their new place while the others
leave, and the highlight moves between the buttons with a shared
[`layoutId`](https://opensource.rising.sh/solid-motion/docs/layout.md#layoutid).

The [web page](https://opensource.rising.sh/solid-motion/docs/showcase) shows a live demo here.

## Hold to delete

Hold the button until it fills. Let go early and it empties again.
[`onTapStart` and `onTapCancel`](https://opensource.rising.sh/solid-motion/docs/gestures.md) drive the fill, and the check is
[drawn](https://opensource.rising.sh/solid-motion/docs/svg.md) at the end.

The [web page](https://opensource.rising.sh/solid-motion/docs/showcase) shows a live demo here.

## Tilt card

Move the pointer over the card. Two [springs](https://opensource.rising.sh/solid-motion/docs/motion-values.md) follow the
pointer, and the tilt and the glare are both derived from them.

The [web page](https://opensource.rising.sh/solid-motion/docs/showcase) shows a live demo here.

## Scroll words

Scroll inside the box. [`createScroll`](https://opensource.rising.sh/solid-motion/docs/scroll.md) gives the progress, and each
word maps its own part of it to an opacity.

The [web page](https://opensource.rising.sh/solid-motion/docs/showcase) shows a live demo here.

The manual's pages are listed in [llms.txt](https://opensource.rising.sh/solid-motion/llms.txt).
