Installation
1
Add Component
Copy the code snippet below into you components folder.
2
Integrate Recipe
Integrate this recipe in to your Panda config.
Usage
Examples
Disabled
Use the disabled prop to disable the fieldset to disable all input elements within the fieldset.
Invalid
Use the invalid prop to mark the fieldset as invalid, which will display the error text.
Props
Root
| Prop | Default | Type | 
|---|---|---|
| asChild | booleanUse the provided child element as the default rendered element, combining their props and behavior. | |
| invalid | booleanIndicates whether the fieldset is invalid. |