The Button component creates a clickable button that triggers events.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/gradio-app/gradio/llms.txt
Use this file to discover all available pages before exploring further.
Basic usage
Constructor
Button label text
Button style:
"primary"- Main call-to-action"secondary"- Subdued style"stop"- Stop button"huggingface"- HF branded style
Button size
URL or path to icon file to display
URL to open when clicked
Where to open the linked URL
Whether button is clickable
Events
- click - Triggered when button is clicked