A riparium is a tank with a shoreline. What you actually need
Learn what a riparium is and what you need to build one: an open-top tank, planters, plants that tolerate wet roots, and light above the water.

Two plants that never go in the gravel and don't mind current: how to tie or glue java fern and anubias to rock and wood, light and care, and growing them above the water in a riparium.
Jack·3 min read·October 5, 2026
Most aquarium plants get uprooted in a river tank. The current washes the gravel away from their roots and they float off. Java fern and anubias solve that problem: they don't go in the gravel at all. They grow on rocks and wood, just like they do in the streams they come from.
Both plants grow from a rhizome, the thick horizontal stem that the leaves and roots come out of. If you bury it in the gravel or sand, it rots. Instead, attach the plant to a rock or a piece of driftwood and let the roots grab on by themselves.
Tie them on. Wrap cotton thread or fishing line around the rhizome and the rock or wood. Snug, not tight enough to cut into it. In a few weeks, the roots grip the surface. Cotton thread rots away by itself; fishing line you can snip off later.
Glue them on. Gel-type super glue (cyanoacrylate) is safe for fish once it sets. Dry the spot on the rock and the rhizome, put a dab of glue on the rock, and press the plant on for 30 seconds. This is the fastest way.
Wedge them in. Tuck the rhizome into a crack between rocks or under a root. Easy, but make sure the current can't pull it out.
Java fern (now classified as Leptochilus pteropus) has long, tough, leathery leaves. Fish and most snails leave it alone. Varieties include narrow leaf, needle leaf, "trident" and "windelov," which has frilly leaf tips.
Anubias (usually Anubias barteri and its varieties, like the small "nana" and "petite") has thick, rounded, dark green leaves that are almost indestructible.
Both plants are ideal for a river tank. Their leaves are tough enough to handle flow, and once their roots attach they don't wash away. Put them in the moderate-flow parts of the tank, and use them to make the calm pockets fish need behind rocks.
Here's the riparium bonus: anubias in particular can grow emersed, with its roots in the water and its leaves in the air. Tie it to a rock or wood that sticks out of the water and it will grow slowly in the humid air above the tank. Java fern can grow partly out of water too, as long as the humidity stays high. See our guide to riparium plants with roots in the water for more.