chess_madridista
chess_madridista

Reputation: 193

What is the difference between <hr> and <v-divider>?

Consider two cases:

1.

<v-container>
  <!--Some code here-->
</v-container>
<v-divider></v-divider>
<v-container>
  <!--Some code here-->
</v-container>
<hr>

Is the difference only in color and height or some other aspects as well?

Upvotes: 0

Views: 644

Answers (1)

Boussadjra Brahim
Boussadjra Brahim

Reputation: 1

v-divider is just a component wrapper of hr element with some styles and props like :

  • direction, you could add vertical prop to make vertical
  • color mode dark/light
  • inset to translate it.

Upvotes: 2

Related Questions