549 B
549 B
title, description, slug
| title | description | slug |
|---|---|---|
| Links | Using link components | links |
Links
In Discord, links are a type of button, and they work similarly. Clicking on it leads you to the given URL. They only have one style, and can't be listened to for clicks.
import { Link } from "reacord"
export function AwesomeLinks() {
return (
<>
<Link label="look at this" url="https://google.com" />
<Link label="wow" url="https://youtube.com/watch?v=dQw4w9WgXcQ" />
</>
)
}
See the API reference for more information.