-
Hi guys, like with sidebar one can persist state in Is this possible or is this deep in bits-ui and not possible project code? |
Beta Was this translation helpful? Give feedback.
Answered by
huntabyte
Feb 22, 2025
Replies: 1 comment 6 replies
-
If I'm not misunderstanding your question sidebar uses a cookie to persist its state. You could do the same by making a cookie to store your accordion state and then get that state from your load function |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use the
value
prop https://bits-ui.com/docs/components/accordion