Skip to content

feat: add shadcn checkbox component #17248

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 4, 2025
Merged

Conversation

jaaydenh
Copy link
Contributor

@jaaydenh jaaydenh commented Apr 3, 2025

contributes to coder/preview#55

Add shadcn checkbox component matching Figma styles from Coder Kit: https://www.figma.com/design/WfqIgsTFXN2BscBSSyXWF8/Coder-kit?node-id=489-4187&t=Zx137ETWsQZtaCku-1

Screenshot 2025-04-03 at 21 15 52

@jaaydenh jaaydenh self-assigned this Apr 3, 2025
@jaaydenh jaaydenh requested a review from BrunoQuaresma April 4, 2025 10:08
@@ -67,6 +68,7 @@
--border-default: 240 4% 16%;
--border-success: 142 76% 36%;
--border-destructive: 0 91% 71%;
--border-hover: 240, 5%, 34%;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it something we should apply to the input as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe checkbox and radio are the only components I saw in Figma Coder Kit that have a hover effect on a border

@jaaydenh jaaydenh merged commit 8a24372 into main Apr 4, 2025
33 of 34 checks passed
@jaaydenh jaaydenh deleted the jaaydenh/checkbox-component branch April 4, 2025 14:05
@github-actions github-actions bot locked and limited conversation to collaborators Apr 4, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants