Rim your glass with salt or sugar, if desired. Set aside.
Fill a cocktail shaker with ice.
Add tequila, lime juice, lavender syrup, and triple sec.
Shake well for about 15 seconds.
Strain into a glass filled with fresh ice.
Garnish with a lavender sprig or lime wedge. Serve immediately.