I have a bunch of button-styled links throughout my web app:
<a href="@Url.Action("Index", "Home")" class="btn btn-default btn-lg btn-right">
<span class="glyphicon glyphicon-home"></span>
<h3>Store Home</h3>
</a>
Sometimes they get an additional tag to indicate a direction arrow, or some other decoration:
<a href="@Url.Action("Payment", "Checkout")" class="btn btn-primary btn-lg btn-right">
<h3><<</h3>
<span class="glyphicon glyphicon-credit-card"></span>
<h3>Back to Payment</h3>
</a>
My question is, rather than peppering my markup with subtly different flavors of this button copy and pasted, is it appropriate to use a partial view so that the knowledge of how to make a button and its various flavors is all in one place? EDIT: for clarity, I mean a partial view with nothing other than the button markup, and potentially a "button view model" object with the various settings for the view to act on.
It seems like the purpose of partial views is to promote reusability and maintainability, but I'm not sure if I'm taking that too far, or if there's some kind of performance constraint I'm unaware of that makes this a bad idea.