Skip to content

Option cards

Selectable cards for shipping, plans or payment, and pill options for sizes and variants.

Shipping

Delivery

Sizes

Size

Installation

Everything ships in one stylesheet. There is nothing to import per component.

<link rel="stylesheet" href="https://mian.ro/dist/mian.css">

Prefer to own the files? /r/radio-card.json is a registry item with this component's CSS and example markup, ready to copy into your project with any tool that reads the open registry-item format.

Class reference

Class / attributeDescription
mn-choicesA <fieldset> of options with a <legend>. mn-choices-row lays them side by side.
mn-choiceA <label>: an mn-radio (or mn-checkbox), mn-choice-title, mn-choice-desc and mn-choice-meta (price).
mn-choices-pillsCompact pills for sizes and variants; the input is hidden, the pill shows focus and selection.

Accessibility

  • Native radios: arrow keys move between options and the whole card is the click target.
  • Disabled options stay visible and say why (“Sold out”).
Choose a noodle

Minimal

Flat

Pixel

Linear

Thin

Glass

Textured

Bold

Elegant

Rounded

On this page