Repository navigation
Replies: 2 comments
|
@sakgoyal Implementation details for "hover/active/spacing" in a Discord-like sidebar rely heavily on the
For the accordion-style vs collapsible: passing |
|
There are a few concrete issues in the posted classes/markup that affect your hover and active states:
<AccordionTrigger className="rounded-md px-2 py-2 font-normal hover:no-underline hover:bg-muted data-[state=open]:font-semibold data-[state=open]:text-foreground">
{/* heading */}
</AccordionTrigger>
For spacing, explicitly reduce |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I want to create a discord style sidebar in financial tracker app.
I am having trouble getting it all set up. to look like the discord UI. Ideally I use accordion instead of collapsible.
I am mainly having issues getting the hover / active / spacing right.
the hover tints and font weights are being really tricky to deal with.
Recording.2026-03-10.003209.mp4
Recording.2026-03-10.003314.mp4
Details
All reactions