Default
How it looks (preview)
How to call this example
<%= render "govuk_publishing_components/components/select", {
id: "dropdown1",
label: "My Dropdown",
options: [
{
text: "Option one",
value: "option1"
},
{
text: "Option two",
value: "option2"
},
{
text: "Option three",
value: "option3"
}
]
} %>