I see this has already been answered, but I'll put it plainly for anybody else with this question:
The Wii U, DS, and 3DS have resistive screens, designed for precision stylus input. The Switch, smartphones, and modern tablets have capacitive screens, designed for fingers and styli that pretend to be fingers. A Wii U or DS/3DS stylus will not work.
Any capacitive stylus that works on a multitouch phone or tablet will do. Unlike the DS/3DS and Wii U, these screens were all designed primarily to be used with the fingers, and they respond to styli that emulate the conductivity of a press of the finger.
This video has been making the rounds on other Switch boards, and it swears by
this 2-in-1 stylus with a mesh tip on one end and a disc tip on the other. Affordable, too, unless you're the kind of person who easily loses pens. Again, my own opinion is that you probably don't need anything that nice for Mario Maker because you'll mostly be tapping (with the occasional drag and drop), not freehand drawing, but I know that some people will want a good drawing stylus for the Miiverse-like comment art or the SSBU Stage Builder.
The people I know who do a lot of freehand note-taking or sketching on tablet devices swear by transparent disc tips. They are definitely not for everyone, though.