Front-end help wanted

Hello

Im busy with a site where I can show painitings from a api.
it looks now like this :

but now I need 2 images that could respresent the previous page and the next page and cannot find anything fitting on google.

Would anyone be so kind to help me with this ?

Maybe font-awesome or some similar library could be enough? https://fontawesome.com/icons?d=gallery&q=chevron%20right

2 Likes

I‘d second font-awesome or any other icon pack, but if you actually only need 2 icons you can look over the more graphical unicode characters. There’s tons of useful „icons“ in there and pretty much every modern device supports them. Just blow a caret or arrow up to a big font size, and no need to fiddle with getting an icon font on the page.

1 Like

+1 for unicode character. I’ve found myself using those when needing ”mathy” glyphs.

Another option w/o dependency on font packs is to draw it with SVG, Something like so:

[:svg {:width   "61"
       :height  "206"
       :viewbox "0 0 61 206"
       :fill    "none"
       :xmlns   "http://www.w3.org/2000/svg"}
 [:path {:d            "M5 3L55 103L5 203"
         :stroke       "black"
         :stroke-width "10"}]]

Which will draw this:

image

It’s extra nice if you want to animate some paths.

1 Like

oke, I m now using the awesome font ones

Everyone thanks for the answers

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.