Tab

DaisyUI

Tabs can be used to show a list of links in a tabbed format.

Basic Tabs
Styles

Box, border, and lift styles.

Radio Tabs

Use radio inputs for tab switching.

With Content

Combine tabs with tab content panels.

Tab content goes here. Use radio inputs for functional tab switching.
Code Example
use rsxui::components::{Tabs, Tab, TabStyle};
use rsx_macros::rsx;
let html = rsx! {
    <Tabs style=TabStyle::Lift>
        <Tab active=true>"Tab 1"</Tab>
        <Tab>"Tab 2"</Tab>
        <Tab disabled=true>"Tab 3"</Tab>
    </Tabs>
};