In a large bowl, gently flake the crab meat, ensuring no shells remain.
Add the finely diced celery, minced red onion (if using), and chopped fresh dill to the bowl with the crab.
In a separate small bowl, whisk together the mayonnaise, lemon juice, Dijon mustard, salt, pepper, and cayenne pepper (if using) until smooth and well combined.
Pour the dressing over the crab mixture. Gently fold everything together until the crab is evenly coated. Be careful not to overmix, as this can break up the delicate crab meat.
Taste and adjust seasonings as needed. For best flavor, cover and refrigerate for at least 30 minutes before serving to allow the flavors to meld.
Serve chilled on lettuce cups, crackers, toasted bread, or as a sandwich filling.