            color
        );

        yew::html! {
            <span style=style class="badge">
                { &self.value }
                {
                    if self.editable {
                        yew::html! {
                            <crate::components::Svg
                                icon="x"
                                size=16