Urap is the salad Paul reaches for when the rice pot is already on and the fridge holds a few vegetables that need using up. It is a Javanese dish of steamed vegetables tossed with a spiced grated coconut topping, and it turns green beans, spinach, and bean sprouts into a side dish with real character. The vegetables stay bright and a little firm, and the coconut brings salt, sour tamarind, a little sweetness from palm sugar, and heat from chili.
The work is short: blanch each vegetable on its own clock, fry a small spice paste with grated coconut until it turns dry and fragrant, then toss. Paul serves it at room temperature next to soto ayam or Indonesian fried rice, the way it shows up on a nasi campur plate. One batch serves 4 as a side, and the coconut topping keeps in the fridge for up to 2 weeks, so a second round of vegetables is a 10-minute job.

What is urap?
Urap, also called urap sayur, is a Javanese vegetable salad. Sayur means vegetables, and urap means to mix or blend, which is exactly what happens: blanched vegetables get tossed with sambal urap, a seasoned grated coconut topping. The dish shows up on nasi campur, the Indonesian mixed rice plate, next to rice, grilled meat or tofu, and sambal. In Bali it goes by the name lawar, and some versions there add meat.
The vegetable mix changes with the season and the market. Green beans, spinach, bean sprouts, cabbage, water spinach, and cassava leaves all work. What stays the same is the topping: grated coconut fried with shallot, garlic, chili, kencur, makrut lime leaf, tamarind, and palm sugar. Expect salty, sour, a little sweet, and a little spicy in the same bite, with the coconut clinging to every strand. Serve it at room temperature, not hot and not straight from the fridge.
Ingredients
For the vegetables:
- 8 ounces green beans, trimmed and cut into 2-inch pieces
- 8 ounces spinach, stems trimmed
- 8 ounces mung bean sprouts, brown tails pinched off
- 2 cups shredded green cabbage
- 1 teaspoon salt, for the blanching water
For the spice paste:
- 3 shallots, peeled
- 3 cloves garlic
- 2 large red chilies, seeded
- 1 bird’s eye chili, optional
- 1 teaspoon kencur powder, or 1 inch fresh kencur, peeled
- 2 makrut lime leaves, center ribs removed
- 1 teaspoon shrimp paste, optional
- 1 tablespoon vegetable oil
For the coconut topping:
- 1 1/2 cups fresh grated coconut, or frozen grated coconut, thawed
- 1 teaspoon tamarind paste, dissolved in 2 tablespoons hot water
- 1 teaspoon palm sugar, grated
- 1 teaspoon salt

Steps
- Fill a large pot with water, add 1 teaspoon of salt, and bring it to a boil. Set a large bowl of ice water beside the stove.
- Blend the shallots, garlic, chilies, kencur, lime leaves, and shrimp paste, if using, into a smooth paste. Add 1 tablespoon of water if the blender stalls.
- Blanch the vegetables one kind at a time: green beans for 2 minutes, cabbage for 1 minute, spinach for 30 seconds to 1 minute, bean sprouts for 30 seconds. Lift each batch straight into the ice water, then drain and squeeze dry in handfuls.
- Heat 1 tablespoon of oil in a wok over medium heat. Fry the paste, stirring, until it smells fragrant and darkens a shade, 2 to 3 minutes.
- Add the grated coconut, tamarind water, palm sugar, and salt. Cook, stirring often, until the coconut is dry to the touch and smells toasted, 8 to 10 minutes. Taste and adjust the salt and sugar.
- Let the coconut topping cool for 5 minutes. Put the vegetables in a wide bowl, spoon the topping over, and toss with your hands or two spoons until every strand is coated.
- Serve at room temperature within an hour.
Blanch each vegetable on its own clock
The vegetables are the part most people rush, and it shows. Green beans need 2 minutes, cabbage needs 1 minute, spinach needs 30 seconds to 1 minute, and bean sprouts need only 30 seconds. Cook them together and the sprouts turn to mush while the beans are still raw in the middle. Paul blanches one kind at a time and lifts each batch straight into ice water, which stops the cooking and keeps the green bright.
Water is the enemy after the ice bath. Squeeze each batch dry in handfuls before it goes into the bowl. A wet vegetable waters down the coconut topping and turns the whole salad soupy within minutes. If the squeezed vegetables still feel damp, spread them on a clean towel for a few minutes. Dry vegetables take the topping; wet ones shed it.
The coconut topping
The topping is what makes urap taste like urap, so give it the full 8 to 10 minutes in the pan. The coconut should end up dry to the touch and smelling toasted, not damp and pale. If it still clumps wet after 10 minutes, keep cooking and stirring for another 2 minutes. A dry topping keeps for up to 2 weeks in a sealed container in the fridge, and it stays loose instead of turning into a paste.
Kencur is the flavor that sets this topping apart. It is aromatic ginger, also called sand ginger or lesser galangal, and it tastes sharp and earthy, somewhere between ginger and camphor. One teaspoon of the powder is enough for this batch. More than that takes over the whole dish, so start at 1 teaspoon and add more only after you taste the finished topping. If fresh kencur is hard to find, the powder works, and a pinch of ground ginger plus a little extra lime leaf gets close.
Use fresh or frozen grated coconut. Desiccated coconut from a bag works in a pinch, but it drinks up the paste and turns dry and dull. If the bag is sweetened shredded coconut, skip the palm sugar and taste before adding any. Taste the topping before it meets the vegetables: it should read salty first, then sour, then a little sweet, with heat at the back.

