Game version

Crystal Shard in Terraria

Terraria item ID 502. Terraria 1.4.5.7.

Crystal Shards are a common Hardmode crafting material found in the Underground Hallow. They can naturally grow on the left, right, and bottom sides of Pearlstone, Pink Ice, Pearlsand, Hardened Pearlsand, and Pearlsandstone Blocks. Due to their constant regrowth, they can be farmed (see Guide:Farming resources ยง Crystal Shards for details). Crystal Shards emit a small glow, similar to Demonite Ore and Crimtane Ore. They do not spread the Hallow. When a Crystal Shard is to be grown, it has a 1/50 (2%) chance to be replaced by a Gelatin Crystal(Desktop, Console and Mobile versions) instead.

What Crystal Shard is used to craft

Description from the Terraria Wiki.

Dungeon Guardian: Terraria crafting trees for every item