Skip to content

[html/css] Radio Button (small) #6290

@alizedebray

Description

@alizedebray

📝 Description

This component is a smaller version of the existing radio button.

⚙️ Requirements

  • Radio button is smaller when the class .form-check-sm is set
  • Spacing between grouped radio buttons (horizontal/vertical) varies when their size changes

💻 Proposed implementation

To avoid breaking changes with the previous versions, the small version of the radio button should be set via the class .form-check-sm

📃 Tasks

  • Implement styles according to design
  • Document the small version of the radio and add a size argument to the main story
  • Add visual regression tests
  • Design review

Metadata

Metadata

Assignees

Labels

good first issueGood for newcomers📦 stylesRelated to the @swisspost/design-system-styles package

Projects

Status

🧐 In Review

Relationships

None yet

Development

No branches or pull requests

Issue actions