You can check the 3DS Pokémon games here:
https://www.nintendo.com/games/3ds/3ds-pokemon-games/
That list includes virtual console games too though, like RBY and GSC!
If you're just asking about the main series games exclusively for 3DS, then yeah, there are 8. X & Y (Kalos, gen VI), OR & AS (Hoenn remakes, gen VI), Sun & Moon, and Ultra Sun & Ultra Moon (Alola, gen VII).