Skip to content

Is @ark-ui/anatomy deprecated in favor of using the component libs? #3381

Answered by cschroeter
caseybaggz asked this question in Q&A
Discussion options

You must be logged in to vote

@caseybaggz

Thanks for reaching out. Atm, the only way is to import a component's anatomy directly from the framework package, e.g.:

import { Avatar, avatarAnatomy } from '@ark-ui/[solid|react|vue]/avatar'

Since the components are fairly stable, hardcoding the parts as you style them should also be fine.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@caseybaggz
Comment options

Answer selected by caseybaggz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants