DioxusLabs / DioxusLabs/dioxus-components

Forms

Open
#5 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
343
Forks
82
PR merge metrics
No merged PRs in 30d

Description

## Specific Demand
Forms are a widely used method of collecting data in apps and we should aim to provide featured and flexible form components.

A first iteration could include a few form components that provide default styling which are built on top of `Input` and `Button` components. Perhaps forms should be type-safe, providing bindings to specific fields of a provided struct. This struct could be returned on a `on_submit` event.

The form components could be built on top of several other ones such as but not limited to:
- Input
- Button
- Calendar
- Date Picker
- Dropdowns
- Checkbox
- Text Areas
- Radio Groups

**Inspiration**
- https://www.radix-ui.com/primitives/docs/components/form
- https://ui.shadcn.com/docs/components/form

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.