Label
UI SDK Label: names any control by htmlFor, including a radio group, slider or switch.
Example
label-demo.tsxCopy code
Installation
Copy code
Usage
ImportCopy code
API reference
Label
Takes every prop of UI SDK Label.
Accessibility
- Names any control by htmlFor, including radio groups, sliders and switches.
- Grows to 44px on touch.
Agent actions
Runs agent.snapshot() from @ui-sdk/react/agent on the live preview above.