Usage guidelines
Principles for using Murray consistently and keeping interfaces clear.
Prefer Murray patterns
- Use existing Murray components and patterns over custom layouts.
- Avoid thin wrappers around a single Murray component unless they add real composition value.
Simplify and reduce options
- Fewer UI elements, fewer states, fewer knobs. Reduce cognitive load; every button and piece of information should earn its place.
- Easier to add than remove. Prefer removing elements; add only when there’s a clear purpose.
- Strong defaults. Choose a strong default and expose only the most common alternatives. Collapse rarely-used options into “Advanced” or a secondary screen.
- Semantic variants over “all options”. Offer a small, meaningful set of variants (e.g. success / warning / danger), not every possible option. If you’re offering all color choices, those are colors, not variants. Align with Murray’s semantic set.
Hierarchy and clarity
- One primary action per view; demote the rest.
- Use color for semantics only (e.g. links, errors, status); use typography and spacing for hierarchy.
- Reserve cards for interactive blocks; avoid over-boxing static content.
Progressive disclosure
- Don’t expose “power user” or advanced configuration by default. Use progressive disclosure: advanced sections, modals, or overflow menus when extra options are needed.