Hooks
Here you can find all the hooks available in the registry.
Blocks are complex complex components made up of multiple files and sub-components. They are designed to be used in a variety of contexts, from simple pages to complex applications, and hook deeply into the Lens React SDK.
Use Authenticated AccountA hook to get the currently authenticated Lens account using the Lens React SDK.
Use Login with ViemA hook to execute login with the Lens React SDK using the Viem library for wallet interaction.
Use Post ContextA hook for state, queries, and operations in a shared Lens post context
Use Reaction ToggleA hook to toggle reactions (like/unlike) on Lens posts using the Lens React SDK.
Use Tip Account ActionA hook for tipping Lens Accounts using the Lens React SDK.
Use Tip Post ActionA hook for tipping Lens Posts using the Lens React SDK.