Tips and variations
Swap the vegetables with what is in season: water spinach, yardlong beans, papaya leaves, or cassava leaves all fit, and they blanch on the same clocks as the ones listed. For a vegan version, leave out the shrimp paste and add an extra pinch of salt. The topping still tastes full because the kencur and lime leaf carry it.
For a mild version, use only the 2 large red chilies and skip the bird’s eye chili. For more heat, keep the seeds in one of the large chilies instead of adding more bird’s eye chilies, which can spike the heat fast.
Make the parts ahead and toss at serving time. The vegetables and the topping keep separately in the fridge, and the salad itself is best eaten within an hour of mixing, before the vegetables start to release water. Leftover topping goes back in a sealed container for up to 2 weeks. Leftover dressed salad does not keep well, so make only as much as the table will finish.

Troubleshooting: Fix My Urap
If your urap came out soggy, flat, or too strong on the kencur, the section below walks through the common fixes. Pick what went wrong to see a practical next step.
HERB & LIME · KITCHEN HELP Choose what went wrong to see a practical next step. From Paul's kitchen. Results vary with vegetable size, coconut freshness, and stove heat, adjust timing to your setup. Quick reference (also works without JavaScript) Cause: The vegetables were blanched too long, or left sitting in hot water after cooking instead of going straight into ice water. Try: Serve it right away with extra coconut topping spooned over the top, and keep the plate cool so the vegetables stop softening. Prevent: Blanch each vegetable on its own clock: green beans 2 minutes, cabbage 1 minute, spinach 30 seconds to 1 minute, bean sprouts 30 seconds, then shock in ice water. Cause: The kencur was left out, or the topping was under-seasoned and never tasted before mixing. Try: Stir in a pinch of salt and a squeeze of lime, taste again, and add a little more tamarind water if it still tastes flat. Prevent: Add kencur and taste the topping before it meets the vegetables, it should read salty first, then sour, then a little sweet. Cause: Too much kencur went in, and it is a strong spice where a little goes a long way. Try: Mix in another half cup of grated coconut and a pinch of palm sugar to dilute the flavor, then taste before adding more. Prevent: Start with 1 teaspoon of kencur powder for the whole batch, and add more only after tasting the finished topping. Cause: The vegetables held water from blanching, and the water thinned the coconut topping as it sat. Try: Lift the vegetables out, squeeze them dry in handfuls, and toss again with the topping before serving. Prevent: Squeeze each batch dry after the ice bath, and keep the topping and vegetables separate until serving time. Cause: Sweetened shredded coconut was used, so the sugar in the bag added sweetness on top of the palm sugar. Try: Add a pinch of salt and a teaspoon of tamarind water to pull the sweetness back, then taste again. Prevent: Buy unsweetened shredded coconut, and leave the palm sugar out if the bag is sweetened.Fix My Urap
Possible cause
What to try next
For next time
The vegetables turned soft and limp
The coconut topping tastes flat
The kencur tastes too strong
The salad turned watery
The topping is too sweet

Urap: Indonesian Steamed Vegetables with Spiced Coconut
Ingredients
Method
- Fill a large pot with water, add 1 teaspoon of salt, and bring it to a boil. Set a large bowl of ice water beside the stove.
- Blend the shallots, garlic, chilies, kencur, lime leaves, and shrimp paste, if using, into a smooth paste. Add 1 tablespoon of water if the blender stalls.
- Blanch the vegetables one kind at a time: green beans for 2 minutes, cabbage for 1 minute, spinach for 30 seconds to 1 minute, bean sprouts for 30 seconds. Lift each batch straight into the ice water, then drain and squeeze dry in handfuls.
- Heat 1 tablespoon of oil in a wok over medium heat. Fry the paste, stirring, until it smells fragrant and darkens a shade, 2 to 3 minutes.
- Add the grated coconut, tamarind water, palm sugar, and salt. Cook, stirring often, until the coconut is dry to the touch and smells toasted, 8 to 10 minutes. Taste and adjust the salt and sugar.
- Let the coconut topping cool for 5 minutes. Put the vegetables in a wide bowl, spoon the topping over, and toss with your hands or two spoons until every strand is coated.
- Serve at room temperature within an hour.
Notes
More Indonesian recipes
- Soto Ayam: Indonesian Chicken Soup
- Indonesian Nasi Goreng
- Sayur Asem: Indonesian Tamarind Vegetable Soup
- Perkedel: Indonesian Potato Fritters
From the garden
Two of the vegetables in this salad grow well in pots. Yardlong beans climb a trellis in a single large container and give long pods all summer, and bean sprouts grow on the kitchen counter in a jar in about 4 days, no soil at all. Paul picks the beans young, while they are still thin and tender, because older pods turn tough in the blanching water.