Hat-trick (magic trick)
The hat-trick is a classic magic trick where a performer will produce an object (traditionally a rabbit or a bouquet of flowers) out of an apparently empty top hat.
Method
In its simplest form, the trick works by placing the hat on a specially made table or chest. Both the hat and the surface it is placed on will have a hidden opening in them, through which an object stored in a compartment in the table or chest can be pulled. Alternatively, the performer can produce an item hidden in their sleeve using sleight of hand and misdirection. This eliminates the need to place the hat on a surface, and also allows the performer to give the hat to an audience member for inspection.
This trick is also traditionally performed for children, since it is a basic trick with basic props. However, producing a rabbit from a hat using nothing but sleight of hand is a much more difficult trick.
It is said that the earliest magician to pull a rabbit out of a hat was Louis Comte, in 1814, though this is also attributed to the much later John Henry Anderson.