Skip to main content

Switcher

Component Library

Include the following script to use the search component on your non-Drupal website or application.

<script src="https://ashlar.blob.core.windows.net/ashlar-theme-files/js/switcher.js"></script>

Component Markup

We have an infinite amount to learn both from nature and from each other. Science has not yet mastered prophecy. We predict too much for the next year and yet far too little for the next 10.

If you could see the earth illuminated when you were in a place as dark as night, it would look to you more splendid than the moon. Curious that we spend more time congratulating people who have succeeded than encouraging people who have not.

Astronomy compels the soul to look upward, and leads us from this world to another.

<wwu-switcher label="Accessible Label">
<wwu-switcher-item label="Content 1">
<p>We have an infinite amount to learn both from nature and from each other. Science has not yet mastered prophecy. We predict too much for the next year and yet far too little for the next 10.</p>
</wwu-switcher-item>
<wwu-switcher-item label="Content 2">
<p>If you could see the earth illuminated when you were in a place as dark as night, it would look to you more splendid than the moon. Curious that we spend more time congratulating people who have succeeded than encouraging people who have not.</p>
</wwu-switcher-item>
<wwu-switcher-item label="Content 3">
<p>Astronomy compels the soul to look upward, and leads us from this world to another.</p>
</wwu-switcher-item>
</wwu-switcher>

Column Layout

We have an infinite amount to learn both from nature and from each other. Science has not yet mastered prophecy. We predict too much for the next year and yet far too little for the next 10.

If you could see the earth illuminated when you were in a place as dark as night, it would look to you more splendid than the moon. Curious that we spend more time congratulating people who have succeeded than encouraging people who have not.

Astronomy compels the soul to look upward, and leads us from this world to another.

<div class="column-layout">
<wwu-switcher label="Accessible Label">
<wwu-switcher-item label="Content 1">
<p>We have an infinite amount to learn both from nature and from each other. Science has not yet mastered prophecy. We predict too much for the next year and yet far too little for the next 10.</p>
</wwu-switcher-item>
<wwu-switcher-item label="Content 2">
<p>If you could see the earth illuminated when you were in a place as dark as night, it would look to you more splendid than the moon. Curious that we spend more time congratulating people who have succeeded than encouraging people who have not.</p>
</wwu-switcher-item>
<wwu-switcher-item label="Content 3">
<p>Astronomy compels the soul to look upward, and leads us from this world to another.</p>
</wwu-switcher-item>
</wwu-switcher>
</div>