maud-ui 0.1.0

58 headless, accessible UI components for Rust web apps. Built on maud + htmx, styled like shadcn/ui.
Documentation
/* Label component — standalone form label element */

.mui-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  color: var(--mui-text);
  cursor: default;
}

.mui-label[for] {
  cursor: pointer;
}

.mui-label--disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.mui-label__required {
  color: var(--mui-danger-text);
  margin-left: 0.125rem;
  font-weight: 500;
}