Skip to content

Adds support for custom checked icons in checkbox and option components #2424

Open
@RenanRSilva

Description

@RenanRSilva

Summary

It would be useful to allow developers to customize the icons used in the checkbox and option components by exposing them via named slots. This would improve flexibility and allow users to provide icons that match their design system or branding.

Motivation

Currently, the checkbox and option components use fixed icons for the checked, indeterminate, and selected states. However, in some design systems, these icons differ visually. Allowing developers to override the default icons would make Shoelace more adaptable to various design requirements.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions