ComponentsBlocks
Hero Snow Water
A hero section with snow falling through the sky and water below, where the headline's last line stands on the waterline above its wavering reflection.
"use client";
import { Button } from "@/components/miyuki-ui/button";
import { HeroSnowWater } from "@/components/miyuki-ui/hero-snow-water";
export default function HeroSnowWaterDemo() {
return (
<HeroSnowWater title={["Know the mountain", "before you leave the valley."]} className="min-h-svh">
<p className="max-w-[24rem] text-[17px]/7 text-pretty text-muted-foreground">
Avalanche bulletins, summit wind and snow depth for 214 peaks, written at 05:30 by forecasters who climb them.
</p>
<div className="mt-6 flex flex-wrap gap-3">
<Button size="lg">Read today’s bulletin</Button>
<Button size="lg" variant="secondary">
Find a station
</Button>
</div>
</HeroSnowWater>
);
}Install
npx shadcn@latest add @miyuki-ui/hero-snow-waterThis needs the @miyuki-ui registry in your components.json. See Using the shadcn CLI.
Props
HeroSnowWater
Prop
Type
Hero sections
Two opening sections for a landing page: a centred headline over a framed preview, and a split layout with photographs that move with the pointer.
Hut Booking
A three-step booking card for a mountain hut: nights on a range calendar, guests and meals, then confirm, with an itemised summary that updates as you choose and a hut stamp on the booking.