Fieldset

DaisyUI

Fieldset is a container for grouping related form elements.

Basic Fieldset
Personal Information
With Description

Add a description below the content.

Email Address

We will never share your email with anyone.

Code Example
use rsxui::components::Fieldset;
use rsx_macros::rsx;
let html = rsx! {
    <Fieldset title="Personal Information">
        "<input type=\"text\" />"
    </Fieldset>
};
// With description
let html = rsx! {
    <Fieldset
        title="Email"
        description="We will never share your email."
    >
        "<input type=\"email\" />"
    </Fieldset>
};