Components
Loading preview...
import { ShieldCheckIcon, ShieldXIcon } from 'lucide-react'
import { Button } from '@/components/ui/button'
const ButtonPermissionsDemo = () => {
return (
<div className='flex flex-wrap items-center gap-4'>
<Button className='flex items-center gap-2 bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40'>
Reject
<ShieldXIcon size={16} />
</Button>
<Button className='flex items-center gap-2 bg-green-600/10 text-green-600 hover:bg-green-600/20 focus-visible:ring-green-600/20 dark:bg-green-400/10 dark:text-green-400 dark:hover:bg-green-400/20 dark:focus-visible:ring-green-400/40'>
Approve
<ShieldCheckIcon size={16} />
</Button>
</div>
)
}
export default ButtonPermissionsDemo
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Part of ShadcnStudio — browse the full library on 21st.dev.