Write know it's not possible to have a button that looks the same as an anchor.
Sometimes it's very good to use a \
That's what I want to see in the end:
<button class="ui link">Text</button>
While we wait for this to be implemented:
// ButtonLink/index.jsx
import React from 'react'
import { Button } from 'semantic-ui-react'
import './style.css'
const ButtonLink = ({
className = '',
...props
}) => <Button
basic
color='blue'
className={['link', className].join(' ')}
{...props}
/>
ButtonLink.propTypes = {
className: React.PropTypes.string
}
export default ButtonLink
// ButtonLink/style.css
.ui.button.basic.link, .ui.button.basic.link:hover, .ui.button.basic.link:focus {
box-shadow: 0 0 !important;
}
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions.
Actually i would love to see how semantic-ui would present a link to the ui.
Are there any plans to implement this?
Seems to be duplicate of #6229, which points to a PR waiting to be merged #6260
I'd also be in favour of the "tertiary" property in the master
Great, thanks!
Could the PR above please be merged into master and released? I could really use this button style
I need the Link button style too. Could anyone merged the PR asap please?
This is available as tertiary buttons in https://fomantic-ui.com/elements/button.html#tertiary
@brettstack's solution worked well for me, only change I made was to add padding: unset; to the css so it fits into a line of text.
Most helpful comment
Actually i would love to see how semantic-ui would present a link to the ui.