Approach for unstyled components in Toddle without cluttered component API
Has anyone figured out a solid approach for creating more flexible , style -customizable components ? From my understanding , Toddle 's components wouldn 't fully support an unstyled approach due to Shadow DOM encapsulation . This means the only way to add flexibility is through custom properties (CSS variables ) . However , if I want to recreate Radix UI 's layout box components —which support nearly all CSS property configurations —this would lead to a very cluttered component attribute API . Has anyone found a good approach for achieving and organising this level of styling flexibility in components ? - https://www.radix-ui.com/themes/docs/components/box - https://www.chakra-ui.com/docs/components/box#as-prop