maud-ui 0.2.0

59 headless, accessible UI components for Rust web apps — plus block templates, a live theme customiser, and shell hooks for 15 third-party widgets (Monaco, xyflow, Excalidraw, Three.js, AG Grid, Leaflet, FullCalendar, SortableJS, and more). Built on maud + htmx, styled like shadcn/ui.
Documentation
/* Field component — form control wrapper with label, description, and error */

.mui-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  max-width: 24rem;
}

.mui-field__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--mui-text);
}

.mui-field__required {
  color: var(--mui-danger-text);
  margin-inline-start: 0.25rem;
}

.mui-field__description {
  font-size: 0.8125rem;
  color: var(--mui-text-muted);
  margin: 0;
}

.mui-field__error {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--mui-danger-text);
  margin: 0;
}

.mui-field--invalid .mui-field__label {
  color: var(--mui-text);
}