UI templates
Starting…
Pick a UI template to include it in the prompt.
Usage with these values
import { StylizedGrass } from "@/components/cortiz/stylized-grass/stylized-grass";
export default function Background() {
return (
<StylizedGrass
className="h-svh w-full"
coreColor="#79a01c"
midColor="#4f7c13"
rimColor="#c1e54d"
accentColor="#b084c7"
flowerCenterColor="#cbb36a"
flowerBlueColor="#9287ff"
dirtColor="#ac956c"
soilColor="#c4a77d"
leafInnerColor="#1c3b23"
leafOuterColor="#5c8338"
sky="day"
bladeDensity={300}
bladeMinLength={0.15}
bladeMaxLength={0.25}
bladeMinWidth={0.06}
bladeMaxWidth={0.06}
brightness={0.8}
gradientStart={0.15}
gradientEnd={1}
dirtCoverage={0.41}
dirtScale={0.4}
dirtSoftness={0.06}
dirtCut={1}
dirtBlend={0.8}
soilVariation={0.9}
windStrength={0.1}
windSpeed={1.3}
windDirection={243}
windTurbulence={0.04}
trampleFlatten={1}
trampleBend={0.41}
backlight={2.5}
shadowStrength={0.35}
flowers={true}
flowerDensity={0.6}
flowerSize={0.6}
leafWind={1.5}
bloom={0.3}
cameraDrift={0.2}
/>
);
}Colours
Controls
A wind-animated field of instanced grass blades and flowers in a clearing of pines and low-poly rocks, under a procedural sky. Procedural dirt patches thin the grass into bare earth, rocks press it flat, blades glow when backlit and each blade takes one shadow sample, so shadow edges follow the grass. By Christian Ortiz (Cortiz), MIT.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| coreColor | string (hex colour) | "#79a01c" | Grass tips |
| midColor | string (hex colour) | "#4f7c13" | Grass base |
| rimColor | string (hex colour) | "#c1e54d" | Backlight glow |
| accentColor | string (hex colour) |
More from Stylized Components
Remix
Anime Water
More in 3D Scenes
View all
RemixPebble Cluster










