Skip to content
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

[COMPONENT] General Components #13

Open
mraysu opened this issue Jan 10, 2025 · 0 comments
Open

[COMPONENT] General Components #13

mraysu opened this issue Jan 10, 2025 · 0 comments
Assignees
Labels

Comments

@mraysu
Copy link
Collaborator

mraysu commented Jan 10, 2025

Before beginning any major frontend work, we want to design a set of project-specific components that can be used throughout the website. Using a shared set of components allows us to be more organized if properties of these components need changing. These components should also be highly modular; you will design default components, but you will also allow the implementation of custom tailwind styling.

For your PR

Create the following frontend components:

  • Button
    Define default, secondary, destructive, secondary destructive as static types. Include all states and sizes. No need to implement Tag.
  • Text input fields
    Define normal state and error state. No need to implement text fields for numbers (the ones with the arrow buttons).
  • Checkboxes and Radios
    Define all states for both boxes and radios.

For Testing, create a quick test page showcasing your work and push it with your PR. Share a screenshot of the page as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants