diff --git a/src/button-group/button-group.tsx b/src/button-group/button-group.tsx
index aff9ec0..360c8db 100644
--- a/src/button-group/button-group.tsx
+++ b/src/button-group/button-group.tsx
@@ -1,5 +1,6 @@
import { useStyletron } from "baseui";
import { SIZE } from "baseui/button";
+import { NavButton } from "..";
import Button, {
ButtonAppearance,
ButtonProps,
@@ -14,6 +15,7 @@ export default function ButtonGroup(props: {
appearance?: ButtonAppearance;
size?: SIZE[keyof SIZE];
outline?: boolean;
+ navigation?: boolean;
}) {
const [, theme] = useStyletron();
@@ -59,6 +61,24 @@ export default function ButtonGroup(props: {
<>
{props.buttons.map((prop, i) => {
if (prop.to) {
+ if (props.navigation) {
+ return (
+
+ );
+ }
+
return (
) {
const {
to,
- active = ButtonAppearance.outline,
- appearance = ButtonAppearance.secondary,
+ active = ButtonAppearance.secondary,
+ appearance = ButtonAppearance.outline,
...rest
} = props;
const { pathname } = useLocation();