Skip to content

Project: Implement primary slot in Checkbox #20547

Description

@behowell

Problem

The RFC for the concept of a "primary" slot other than the root slot was approved in RFC #18983. We need to implement the utilities for it, and update Checkbox and other input components to use input as the primary slot.

Appetite

1 week

Solution

The outline of the solution is described in RFC: Customizing application of native element props and ref. This project will include:

  • Implement any utility functions and types needed for the concept of a primary slot
  • Update Checkbox to make its input slot be the primary slot.

Risks (Rabbit holes)

The RFC was fairly well thought-out, but we haven't implemented a working implementation of a primary slot yet. It's possible that I'll encounter a complication that we didn't anticipate in the RFC.

Out of scope (No-gos)

There are other components that will need to be updated to use a primary slot, but this project only focuses on Checkbox.

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions