F
Filament12mo ago
Abi

Enable lines on side navigation like attached screenshot

I have seen a couple of demos of Filament PHP plugins that has this nice lines connecting the items on the navigation. Any idea how to enable this?
No description
Solution:
protected static ?string $navigationIcon = null
Jump to solution
9 Replies
awcodes
awcodes12mo ago
set the navigation icon to null
JJSanders
JJSanders12mo ago
Is that somewhere documented b/c I was also looking for it in the doc's and couldn't find it
Abi
AbiOP12mo ago
can't seem to find the configuration on the PanelProvider
awcodes
awcodes12mo ago
it's not on the panel, it's on the Resource or NavigationItem
Solution
awcodes
awcodes12mo ago
protected static ?string $navigationIcon = null
Abi
AbiOP12mo ago
removing that on all the group items adds the lines. Thank you
awcodes
awcodes12mo ago
It may not be in the docs.
DrByte
DrByte12mo ago
I submitted a PR. Is this the right way to document it? https://github.com/filamentphp/filament/pull/10616
GitHub
Explain how to join vertical nav items with a bar by drbyte · Pull ...
I didn't see this addressed elsewhere in the docs. Is this the best spot for it? I suppose it could go in the Navigation Groups area. I'm just not sure where people will "look for"...
awcodes
awcodes12mo ago
Seems reasonable to me. Thanks.
Want results from more Discord servers?
Add your server